Hi Stig, BTW, have you tried switching the order of the libraries, i.e., instead of
LIBS += -L"C:/Program Files (x86)/HDF_Group/HDF5/1.8.16/lib/" -lhdf5 -lhdf5_cpp try this: LIBS += -L"C:/Program Files (x86)/HDF_Group/HDF5/1.8.16/lib/" -lhdf5_cpp -lhdf5 ​Binh-Minh ________________________________________ From: Hdf-forum <[email protected]> on behalf of Stig Hornang <[email protected]> Sent: Tuesday, January 19, 2016 3:20 AM To: [email protected] Subject: Re: [Hdf-forum] Undefined reference to static const class Okay. I will need to build my own HDF binary. Still, it would be great that the pre-built version works correctly in a non CMake build enviroment. Either there is a bug in the binary or I can't find the missing information to make it work (e.g. a preprocessor DEFINE). -- Regards, Stig _______________________________________________ Hdf-forum is for HDF software users discussion. [email protected] http://lists.hdfgroup.org/mailman/listinfo/hdf-forum_lists.hdfgroup.org Twitter: https://twitter.com/hdf5 _______________________________________________ Hdf-forum is for HDF software users discussion. [email protected] http://lists.hdfgroup.org/mailman/listinfo/hdf-forum_lists.hdfgroup.org Twitter: https://twitter.com/hdf5
