2005.04.02 16:16 "[Tiff] MSVC & LibTIFF issues", by Phillip Wiles

2005.04.02 16:16 "[Tiff] MSVC & LibTIFF issues", by Phillip Wiles

Hello and let me say thank you in advice for any help that you can provide.

I am using MS VC 6.0. I have read over all the documents and built the ..lib & .dll.

And I have used a tutorial (1) to try and help make sure that the settings are correct (except for creating the and using dlibtiff.lib in the debug mode, I’m just using the libtiff.lib in debug mode).

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)

I have read & search over the mailing list archive and found this post which is same issue that I having (2). I have read the response and understand the reason of the error, but still having trouble figuring out what I need to do to correct it. The tutorial (1) warns of this problem and I have double checked that my settings match. Either the answer is staring me in the face, or it is not there to be found.

My question/help request is can you please point at what specifically needs to be changed so that I will not have this issue?

Thank you
Phil

References:
1. http://www.cs.wisc.edu/graphics/Courses/cs-638-1999/libtiff_tutorial.htm
2. http://www.asmail.be/msg0055093385.html