In my VS 2008 projects that link against the HDF5 DLLs I use _HDF5USEDLL_

-Steve

Quoting Michael Jackson <[email protected]>:

Um. Time out. I am just now getting caught up with this thread BUT I
think that variable is ONLY available if you build HDF5 with CMake and
THEN it will be defined in a header file. If you do NOT build HDF5 with
CMake then I think there is the HDF5_USE_DLL or something like that.

___________________________________________________________
Mike Jackson                      www.bluequartz.net
Principal Software Engineer       [email protected]
BlueQuartz Software               Dayton, Ohio



On Nov 11, 2010, at 10:53 AM, Steve Bissell wrote:


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
--
View this message in context: http://hdf-forum.184993.n3.nabble.com/VC-project-Build-Errors-with-HDF5-1-8-5-tp1880934p1883323.html
Sent from the hdf-forum mailing list archive at Nabble.com.

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


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



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

Reply via email to