2004.03.03 04:06 "[Tiff] Errors", by Salil Khanwalkar

2004.03.03 11:36 "Re: [Tiff] Errors", by Gerben Vos

Salil,

please don't use HTML mail on mailing lists. (My personal opinion is that it's unwise and unpolite to use HTML mail anywhere at all.)

Your linking errors indicate that you should add a reference to libtiff.lib to your project. Go to the Project Settings (in MSVC++ 7 they're called Project Properties, I forget what they used to be called, sorry), and in the "Linker" section, in the "Input" subsection, add libtiff.lib to "Additional Dependencies" or wherever it is you can add .lib files. You can use a full path name if you want, or you can add the directory where the .lib file is to "Additional Library Directories" in the "General" subsection.

If you don't have a libtiff.lib, read through the README's that come with libtiff.

LIBCD.lib(wincrt0.obj) : error LNK2001: unresolved external symbol _WinMain@16

This indicates some other problem. Read through the MSVC++ documentation to fix this. If you have a main() function, but no WinMain(), you may need to switch from the "Windows" to the "Console" subsystem, again in the Linker settings.

Gerben Vos.