The flags are in the batch file, which I am running.  I am not sure it is using 
the correct path to find these.  How does it determine the path?

John

From: Hdf-forum [mailto:[email protected]] On Behalf Of Gerd 
Heber
Sent: Tuesday, June 18, 2013 12:03 PM
To: 'HDF Users Discussion List'
Subject: Re: [Hdf-forum] HDF5 .Net Compile Problems

John, how are you? Have you tried using the doit.*.bat scripts to build the 
libraries?
I've seen this error when I was missing a few flags:

/DHDF5_DOT_NET /DHDF5DLL=\"hdf5dll.dll\" /DHDF5HLDLL=\"hdf5_hldll.dll\"

(See the batch files.)
I don't have VS2012 and can't try this, but you don't need that for building
the assemblies anyway.

G.


From: Hdf-forum [mailto:[email protected]] On Behalf Of John 
Mulholland
Sent: Tuesday, June 18, 2013 10:42 AM
To: [email protected]<mailto:[email protected]>
Subject: [Hdf-forum] HDF5 .Net Compile Problems

I have downloaded HDF5.Net have enjoyed using it but I am getting a compile 
warning saying there is a processor mismatch between the library (AMD64) and 
what I am compiling.  My understanding is my best solution to get around this 
is to just compile my own libraries.  I have downloaded the source code and 
have tried compiling both in Visual Studio 2012 and the developer command 
prompt.  I have not had any success.  At first I had errors with Array which 
didn't know which overloaded function to use so I specified the parameter as 
long long.  Now I am having other compile problems such as

Generating Code...
H5P.obj : error LNK2020: unresolved token (0A00000C) 
__imp__H5P_CLS_GROUP_ACCESS_g
H5P.obj : error LNK2020: unresolved token (0A000011) 
__imp__H5P_CLS_FILE_ACCESS_g
H5P.obj : error LNK2020: unresolved token (0A000012) 
__imp__H5P_CLS_DATATYPE_CREATE_g
H5P.obj : error LNK2020: unresolved token (0A000015) __imp__H5P_CLS_FILE_MOUNT_g
H5P.obj : error LNK2020: unresolved token (0A000016) 
__imp__H5P_CLS_DATASET_ACCESS_g
H5P.obj : error LNK2020: unresolved token (0A000017) 
__imp__H5P_CLS_FILE_CREATE_g
H5P.obj : error LNK2020: unresolved token (0A000018) 
__imp__H5P_CLS_GROUP_CREATE_g
H5P.obj : error LNK2020: unresolved token (0A000019) 
__imp__H5P_CLS_LINK_CREATE_g
H5P.obj : error LNK2020: unresolved token (0A00001E) 
__imp__H5P_CLS_LINK_ACCESS_g
H5P.obj : error LNK2020: unresolved token (0A000022) 
__imp__H5P_CLS_STRING_CREATE_g
H5P.obj : error LNK2020: unresolved token (0A000023) 
__imp__H5P_CLS_DATASET_CREATE_g
H5P.obj : error LNK2020: unresolved token (0A000025) 
__imp__H5P_CLS_DATASET_XFER_g
H5P.obj : error LNK2020: unresolved token (0A000026) 
__imp__H5P_CLS_ATTRIBUTE_CREATE_g
H5P.obj : error LNK2020: unresolved token (0A000027) __imp__H5P_CLS_ROOT_g
H5P.obj : error LNK2020: unresolved token (0A000028) 
__imp__H5P_CLS_OBJECT_COPY_g
H5P.obj : error LNK2020: unresolved token (0A000039) 
__imp__H5P_CLS_DATATYPE_ACCESS_g
H5P.obj : error LNK2020: unresolved token (0A00003B) 
__imp__H5P_CLS_OBJECT_CREATE_g
H5T.obj : error LNK2020: unresolved token (0A00000D) __imp__H5T_STD_B32BE_g
H5T.obj : error LNK2020: unresolved token (0A000013) __imp__H5T_NATIVE_B64_g
H5T.obj : error LNK2020: unresolved token (0A000015) __imp__H5T_STD_I64BE_g
H5T.obj : error LNK2020: unresolved token (0A000016) __imp__H5T_NATIVE_DOUBLE_g
H5T.obj : error LNK2020: unresolved token (0A000017) __imp__H5T_NATIVE_B16_g
H5T.obj : error LNK2020: unresolved token (0A000018) __imp__H5T_STD_B16LE_g
H5T.obj : error LNK2020: unresolved token (0A00001B) __imp__H5T_STD_U64BE_g
H5T.obj : error LNK2020: unresolved token (0A00001C) __imp__H5T_STD_B64LE_g
H5T.obj : error LNK2020: unresolved token (0A00001E) __imp__H5T_NATIVE_LDOUBLE_g
H5T.obj : error LNK2020: unresolved token (0A000020) __imp__H5T_STD_I8LE_g

Is there a better way to get around the warning?  If not, what am I missing in 
trying to compile?

Thank you,
John Mulholland | Software Engineer
RSG | http://www.rsginc.com<http://www.rsginc.com/>
41 N Rio Grande Street, Suite 106 | Salt Lake City, UT 84101
Office 801.736.4100 | Direct 801.456.4908 | Fax 801.456.2506

_______________________________________________
Hdf-forum is for HDF software users discussion.
[email protected]
http://lists.hdfgroup.org/mailman/listinfo/hdf-forum_lists.hdfgroup.org

Reply via email to