[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Error with Master ae4d2c09


Now, with MASTER commit a61c2064 it works.




1 lug 2025, 19:32 da gbWilly@xxxxxxxxxxxxxx:

> On Tuesday, July 1st, 2025 at 17:38, Fabien Bodard <gambas.fr@xxxxxxxxx> wrote:
>
>> I get the same error in may last update few minute ago
>>
>>
>> Making install in gb.pdf
>> Making install in src
>> CXX gb_pdf_la-CPdfDocument.lo
>> CPdfDocument.cpp: In function 'void PDFPAGELINKS_get(void*, void*)':
>> CPdfDocument.cpp:1114:62: error: cannot convert 'const
>> std::shared_ptr<AnnotLink>' to 'AnnotLink*' in initialization
>>
>> 1114 | for (AnnotLink *link : THIS->links->getLinks()) {
>>
>> | ^
>> CPdfDocument.cpp: In function 'void aux_get_link_dimensions(void*, CPDFRECT*)':
>> CPdfDocument.cpp:1220:54: error: cannot convert 'const
>> std::shared_ptr<AnnotLink>' to 'AnnotLink*' in initialization
>>
>> 1220 | for (AnnotLink *link : THIS->links->getLinks()) {
>>
>> | ^
>> make[2]: *** [Makefile:530: gb_pdf_la-CPdfDocument.lo] Error 1
>> make[1]: *** [Makefile:456: install-recursive] Error 1
>> make: *** [Makefile:464: install-recursive] Error 1
>>    ~/gambas    master *21 !1 ?6 
>>
>>  2 ✘  1m 47s 
>>
>> Le lun. 30 juin 2025 à 12:01, vuott@xxxxxxxxxxxx a écrit :
>>
>> > Hello,
>> > poppler = 25.06.0
>> > gcc (GCC) = 15.1.1 20250425
>> > 
>> > 30 giu 2025, 09:59 da benoit.minisini@xxxxxxxxxxxxxxxx:
>> > 
>> > Le 28/06/2025 à 21:42, vuott@xxxxxxxxxxxx a écrit :
>> > 
>> > Hello,
>> > with Master ae4d2c09 I obtain this error:
>> > 
>> > Making all in gb.pdf
>> > Making all in src
>> > CXX gb_pdf_la-CPdfDocument.lo
>> > CPdfDocument.cpp: In function 'void PDFPAGELINKS_get(void*, void*)':
>> > CPdfDocument.cpp:1114:62: error: cannot convert 'const std::shared_ptr<AnnotLink>' to 'AnnotLink*' in initialization
>> > 1114 | for (AnnotLink link : THIS->links->getLinks()) {
>> > | ^
>> > CPdfDocument.cpp: In function 'void aux_get_link_dimensions(void, CPDFRECT*)':
>> > CPdfDocument.cpp:1220:54: error: cannot convert 'const std::shared_ptr<AnnotLink>' to 'AnnotLink*' in initialization
>> > 1220 | for (AnnotLink *link : THIS->links->getLinks()) {
>> > | ^
>> > make[4]: *** [Makefile:530: gb_pdf_la-CPdfDocument.lo] Error 1
>> > make[3]: *** [Makefile:456: all-recursive] Error 1
>> > make[2]: *** [Makefile:388: all] Error 2
>> > make[1]: *** [Makefile:464: all-recursive] Error 1
>> > make: *** [Makefile:405: all] Error 2
>> > 
>> > Hi,
>> > 
>> > Which version of gcc do you use?
>> > 
>> > $ gcc --version
>> > 
>> > Which version of poppler do you use?
>> > 
>> > $ pkg-config --modversion poppler
>> > 
>> > Regards,
>> > 
>> > --
>> > Benoît Minisini.
>>
>>
>>
>> --
>> Fabien Bodard
>>
>
> The last time I had this issue with gb.pdf component was on trixie. I since disable it as this was the answer I git from Benoit ;-)
>
> https://lists.gambas-basic.org/archive/user/2025-03/0000122.html
>
> gbWilly
>
>


Follow-Ups:
Re: Error with Master ae4d2c09gbWilly <gbWilly@xxxxxxxxxxxxxx>
References:
Re: Error with Master ae4d2c09Fabien Bodard <gambas.fr@xxxxxxxxx>
Re: Error with Master ae4d2c09gbWilly <gbWilly@xxxxxxxxxxxxxx>