| AWARE [SYSTEMS] | Imaging expertise for the Delphi developer | |||||||
![]() |
TIFF and LibTiff Mailing List Archive | |||||||
LibTiff Mailing List
TIFF and LibTiff Mailing List Archive Contact
The TIFF Mailing List Homepage |
2005.12.01 23:42 "libtiff.lib library nmake error on Windows", by David JacquesI'm encountering some problems compiling the libtiff 3.7.4 software on my Windows system. I'm getting this error: "tif_jpeg.c(75) : fatal error C1083: Cannot open include file: 'jpeglib.h': No such file or directory NMAKE : fatal error U1077: 'cl' : return code '0x2'" Does anyone have a settings for a working Win32 console project for this w/out having jpeg set up? I don't know much about nmake syntax, so I don't know why commenting out the JPEG stuff in the nmake.opt file doesn't solve this problem. I tried making a minimal program that just opens a .tif file and reads a tag, but I get linker errors. tiffopen.obj : error LNK2019: unresolved external symbol _TIFFClose referenced in function _main tiffopen.obj : error LNK2019: unresolved external symbol _TIFFOpen referenced in function _main So does one need the .lib files to be successfully built to use these functions? If so and I can't get the nmake to work... Well it's a real show-stopper. I wish to do the following... 1) determine if a .tif file is a regular tif or geotiff 2) if it is not geotiff, read the Image Width & Image Length tags, store these in variables 3) compute geographic extent of the tiff by using the .tfw values & the image dimensions. Thanks in advance.. David |
|||||||