[poppler] Poppler cannot link LibTiff properly: unresolved external symbols errors

Alec Taylor alec.taylor6 at gmail.com
Wed Oct 26 06:37:42 PDT 2011


Good morning,

Unfortunately I cannot get LibTiff (latest) to link with Poppler
(latest) due to unresolved external symbols errors.

[MSVC2010 Build log]
1>------ Build started: Project: pdf2html, Configuration: Release Win32 ------
1>Build started 10/27/2011 12:27:14 AM.
1>InitializeBuildStatus:
1>  Touching "Release\pdf2html.unsuccessfulbuild".
1>ClCompile:
1>  All outputs are up-to-date.
1>poppler.lib(TiffWriter.obj) : error LNK2001: unresolved external
symbol __imp__TIFFDefaultStripSize
1>poppler.lib(TiffWriter.obj) : error LNK2001: unresolved external
symbol __imp__TIFFSetField
1>poppler.lib(TiffWriter.obj) : error LNK2001: unresolved external
symbol __imp__TIFFFdOpen
1>poppler.lib(TiffWriter.obj) : error LNK2001: unresolved external
symbol __imp__TIFFWriteScanline
1>poppler.lib(TiffWriter.obj) : error LNK2001: unresolved external
symbol __imp__TIFFClose
1>G:\Manual\Release\pdf2html.exe : fatal error LNK1120: 5 unresolved externals
1>
1>Build FAILED.
1>
1>Time Elapsed 00:00:00.25
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

Am I using the wrong version of LibTiff? (3.8.2)

Here is my directory+file tree: http://pastebin.com/D0Db0cYG

Here is the configuration of my Visual Studio 2010 project to compile
the pdftohtml utility of the poppler libraries:
{Project Properties}
[C/C++ -> General]
Additional Include Directories:
C:\usr\include\zlib;C:\usr\src\libpng;C:\usr\src\poppler;C:\usr\src\poppler\poppler;C:\usr\src\poppler\MSVC-proj\poppler;C:\usr\src\poppler\MSVC-proj
[Linker -> General]
Additional Library Directories: C:\usr\lib
[Linker -> Input]
openjpeg.lib;zdll.lib;libtiff.lib;jpeg.lib;libpng15_static.lib;lcms2_static.lib;poppler.lib;FreeType.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies)

Please help me resolve these linker issues.

Thanks for all suggestions,

Alec Taylor


More information about the poppler mailing list