[poppler] Unable to link pdftohtml against KDE4windows libraries

Alec Taylor alec.taylor6 at gmail.com
Sat Oct 29 13:19:55 PDT 2011


Okay, I've gotten it to link and compile.

[C/C++ -> General -> Additional Include Directories]
C:\usr\src\poppler;C:\usr\src\poppler\fofi;C:\usr\src\poppler\goo;C:\usr\src\poppler\poppler;C:\usr\src\poppler\MSVC-proj;C:\usr\src\poppler\MSVC-proj\poppler;C:\usr\src\poppler\utils;C:\usr\src\poppler\MSVC-proj\utils;C:\kde\include\freetype;C:\kde\include\freetype2\freetype;C:\kde\win32\jpeg;C:\kde\include;C:\kde\3rdparty\zlib;C:\kde\include\openjpeg;C:\usr\include\cairo

[Linker -> General -> Additional Library Dependencies]
C:\kde\lib

[Linker -> Input -> Additional Dependencies]
gdi32.lib;advapi32.lib;winspool.lib;user32.lib;C:\usr\lib\poppler.lib;libpng14.lib;zlib.lib;tiff3.lib;openjpeg.lib;lcms-1.lib;jpeg.lib;iconv.lib;FreeType.lib;C:/usr/lib/cairo.lib

Surprisingly, unlike my last build from before I was using the KDE
tree, this one requires more than 1 dll (more than libtiff) to be in
its directory.

$ ls
freetype.dll     jpeg.dll    libpng14.dll lcms-1.dll   tiff3.dll



More information about the poppler mailing list