Hi, I'm trying to use poppler under windows and always got linking errors, e.g.
undefined reference to `_imp___ZN7Poppler8Document4loadERK7QStringRK10QByteArrayS6_ When I query the poppler library I get: nm /opt/mxe/usr/i686-w64-mingw32.static/lib/libpoppler-qt5.a | grep _ZN7Poppler8Document4loadERK7QStringRK10QByteArrayS6_ 00000000 T __ZN7Poppler8Document4loadERK7QStringRK10QByteArrayS6_ That means the funcction is present but without the _imp_ prefix What is going wrong? Thanks for any ideas Michael PS I'm using mxe to compile poppler under windows. ./configure --host='i686-w64-mingw32.static' --build='x86_64-unknown-linux-gnu' --prefix='/opt/mxe/usr/i686-w64-mingw32.static' --enable-static --disable-shared ac_cv_prog_HAVE_DOXYGEN="false" --disable-doxygen --disable-silent-rules --enable-xpdf-headers --enable-poppler-qt5 --disable-poppler-qt4 --enable-static --disable-shared --enable-zlib --enable-cms=lcms2 --enable-libcurl --enable-libtiff --enable-libjpeg --enable-libpng --enable-poppler-glib --enable-poppler-cpp --enable-cairo-output --enable-splash-output --enable-compile-warnings=yes --enable-introspection=auto --disable-libopenjpeg --disable-gtk-test --disable-utils --disable-gtk-doc --disable-gtk-doc-html --disable-gtk-doc-pdf --with-font-configuration=win32 PKG_CONFIG_PATH_i686_w64_mingw32_static='/opt/mxe/usr/i686-w64-mingw32.static/qt/lib/pkgconfig' CXXFLAGS="-D_WIN32_WINNT=0x0500 -std=c++11" LIBTIFF_LIBS="`'i686-w64-mingw32.static-pkg-config' libtiff-4 --libs`" _______________________________________________ poppler mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/poppler
