AWARE SYSTEMS
TIFF and LibTiff Mail List Archive

Thread

2005.05.27 21:08 "[Tiff] creating a vb wrapper for libtiff", by Antoine
2005.05.27 21:10 "Re: [Tiff] creating a vb wrapper for libtiff", by Bob Friesenhahn
2005.05.27 21:22 "Re: [Tiff] creating a vb wrapper for libtiff", by Chris Losinger
2005.05.27 21:30 "Re: [Tiff] creating a vb wrapper for libtiff", by Kevin Grover
2005.05.31 20:01 "[Tiff] tiffopen problems continue...", by Antoine
2005.06.02 17:48 "[Tiff] trying to compile with different compiler options", by Antoine
2005.06.02 18:25 "Re: [Tiff] trying to compile with different compiler options", by Edward Lam
2005.06.02 19:32 "Re: [Tiff] trying to compile with different compiler options", by Andrey Kiselev
2005.06.02 20:50 "[Tiff] vb port soon available", by Antoine
[...]

2005.06.02 17:48 "[Tiff] trying to compile with different compiler options", by Antoine

Hi,

I see that it is possible to compile in __stdcall on the cl, so it turns out that things aren't so bad for trying to call from vb6 - or are they:

        cl /nologo /Ox /MD /Gz /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_dirinfo.c tif_dirinfo.c

tif_dirinfo.c(326): error C2152: 'function': pointers to functions with differ ent attributes

tif_dirinfo.c(326): warning C4024: 'qsort': different types for formal and act ual parameter 4

tif_dirinfo.c(422): error C2152: 'function': pointers to functions with differ ent attributes

tif_dirinfo.c(422): warning C4024: 'bsearch': different types for formal and a ctual parameter 5

tif_dirinfo.c(450): error C2152: 'function': pointers to functions with differ ent attributes

tif_dirinfo.c(450): warning C4024: 'bsearch': different types for formal and a ctual parameter 5

NMAKE: fatal error U1077: 'cl': return code '0x2' Stop.

NMAKE: fatal error U1077: '"C:\Program Files\Microsoft Visual Studio\VC98\bin\N MAKE.EXE"': return code '0x2'

Stop.

It compiles fine if I leave the parameter in nmake.opt at GX, but fails here if I change to Gz. Is this just going to be an impossible task? Can someone with some winders C knowledge comment on this?

Cheers
Antoine

G System, The Evolving GUniverse - http://www.g-system.at