AWARE SYSTEMS
TIFF and LibTiff Mail List Archive

Thread

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

2004.01.05 09:37 "[Tiff] 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

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