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
March 2009

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

2009.03.03 20:51 "Building Libtiff in Visual Studio under Windows?", by Steven Lehar
2009.03.03 21:04 "Re: Building Libtiff in Visual Studio under Windows?", by Bob Friesenhahn
2009.03.03 21:10 "Re: Building Libtiff in Visual Studio under Windows?", by Steven Lehar
2009.03.03 21:32 "Re: Building Libtiff in Visual Studio under Windows?", by Edward Lam
2009.03.04 17:15 "Re: Building Libtiff in Visual Studio under Windows?", by Steven Lehar
2009.03.04 17:17 "Re: Building Libtiff in Visual Studio under Windows?", by Steven Lehar
2009.03.04 17:22 "Re: Building Libtiff in Visual Studio under Windows?", by Steven Lehar
2009.03.04 17:40 "Re: Building Libtiff in Visual Studio under Windows?", by Steven Lehar
2009.03.03 21:40 "Re: Building Libtiff in Visual Studio under Windows?", by Lee Howard

2009.03.04 17:15 "Re: Building Libtiff in Visual Studio under Windows?", by Steven Lehar

Thanks a lot for your help guys, I'm *ALMOST* there now!

I downloaded LibTiff from ftp.remotesensing.org tiff-3.8.2.zip,
installed it in C:\Program Files\tiff-3.8.2,

edited libtiff\tiffconf.h and commented out...
  /* #define JPEG_SUPPORT 1 */
  /* #define PIXARLOG_SUPPORT 1 */
  /* #define ZIP_SUPPORT 1 */
as suggested in the documentation (after discovering it was indeed
necessary)

There is no tiff-3.8.2\include folder, but I found a bunch of *.h files in
tiff-3.8.2\libtiff. Now in Visual Studio, in my TestLibTiff project I did

Project > Properties > C/C++ > Additional Include Directories, added
  "C:\Program Files\tiff-3.8.2\libtiff"

Project > Properties > Linker > Additional library directories, added
   "C:\Program Files\tiff-3.8.2\libtiff"

In stdafx.h added
  #include "tiffio.h"

then [F5] (build solution) and I get this error:

Error 1 error LNK2019: unresolved external symbol _TIFFOpen referenced in
function _wmain TestTiffLib.obj
Error 2 fatal error LNK1120: 1 unresolved externals C:\Documents and
Settings\Flight Landata\My Documents\Visual Studio
2005\Projects\TestTiffLib\Debug\TestTiffLib.exe 1
Any idea what I might be missing?



On Tue, Mar 3, 2009 at 4:32 PM, Edward Lam <edward@sidefx.com> wrote:

> For Windows, I suggest just building libtiff yourself from source using
> nmake. See:
>
> http://www.remotesensing.org/libtiff/build.html#PC
>
> It seems rather backwards to me to use gcc on Windows unless you absolutely
> have to when you have access to such a great debugger like Visual Studio.
>
> Regards,
> -Edward
>
>