Hi! Thanks for you reactivity, I am still in the process on cross compiling poppler for Windows using mingw. Anyway, there is a reference to a symbol ``winFontDir`` in GlobalParams::setBaseDir (file ./poppler/GlobalParams.cc). Moreover this function seems not to be used anywhere in the code (I just did a grep). Thanks!
Can you try this? Index: GlobalParams.cc =================================================================== RCS file: /cvs/poppler/poppler/poppler/GlobalParams.cc,v retrieving revision 1.23 diff -u -r1.23 GlobalParams.cc --- GlobalParams.cc 11 Jul 2007 18:12:27 -0000 1.23 +++ GlobalParams.cc 12 Jul 2007 20:27:18 -0000 @@ -810,12 +810,6 @@ void GlobalParams::setBaseDir(char *dir) { delete baseDir; baseDir = new GooString(dir); - -#ifdef WIN32 - if (winFontDir[0]) { - winFontList = new WinFontList(winFontDir); - } -#endif } //------------------------------------------------------------------------
Yes, removing the lines works (no one uses this function anyway). Appart from that I got undefined references to `_EnumFontsA@16' while running make in utils/. I think (but it may be my fault) that some -lgdi32 are missing (adding them allow to compile the .exe).
Ok, closing the bug then, feel free to open a bug with patches to fix your link problems.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.