2004.01.07 20:18 "Re: [Tiff] building experience with VC6", by Andrey Kiselev
Hello, Gerben,
- libtiff linking with jpeg support requires that the jpeg library is added, i.e.,
LIBS = $(JPEGDIR)/libjpeg.lib
must be specified in makefile.vc
Thanks, fixed.
- fax2ps.c doesnot compile, fax2ps.c.orig is fine in this respect.
Hmm, I'm afraid I don't understand what do you mean. What is fax2ps.c.orig?
- _TIFFFieldWithTag is used in tif_pdsdirread.c, but is neither defined in this file or exported by libtiff.
Again, what is tif_pdsdirread.c?
- The same applies to TIFFSetTagExtender, which is used in libgeotiff-1.2.1\libxtiff\xtiff.c
Fixed.
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.
I know, but I don't want to make significant changes in the tiffio.h now. It may be matter of the next release.
Thank you for report,
Andrey
Andrey V. Kiselev
Home phone: +7 812 5274898 ICQ# 26871517