[Gambas-user] Compiling error with 2.20

Rolf-Werner Eilert eilert-sprachen at ...221...
Wed Mar 3 12:52:32 CET 2010


Am 03.03.2010 12:00, schrieb Benoît Minisini:
>> 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
>>
>
> What happens if you replace GooString by UGooString in the line 174?
>

Yes, that helps! Now it compiles without errors. Thanks so much!

Rolf






More information about the User mailing list