Steve, 
   H5_BUILT_AS_DYNAMIC_LIB should only be used if you are building with CMake. 
Undefined indicates that the original definitions should be used. This is what 
is needed by the project files. Using the project files requires that 
copy_hdf.bat is used before anything else is done. 1.8.5 expects VS2005 and 
VS2008 requires the project files to be upgraded. Loading the all solution file 
and saving after the upgrade should be enough.
This assumes you are building from source.
The pre-built files were built with VS2005.  Also note that you should use the 
external libs (szip,zlib) that were used to build the binaries and packaged 
with them.

Allen

> 
> Hi Santosh, no nothing silly, this one caught me out too. You need to define
> H5_BUILT_AS_DYNAMIC_LIB in your project
> properties/c++/preprocessor/preprocessor definitions.
> Without this defined, none of the global variables are visible to the
> linker, despite being declared as dll exported. This doesn't appear to be
> documented, I found it scanning the source distribution.
> Steve
> 
_______________________________________________
Hdf-forum is for HDF software users discussion.
[email protected]
http://mail.hdfgroup.org/mailman/listinfo/hdf-forum_hdfgroup.org

Reply via email to