AWARE SYSTEMS
TIFF and LibTiff Mail List Archive

Thread

2005.04.02 16:16 "[Tiff] MSVC & LibTIFF issues", by Phillip Wiles
2005.04.02 17:18 "Re: [Tiff] MSVC & LibTIFF issues", by Andrey Kiselev
2005.04.02 20:24 "Re: [Tiff] MSVC & LibTIFF issues", by Jean Yves LE RIDANT
2005.04.02 21:42 "Re: [Tiff] MSVC & LibTIFF issues", by Chris Losinger

2005.04.02 21:42 "Re: [Tiff] MSVC & LibTIFF issues", by Chris Losinger

I am getting the following errors when I try to compile: MSVCRT.lib(MSVCRT.dll): error LNK2005: _strncmp already defined in LIBCMTD.lib(strncmp.obj) MSVCRT.lib(MSVCRT.dll): error LNK2005: _sprintf already defined in LIBCMTD.lib(sprintf.obj)

it could be that you're linking to both the Debug and Release versions of the MS CRT libs. check your project settings and make sure all libraries are set to use the same runtime libs as the EXE (al see the "Use MFC In Dynamic/Static Library" settings.

----
Chris Losinger
losinger@earthlink.net
smallest@smalleranimals.com http://www.smalleranimals.com