2008.02.15 08:47 "Re: [Tiff] libtiff in Borland C++ Builders", by Timur Ametov
- 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.
GMX FreeMail: 1 GB Postfach, 5 E-Mail-Adressen, 10 Free SMS.
Alle Infos und kostenlose Anmeldung: http://www.gmx.net/de/go/freemail