2005.12.13 22:04 "[Tiff] Win32 build -- inconsistent DLL linkage?", by

2005.12.13 22:04 "[Tiff] Win32 build -- inconsistent DLL linkage?", by

I'm trying to build libtiff "right out of the box" with MSVC 7 on Windows 2000, and I've run nmake from the Visual Studio command prompt (so my env vars are set up fine). However, it has some problems.

The first thing I noticed is that there's a common warning about DLL linkage. Has anyone seen this?

Here's a sample:

        cl /nologo /Ox /MD /GX /W3 -I.   -DCHECK_JPEG_YCBCR_SUBSAMPLING -DDEFAUL

T_EXTRASAMPLE_AS_ALPHA -DSTRIPCHOP_DEFAULT=TIFF_STRIPCHOP -DLOGLUV_SUPPORT -DNEX

T_SUPPORT -DTHUNDER_SUPPORT -DLZW_SUPPORT -DPACKBITS_SUPPORT -DCCITT_SUPPORT -DT

IF_PLATFORM_CONSOLE -DFILLODER_LSB2MSB /c tif_aux.c
tif_aux.c
tif_aux.c(134): warning C4273: 'TIFFVGetFieldDefaulted': inconsistent dll link
age
tif_aux.c(273): warning C4273: 'TIFFGetFieldDefaulted': inconsistent dll linka
ge

Sorry if this has been addressed already; I searched the archive but found nothing similar.