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
January 2004

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

2004.01.05 09:37 "building experience with VC6", by Gerben Koopmans
2004.01.07 20:18 "Re: building experience with VC6", by Andrey Kiselev

2004.01.05 09:37 "building experience with VC6", by Gerben Koopmans

Hello all,

I experienced minor building inconveniences using makefile.vc in tiff-3.6.1
in combination with the MS Visual Studio version 6 C compiler. 

- libtiff linking with jpeg support requires that the jpeg library is added,
i.e.,
   LIBS    	= $(JPEGDIR)/libjpeg.lib
   must be specified in makefile.vc

- fax2ps.c doesnot compile, fax2ps.c.orig is fine in this respect.

- _TIFFFieldWithTag is used in tif_pdsdirread.c, but is neither defined in
this file or exported by libtiff.

- The same applies to TIFFSetTagExtender, which is used in
libgeotiff-1.2.1\libxtiff\xtiff.c

Exports are defined in the .def file. Preferable seems to be to use 
__declspec(dllexport) in the source, as is done in geotiff. According to the
manual, declaring functions as dllexport eliminates the need for a
module-definition (.DEF) file, at least with respect to the specification of
exported functions. 



Gerben Koopmans
KEMA Power Generation & Sustainables
KEMA Nederland B.V.
P. O. Box 9035
6800 ET Arnhem
The Netherlands
Registered Arnhem 09080262
Telephone +31 26 3 56 32 93
Telefax +31 26 3 56 20 12
e-mail: gerben.koopmans@kema.nl
Internet: http://www.kema-kps.nl