[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Fwd: VM Error compiling Gambas for the first time on Manjaro
[Thread Prev] | [Thread Next]
- Subject: Fwd: VM Error compiling Gambas for the first time on Manjaro
- From: Fabien Bodard <gambas.fr@xxxxxxxxx>
- Date: Mon, 9 Dec 2024 11:56:22 +0100
- To: Gambas Mailing List <user@xxxxxxxxxxxxxxxxxxxxxx>
---------- Forwarded message ---------
De : Gianluigi <gradobag@xxxxxxxxxxx>
Date: lun. 9 déc. 2024 à 10:46
Subject: Re: VM Error compiling Gambas for the first time on Manjaro
To: <user@xxxxxxxxxxxxxxxxxxxxxx>
Il 09/12/24 00:52, Benoît Minisini ha scritto:
> Le 06/12/2024 à 23:08, Benoît Minisini a écrit :
>>
>> Indeed. In the meantime, you have to disable the pdf component until I
>> understand what they have changed in the unstable poppler library.
>>
>> This is the reason why 'gb.poppler' exists: it uses some other poppler
>> APIs that are more stable.
>>
>> Regards,
>>
>
> The problem has been fixed.
>
> Regards,
>
>
Hi Benoit,
thank you very much
Regards
Gianluigi
P.S. Perhaps the '.gitlab-ci.yml' configuration file should be updated
by removing the --disable-pdf entry?
The same here :
checking dynamic linker characteristics... (cached) GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for gb.pdf component with pkg-config... OK
checking that generated files are newer than configure... done
configure: creating ./config.status
/bin/sh ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
config.status: executing libtool commands
Making all in src
CXX gb_pdf_la-CPdfDocument.lo
CPdfDocument.cpp: In function 'void PDFPAGE_select(void*, void*)':
CPdfDocument.cpp:1041:80: error: cannot convert 'bool' to 'bool (*)(void*)'
1041 | gfx = THIS->page->createGfx(dev,72.0,72.0,0,false,true,-1,
-1, -1, -1, false, NULL, NULL);
|
^~~~~
|
|
|
bool
In file included from /usr/include/poppler/PDFDoc.h:63,
from CPdfDocument.h:33,
from CPdfDocument.cpp:26:
/usr/include/poppler/Page.h:224:158: note: initializing argument 11 of 'Gfx*
Page::createGfx(OutputDev*, double, double, int, bool, bool, int, int, int,
int, bool (*)(void*), void*, XRef*)'
224 | Gfx *createGfx(OutputDev *out, double hDPI, double vDPI, int
rotate, bool useMediaBox, bool crop, int sliceX, int sliceY, int sliceW,
int sliceH, bool (*abortCheckCbk)(void *data), voi
d *abortCheckCbkData, XRef *xrefA = nullptr);
|
~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
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
~/gambas master *15 !2 ?4
--
Fabien Bodard
| Re: Fwd: VM Error compiling Gambas for the first time on Manjaro | Gianluigi <gradobag@xxxxxxxxxxx> |
| VM Error compiling Gambas for the first time on Manjaro | Gianluigi <gradobag@xxxxxxxxxxx> |
| Re: VM Error compiling Gambas for the first time on Manjaro | Gianluigi <gradobag@xxxxxxxxxxx> |
| Re: VM Error compiling Gambas for the first time on Manjaro | Benoît Minisini <benoit.minisini@xxxxxxxxxxxxxxxx> |
| Re: VM Error compiling Gambas for the first time on Manjaro | Benoît Minisini <benoit.minisini@xxxxxxxxxxxxxxxx> |
| Re: VM Error compiling Gambas for the first time on Manjaro | Gianluigi <gradobag@xxxxxxxxxxx> |