[poppler] poppler 0.21.4 fails to build with cairo 1.12.8 for me
Albert Astals Cid
aacid at kde.org
Thu Dec 27 15:59:13 PST 2012
El Dijous, 27 de desembre de 2012, a les 15:19:11, Alex Korobkin va escriure:
> Hi all,
>
> I'm building poppler 0.21.4 on Ubuntu 12.04 x64, with freshly built
> and installed cairo 1.12.8.
Can you compile it with the stock cairo that comes with Ubuntu 12.04?
Cheers,
Albert
> This is what I see during the building process:
>
> libtool: link: ( cd ".libs" && rm -f "libpoppler.la" && ln -s
> "../libpoppler.la" "libpoppler.la" )
> /bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H
> -I. -I.. -I.. -I../goo -I/usr/include/cairo -I/usr/include/glib-2.0
> -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1
> -I/usr/include/freetype2 -I/usr/include/libpng12 -DQT_SHARED
> -I/usr/include/qt4 -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui
> -I/usr/include/qt4/QtXml -I/usr/include/libpng12
> -I/usr/include/freetype2 -D_FORTIFY_SOURCE=2 -Wall
> -Woverloaded-virtual -Wnon-virtual-dtor -Wcast-align -fno-exceptions
> -fno-check-new -fno-common -g -O2 -fPIE -fstack-protector
> --param=ssp-buffer-size=4 -Wformat -Wformat-security
> -Werror=format-security -ansi -pthread -c -o CairoFontEngine.lo
> CairoFontEngine.cc
> libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../goo
> -I/usr/include/cairo -I/usr/include/glib-2.0
> -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1
> -I/usr/include/freetype2 -I/usr/include/libpng12 -DQT_SHARED
> -I/usr/include/qt4 -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui
> -I/usr/include/qt4/QtXml -I/usr/include/libpng12
> -I/usr/include/freetype2 -D_FORTIFY_SOURCE=2 -Wall
> -Woverloaded-virtual -Wnon-virtual-dtor -Wcast-align -fno-exceptions
> -fno-check-new -fno-common -g -O2 -fstack-protector
> --param=ssp-buffer-size=4 -Wformat -Wformat-security
> -Werror=format-security -ansi -pthread -c CairoFontEngine.cc -fPIC
> -DPIC -o .libs/CairoFontEngine.o
> In file included from CairoFontEngine.cc:40:0:
> CairoOutputDev.h:233:16: error: 'virtual void
> CairoOutputDev::setSoftMaskFromImageMask(GfxState*, Object*, Stream*,
> int, int, GBool, GBool, double*)' cannot be overloaded
> CairoOutputDev.h:202:16: error: with 'virtual void
> CairoOutputDev::setSoftMaskFromImageMask(GfxState*, Object*, Stream*,
> int, int, GBool, GBool, double*)'
> CairoOutputDev.h:236:16: error: 'virtual void
> CairoOutputDev::unsetSoftMaskFromImageMask(GfxState*, double*)' cannot
> be overloaded
> CairoOutputDev.h:206:16: error: with 'virtual void
> CairoOutputDev::unsetSoftMaskFromImageMask(GfxState*, double*)'
> make[4]: *** [CairoFontEngine.lo] Error 1
> make[4]: Leaving directory `/tmp/buildd/poppler-0.21.4/poppler'
>
>
> Offending line seems to be:
> CairoOutputDev.h:233:16: error: 'virtual void
> CairoOutputDev::setSoftMaskFromImageMask(GfxState*, Object*, Stream*,
> int, int, GBool, GBool, double*)' cannot be overloaded
>
> Does poppler 0.21.4 work with Cairo 1.12.8 for anyone?
> Do you have any hints on why would it complain about such overloading
> problem? _______________________________________________
> poppler mailing list
> poppler at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/poppler
More information about the poppler
mailing list