[Gambas-user] Compiling error with 2.20

Benoît Minisini gambas at ...1...
Wed Mar 3 09:46:02 CET 2010


> Meanwhile I tried to compile the new version, but it stops here:
> 
> CPdfDocument.cpp: In function ‘uint32_t aux_get_page_from_action(void*,
> LinkAction*)’:
> CPdfDocument.cpp:183: error: cannot convert ‘UGooString*’ to
> ‘GooString*’ in assignment
> CPdfDocument.cpp:185: error: no matching function for call to
> ‘PDFDoc::findDest(GooString*&)’
> /usr/include/poppler/PDFDoc.h:126: note: candidates are: LinkDest*
> PDFDoc::findDest(UGooString*)
> make[4]: *** [CPdfDocument.lo] Fehler 1
> make[4]: Leaving directory
> `/home/tester/Downloads/Gambas2/gambas2-2.20.0/gb.pdf/src'
> make[3]: *** [all-recursive] Fehler 1
> make[3]: Leaving directory
> `/home/tester/Downloads/Gambas2/gambas2-2.20.0/gb.pdf'
> make[2]: *** [all] Fehler 2
> make[2]: Leaving directory
> `/home/tester/Downloads/Gambas2/gambas2-2.20.0/gb.pdf'
> make[1]: *** [all-recursive] Fehler 1
> make[1]: Leaving directory `/home/tester/Downloads/Gambas2/gambas2-2.20.0'
> make: *** [all] Fehler 2
> 
> 
> Any idea how to fix it?
> 
> Rolf
> 

It seems that you have a too old version of the poppler library (or too 
recent?). Which version of poppler do you have?

$ ls -la /usr/lib/libpoppler*
...

-- 
Benoît Minisini




More information about the User mailing list