AWARE SYSTEMS
TIFF and LibTiff Mail List Archive

Thread

2004.11.03 10:00 "[Tiff] Problems faced in using free TIFF software", by koushik sanyal
2004.11.12 19:11 "Re: [Tiff] Problems faced in using free TIFF software", by Andrey Kiselev
2004.12.10 03:59 "[Tiff] errors in with libtiff", by S Smith
2004.12.11 03:45 "[Tiff] linker errors", by S Smith
2004.12.11 03:57 "Re: [Tiff] linker errors", by Chris Losinger
2004.12.23 01:00 "[Tiff] Re: problems populating a large 3D array", by S Smith
2004.12.23 23:37 "[Tiff] Re: problems populating a large 3D array", by S Smith
2005.01.15 17:21 "Re: [Tiff] Re: problems populating a large 3D array", by Andrey Kiselev

2004.12.11 03:45 "[Tiff] 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

__________________________________
Do you Yahoo!?

Send holiday email and support a worthy cause. Do good. http://celebrity.mail.yahoo.com