[poppler] Compile Error: undefined reference to `png_destroy_write_struct'
Hib Eris
hib at hiberis.nl
Thu Apr 29 03:11:17 PDT 2010
Hi Mike,
On Thu, Apr 29, 2010 at 11:12 AM, Mike Tonks <fluffymike at googlemail.com> wrote:
> Hi Albert,
>
> With 0.13.3 it also fails but more quickly:
>
> Owner at ANONYMOUS ~/poppler-0.13.3
> $ make
> make all-recursive
> make[1]: Entering directory `/home/Owner/poppler-0.13.3'
> Making all in goo
> make[2]: Entering directory `/home/Owner/poppler-0.13.3/goo'
> CXX gfile.lo
> gfile.cc: In function 'GooString* makePathAbsolute(GooString*)':
> gfile.cc:379:12: error: '_MAX_PATH' was not declared in this scope
> gfile.cc:382:3: error: 'buf' was not declared in this scope
> make[2]: *** [gfile.lo] Error 1
> make[2]: Leaving directory `/home/Owner/poppler-0.13.3/goo'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/home/Owner/poppler-0.13.3'
> make: *** [all] Error 2
This error might come from compiling with the '-ansi' flag, which
causes the mingw compiler to use header files that only include strict
ansi. You can avoid it by running configure with the
"--disable-compile-warnings" option. (Yes, this should be fixed in
poppler, but I have not found the time to do it properly: by making
poppler use only strict ansi, not by removing the -ansi flag).
Hib
More information about the poppler
mailing list