Like this the PopplerKit has other breaks. I noticed very old versions of this library are different. Is there a reason why an older lib still in use.
Sent from my iPad On Feb 19, 2013, at 12:09 AM, Luis Garcia Alanis <[email protected]> wrote: > Hello, > > I am trying to build Etoile and I am getting build errors on the latest > ubuntu 12.10. the poppler library I have does not help on the build process. > void SplashOutputDev::startDoc(PDFDoc *docA); seems to be incompatible with > the required one that takes an XRef*. > > Are there different versions of Poppler? > > > Build Project: PopplerKit > > Making build-headers in subprojects of framework PopplerKit... > Making build-headers for subproject bindings... > make[3]: Nothing to be done for `internal-subproject-build- > headers'. > Making build-headers for subproject MissingKit... > make[3]: Nothing to be done for `internal-subproject-build-headers'. > Making build-headers for framework PopplerKit... > Making all in subprojects of framework PopplerKit... > Making all for subproject bindings... > Compiling file poppler_splash_renderer.cpp ... > poppler_splash_renderer.cpp:56:50: error: cannot initialize a parameter of > type 'PDFDoc *' with an rvalue of type 'XRef *' > > SYNCHRONIZED(SPLASH_DEV(output_dev)->startDoc(PDF_DOC(poppler_document)->getXRef())); > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > poppler_splash_renderer.cpp:29:22: note: expanded from: > #define PDF_DOC(obj) static_cast<PDFDoc*>(obj) > ^ > ./poppler.h:38:4: note: expanded from: > x; \ > ^ > /usr/include/poppler/SplashOutputDev.h:309:25: note: passing argument to > parameter 'docA' here > void startDoc(PDFDoc *docA); > ^ > poppler_splash_renderer.cpp:89:50: error: cannot initialize a parameter of > type 'GBool (*)(void *)' with an rvalue of type 'Catalog *' > > PDF_DOC(poppler_document)->getCatalog())); > > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > poppler_splash_renderer.cpp:29:22: note: expanded from: > #define PDF_DOC(obj) static_cast<PDFDoc*>(obj) > ^ > ./poppler.h:38:4: note: expanded from: > x; \ > ^ > /usr/include/poppler/Page.h:227:15: note: passing argument to parameter > 'abortCheckCbk' here > GBool (*abortCheckCbk)(void *data) = NULL, > ^ > 2 errors generated. > make[4]: *** [obj/bindings.obj/poppler_splash_renderer.cpp.o] Error 1 > make[3]: *** [internal-subproject-all_] Error 2 > make[2]: *** [bindings.all.subproject.variables] Error 2 > make[1]: *** [PopplerKit.all.framework.variables] Error 2 > make: *** [internal-all] Error 2 > _______________________________________________ Etoile-discuss mailing list [email protected] https://mail.gna.org/listinfo/etoile-discuss
