| 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 |
Thread2008.03.03 19:14 "AW: [Tiff] Putting TIFFLIB into Bloodshed's Dev C++", by Andreas ReifenbergerHi, thanks for that. And thanks to Bob, too. You’re right, I didn’t implement the .lib-file. I am even unable to do this. I can’t follow the instructions http://www.libtiff.org/build.html#PC. I did the following (consider the errors!) C:\Program Files\Microsoft Visual Studio 9.0\VC\bin>"C:\Program Files\Microsoft Visual Studio 9.0\Common7\Tools\vsvars32.bat" Setting environment for using Microsoft Visual Studio 2008 x86 tools. C:\Program Files\Microsoft Visual Studio 9.0\VC\bin>cd.. C:\Program Files\Microsoft Visual Studio 9.0\VC>cd.. C:\Program Files\Microsoft Visual Studio 9.0>cd.. C:\Program Files>cd.. C:\>cd.. C:\>cd tiff-3.8.2 C:\tiff-3.8.2>cd libtiff C:\tiff-3.8.2\libtiff>nmake /f makefile.vc clean Microsoft (R) Program Maintenance Utility Version 9.00.21022.08 Copyright (C) Microsoft Corporation. All rights reserved. del *.obj C:\tiff-3.8.2\libtiff\*.obj konnte nicht gefunden werden del *.lib C:\tiff-3.8.2\libtiff\*.lib konnte nicht gefunden werden del *.dll C:\tiff-3.8.2\libtiff\*.dll konnte nicht gefunden werden del *.exe C:\tiff-3.8.2\libtiff\*.exe konnte nicht gefunden werden C:\tiff-3.8.2\libtiff>nmake /f makefile.vc Microsoft (R) Program Maintenance Utility Version 9.00.21022.08 Copyright (C) Microsoft Corporation. All rights reserved. NMAKE : fatal error U1073: don't know how to make 'tif_config.h.vc' Stop. C:\tiff-3.8.2\libtiff>nmake /f makefile.vc Microsoft (R) Program Maintenance Utility Version 9.00.21022.08 Copyright (C) Microsoft Corporation. All rights reserved. NMAKE : fatal error U1073: don't know how to make 'tif_config.h.vc' Stop. C:\tiff-3.8.2\libtiff>cd ..\tools C:\tiff-3.8.2\tools>nmake /f makefile.fc Microsoft (R) Program Maintenance Utility Version 9.00.21022.08 Copyright (C) Microsoft Corporation. All rights reserved. NMAKE : fatal error U1052: file 'makefile.fc' not found Stop. C:\tiff-3.8.2\tools> What can I do to get the .lib-File? Thanks for further instructions. Andreas Von: ComSquare Martin Osieka [mailto:martin.osieka@comsquare.ch] Gesendet: Montag, 3. März 2008 18:54 An: Andreas Reifenberger Betreff: Re: [Tiff] Putting TIFFLIB into Bloodshed's Dev C++ Don't forget to add the library in Project Options->Parameters->Linker. Martin ----- Original Message ----- From: Andreas Reifenberger <mailto:acid47@myserenity.de> To: tiff@lists.maptools.org Sent: Monday, March 03, 2008 6:26 PM Subject: [Tiff] Putting TIFFLIB into Bloodshed's Dev C++ Hi, i’ve got several problems while including the TiffLib to bloodshed’s dev c++ running windows Vista. Bloodshed does have a update-funktion included, with which I could download and install TiffLib automatically. After compiling codes (e.g. this code here: http://www.remotesensing.org/libtiff/libtiff.html#tiffrgbaimage), I get these error messages: [Linker error] undefined reference to `TIFFOpen' [Linker error] undefined reference to `TIFFSetField' [Linker error] undefined reference to `TIFFSetField' [Linker error] undefined reference to `TIFFSetField' [Linker error] undefined reference to `TIFFSetField' [Linker error] undefined reference to `TIFFSetField' more undefined references to `TIFFSetField' follow [Linker error] undefined reference to `TIFFWriteEncodedStrip' [Linker error] undefined reference to `TIFFClose' ld returned 1 exit status The same happens, if I include \tiff-3.8.2\libtiff\tiffio.h by #include “…” instead of using #include <…>. I used to add all the Files within the \tiff-3.8.2\libtiff-folder to my bloodshed-project and compile this hole thing, but this didn’t work, neither. Here, I get compiling errors within the c-files, which I guess should not happen :> So maybe someone could tell me what I am doing wrong? Thanks for that, Andreas Reifenberger _____ |
|||||||