[poppler] Compile Error: undefined reference to `png_destroy_write_struct'

Mike Tonks fluffymike at googlemail.com
Thu Apr 29 02:12:01 PDT 2010


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

Note 0.13.3 compiles fine on my ubuntu (9.10) system.  It's just the
windows (mingw / msys) build I'm having trouble with.  It may be my
inexperience with mingw that's at fault, but I have successfully built
all the dependent libraries (zlib, fontconfig, freetype, libpng, jpeg,
libopenjpg) so I'm getting the hang of it I think.

mike


On 28 April 2010 21:39, Albert Astals Cid <aacid at kde.org> wrote:
> A Dimecres, 28 d'abril de 2010, Mike Tonks va escriure:
>> Can anyone help?  I'm building poppler-0.12.4 on windows with mingw
>> (msys) when I get the following error:
>
> Can you try poppler 0.13.3?
>
> Albert
> _______________________________________________
> poppler mailing list
> poppler at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/poppler
>


More information about the poppler mailing list