AWARE [SYSTEMS] Imaging expertise for the Delphi developer
AWare Systems, Imaging expertise for the Delphi developer, Home TIFF and LibTiff Mailing List Archive

LibTiff Mailing List

TIFF and LibTiff Mailing List Archive
December 2004

Previous Thread
Next Thread

Previous by Thread
Next by Thread

Previous by Date
Next by Date

Contact

The TIFF Mailing List Homepage
This list is run by Frank Warmerdam
Archive maintained by AWare Systems



Valid HTML 4.01!



Thread

2004.12.11 03:45 "linker errors", by S Smith
2004.12.11 03:57 "Re: linker errors", by Chris Losinger

2004.12.11 03:45 "linker errors", by S Smith

I'm just trying to get up and running with libtiff. 
I've made the files and am starting to use them in a
program and I'm getting linker errors.  Does anyone
have any suggestions as to what I should do?  I'm
using MFC in VS.NET.

I've included the header and pointed to the .lib. 
When I call:
TIFF* foo;
foo = TIFFOpen("c:\\foo.tif", "r");

I get these linker errors:
PreprocessIntrinsicData error LNK2005: _strncmp
already defined in libcmtd.lib(strncmp.obj)
PreprocessIntrinsicData error LNK2005: _sprintf
already defined in libcmtd.lib(sprintf.obj)
PreprocessIntrinsicData error LNK2005: "private:
__thiscall type_info::type_info(class type_info const
&)" (??0type_info@@AAE@ABV0@@Z) already defined in
libcmtd.lib(typinfo.obj)

Of course, if I choose to excluded libcmtd.lib, that
causes more problems than it solves.

Thanks in advance.  -s