[hdf-forum] Static Lib with VS2005
Ray Burkholder
ray at oneunified.net
Sat Oct 18 22:17:52 EDT 2008
I have a VS2005 MFC program in which I'd like to use HDF5. For version
1.9.19, the dll version works, but the static libraries do not. When
linking in I'm getting a variety of LNK2005 errors, ie, some function has
already been defined elsewhere:
56>MSVCRTD.lib(MSVCR80D.dll) : error LNK2005: _strcspn already defined in
LIBCMTD.lib(strcspn.obj)
Is it possible to link statically with an MFC based program?
Ray.
--
Scanned for viruses and dangerous content at
http://www.oneunified.net and is believed to be clean.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.hdfgroup.org/pipermail/hdf-forum_hdfgroup.org/attachments/20081018/bb55dbd2/attachment.html>
More information about the Hdf-forum
mailing list