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
February 2008

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

2008.02.14 09:28 "libtiff in Borland C++ Builders", by <6370@opto.com.tw>
2008.02.15 08:47 "Re: libtiff in Borland C++ Builders", by Timur Ametov

2008.02.15 08:47 "Re: libtiff in Borland C++ Builders", by Timur Ametov

> 1.       In the “Tiff for windows “(
> http://gnuwin32.sourceforge.net/packages/tiff-win32.htm ), can I use the
> “lib” and “include” along
> with the “.dll” to make libtiff work under Borland C++ builder (5.0) ?
> I
> tried to compile my code, by including (tiff.h . tiffio.h , tiffvers,h ,
> tiffconf.h ) and the libs (libtiff.lib , libtiff-bcc.lib , libtiff.dll.a)
> from dependencies and developer files , and ends up with “[Linker Error]
> Unresolved external '_TIFFOpen' referenced from” 

We had the same problem. Hier is our solution. 

You can create a .def-file with a tool 'impdef' from Borland (it lays in
'bin'-folder of Borland-root. In this def-file we added '_'-sign to all
functions .. and i think, we wrote also LIB_TIFF.DLL instead of LIBTIFF.DLL

Then by using another tool - 'implib' you can create lib-files from
modificated def-file. Just copy this lib-file in lib-folder of your project.

I hope, it'll help you.

Tim(ur)
-- 
GMX FreeMail: 1 GB Postfach, 5 E-Mail-Adressen, 10 Free SMS.
Alle Infos und kostenlose Anmeldung: http://www.gmx.net/de/go/freemail