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

Re: Error with Master ae4d2c09


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
>
>
> My system:
>
> Gambas=3.20.99 ae4d2c0 (master)
> OperatingSystem=Linux
> Distribution=Mabox Linux
> Kernel=6.16.0-rc3-1-MANJARO
> Architecture=x86_64
> Cores=8
> Memory=5740M
> Language=it_IT.UTF-8
> Platform=x11
> Desktop=XFCE
> DesktopResolution=96
> DesktopScale=7
> WidgetTheme=mabox-superdesk
> Font=Ubuntu,10
> DarkTheme=False
> [Programs]
> gcc=gcc (GCC) 15.1.1 20250425
> git=git version 2.50.0
> msgmerge=msgmerge (GNU gettext-tools) 0.25
> [Libraries]
> Cairo=libcairo.so.2.11804.4
> Curl=libcurl.so.4.8.0
> DBus=libdbus-1.so.3.38.3
> GDK2=libgdk-x11-2.0.so.0.2400.33
> GDK3=libgdk-3.so.0.2417.32
> GStreamer=libgstreamer-1.0.so.0.2602.0
> GTK+2=libgtk-x11-2.0.so.0.2400.33
> GTK+3=libgtk-3.so.0.2417.32
> OpenGL=libGL.so.1.7.0
> Poppler=libpoppler.so.150.0.0
> QT5=libQt5Core.so.5.15.17
> QT6=libQt6Core.so.6.9.1
> RSvg=librsvg-2.so.2.60.0
> SDL=libSDL2-2.0.so.0.3200.56
> SQLite3=libsqlite3.so.3.50.1
>
>
> - - - - - - - - - - - - - - -- - - - - - - - --
>
>
>
> 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


Follow-Ups:
Re: Error with Master ae4d2c09gbWilly <gbWilly@xxxxxxxxxxxxxx>