Hi, On Thu, Sep 23, 2010 at 6:16 PM, Paul. Z. Wu <[email protected]> wrote: > > > --- On Thu, 9/23/10, Paul. Z. Wu <[email protected]> wrote: > >> From: Paul. Z. Wu <[email protected]> >> Subject: Re: [poppler] How to define _WIN32 flag? >> To: "Vincent Torri" <[email protected]> >> Date: Thursday, September 23, 2010, 9:14 AM >> Thanks for your reply -- I tried >> latest mingw (g++ 4.5) on Windows (XP and 7). But it didn't >> work out. I had the follow error (it may be not the _WIN32 >> problem). Any tip will be very appreciated. >> >> make[3]: Entering directory >> `/home/admin/poppler-0.14.3/poppler' >> CXX Annot.lo >> CXX GlobalParams.lo >> GlobalParams.cc: In function 'char* >> get_poppler_datadir()': >> GlobalParams.cc:186:47: error: '_mbsrchr' was not declared >> in this scope >> GlobalParams.cc:190:45: error: 'stricmp' was not declared >> in this scope
Just speculating here, but this might be because poppler claims to be 'ansi', and _mbsrchr might not be ansi according to mingw 4.5. Try to build with this and see what happens: make CXXFLAGS="" Or remove the '-ansi' flag from the poppler/Makefile . Cheers, Hib Eris _______________________________________________ poppler mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/poppler
