[hdf-forum] unresolved external symbol
Lewandowski, George
george.lewandowski at boeing.com
Mon Oct 20 10:54:10 EDT 2008
This looks to me like a mismatch of debug/release settings in the
compiler, and/or a mismatch of multi-threaded/single-threaded. Also, I
don't believe that HDF releases binaries built with VS2008, and that may
be another complicating factor. I never attempt to link code built
with different compiler versions, so I don't know if this will work.
I would recommend building the binaries yourself. That way you can
control all of the settings and make sure they match between the HDF5
libraries and your code.
George Lewandowski
(314)777-7890
Mail Code S270-2204
Building 270-E Level 2E Room 20E
P-8A
-----Original Message-----
From: Dominik Szczerba [mailto:domi at vision.ee.ethz.ch]
Sent: Thursday, October 16, 2008 5:20 PM
To: hdf-forum at hdfgroup.org
Subject: [hdf-forum] unresolved external symbol
Hi,
I get the following linking error compiling my stuff with Visual Studio
2008 using hdf5 (binaries downloaded from the hdf5 download section).
Can someone point me out in the right direction please?
HDF5++.lib(HDF5Reader.obj) : error LNK2019: unresolved external symbol
_H5T_NATIVE_UCHAR_g referenced in function "private: int __thiscall
HDF5::HDF5Reader::readData(class std::basic_string<char,struct
std::char_traits<char>,class std::allocator<char> > const &)"
(?readData at HDF5Reader@HDF5@@AAEHABV?$basic_string at DU?$char_traits at D@std@
@V?
$allocator at D@2@@std@@@Z)
HDF5++.lib(HDF5Reader.obj) : error LNK2019: unresolved external symbol
_H5T_NATIVE_INT_g referenced in function "private: int __thiscall
HDF5::HDF5Reader::readData(class std::basic_string<char,struct
std::char_traits<char>,class std::allocator<char> > const &)"
(?readData at HDF5Reader@HDF5@@AAEHABV?$basic_string at DU?$char_traits at D@std@
@V?
$allocator at D@2@@std@@@Z)
HDF5++.lib(HDF5Reader.obj) : error LNK2019: unresolved external symbol
_H5T_NATIVE_DOUBLE_g referenced in function "private: int __thiscall
HDF5::HDF5Reader::readData(class std::basic_string<char,struct
std::char_traits<char>,class std::allocator<char> > const &)"
(?readData at HDF5Reader@HDF5@@AAEHABV?$basic_string at DU?$char_traits at D@std@
@V?
$allocator at D@2@@std@@@Z)
with regards,
Dominik
--
Dominik Szczerba, Ph.D.
Biomedical Simulation Group
Computer Vision Lab CH-8092 Zurich
http://www.vision.ee.ethz.ch/~domi
----------------------------------------------------------------------
This mailing list is for HDF software users discussion.
To subscribe to this list, send a message to
hdf-forum-subscribe at hdfgroup.org.
To unsubscribe, send a message to hdf-forum-unsubscribe at hdfgroup.org.
----------------------------------------------------------------------
This mailing list is for HDF software users discussion.
To subscribe to this list, send a message to hdf-forum-subscribe at hdfgroup.org.
To unsubscribe, send a message to hdf-forum-unsubscribe at hdfgroup.org.
More information about the Hdf-forum
mailing list