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.31 14:25 "Problem with Libtiff 3.8.2", by Tony Dart
2009.03.31 15:01 "Re: Problem with Libtiff 3.8.2", by Edward Lam
2009.03.31 18:16 "Re: Building libtiff with Mingw32", by Richard Nolde

2009.03.31 18:16 "Re: Building libtiff with Mingw32", by Richard Nolde

Tony,
   Try downloading the free Code::Blocks IDE for building with Mingw32. 
http://www.codeblocks.org/
   Once set up, it makes it very easy to create DEBUG and release 
versions and configure all the paths to the headers and libraries.
   I've used it to write Windows services and found it easy to use.  It 
does seem to have some dependencies on the version of gcc and gdb that 
you are using.

Richard Nolde
> Tony Dart wrote:
>   
>> Hello
>>  
>> I am trying to write a tiff reading program under Windows. I downloaded 
>> GnuWin32 LibTiff and tools and checked that the exe files worked. I 
>> copied the headers from the include directory to the include directory 
>> of the compiler (MinGW 3.4.5), the lib files to C:\mingw\lib, and the 
>> .dlls to C:\mingw\bin.
>>  
>> However, if I try to include tiffio.h I get a compiler error of "no such 
>> file or directory". If I include the full path to the file it finds it eg
>>  
>> #include <stdio.h>
>> #include <C:\mingw\include\tiffio.h>   // works
>> #include <tiffio.h>   // doesn't work
>>  
>> I then get loads of undefined referencrs which normally are solved by a 
>> link to therelevant library in the compilation command line eg
>> g++ test.cpp -o test.exe -L/C:/mingw/lib/libtiff.lib
>>  
>> but no joy this time.
>>  
>> Any thoughts on how to get this working would be deeply appreciated.
>>  
>> Regards
>> Tony
>>
>>