AWARE [SYSTEMS] Imaging expertise for the Delphi developer
AWare Systems, Imaging expertise for the Delphi developer, Home TIFF and LibTiff Mailing List Archive

LibTiff Mailing List

TIFF and LibTiff Mailing List Archive
May 2005

Previous Thread
Next Thread

Previous by Thread
Next by Thread

Previous by Date
Next by Date

Contact

The TIFF Mailing List Homepage
This list is run by Frank Warmerdam
Archive maintained by AWare Systems



Valid HTML 4.01!



Thread

2005.05.14 13:32 "libtiff+libjpeg on mingw/msys?", by Thom Decarlo
2005.05.16 05:08 "Re: libtiff+libjpeg on mingw/msys?", by Andrey Kiselev

2005.05.14 13:32 "libtiff+libjpeg on mingw/msys?", by Thom Decarlo

Hi,

I've been trying (and failing spectacularly) to get libtiff to compile 
with libjpeg (both from the CVS on maptools.org)

The libjpeg package compiles and installs properly, but when the libtiff 
build gets to the file tiff_jpeg.c it starts spewing errors:

if /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. 
-I. -I. -I.   -I/usr/local/include   -g -O2 -Wall -MT tif_jpeg.lo -MD 
-MP -MF ".deps/tif_jpeg.Tpo" -c -o tif_jpeg.lo tif_jpeg.c; \
then mv -f ".deps/tif_jpeg.Tpo" ".deps/tif_jpeg.Plo"; else rm -f 
".deps/tif_jpeg.Tpo"; exit 1; fi
  gcc -DHAVE_CONFIG_H -I. -I. -I. -I. -I/usr/local/include -g -O2 -Wall 
-MT tif_jpeg.lo -MD -MP -MF .deps/tif_jpeg.Tpo -c tif_jpeg.c 
-DDLL_EXPORT -DPIC -o .libs/tif_jpeg.o
In file included from C:/msys/1.0/local/include/jpeglib.h:24,
                  from tif_jpeg.c:75:
C:/msys/1.0/local/include/jconfig.h:12:1: warning: "HAVE_STDLIB_H" redefined
In file included from tiffiop.h:33,
                  from tif_jpeg.c:27:
tif_config.h:96:1: warning: this is the location of the previous definition
In file included from C:/msys/1.0/local/include/jpeglib.h:26,
                  from tif_jpeg.c:75:
C:/msys/1.0/local/include/jmorecfg.h:130: error: conflicting types for 
'INT32'
c:/mingw/bin/../lib/gcc/mingw32/3.4.2/../../../../include/basetsd.h:52: 
error: previous declaration of 'INT32' was here
In file included from tif_jpeg.c:75:
C:/msys/1.0/local/include/jpeglib.h:94: error: syntax error before "boolean"
C:/msys/1.0/local/include/jpeglib.h:94: warning: no semicolon at end of 
struct or union
C:/msys/1.0/local/include/jpeglib.h:95: warning: type defaults to `int' 
in declaration of `JQUANT_TBL'
C:/msys/1.0/local/include/jpeglib.h:95: warning: data definition has no 
type or storage class
C:/msys/1.0/local/include/jpeglib.h:110: error: syntax error before 
"boolean"
C:/msys/1.0/local/include/jpeglib.h:110: warning: no semicolon at end of 
struct or union
...


It goes on like that for a while then starts complaining about stuff in 
the tif_jpeg.c file itself.

Has anyone else (Norman, are you out there?) gotten this configuration 
to work?

Thanks,
Thom



--
Thom DeCarlo
-=-=-
Eat well, stay fit, die anyway.