Rat de combat, merci.
J'ai lancé comme ça :
gnatmake src/xborg.adb -o bin/xborg -aIsrc/lib -aIC:\GtkAda\include\gtkada\gtkada.relocatable\gtkada -LC:\GtkAda\lib |
J'ai ça en retour :
Une list interminable de ce genre :
c:/gnat/2020/bin/../libexec/gcc/x86_64-pc-mingw32/9.3.1/ld.exe: .\warborg-xborg.o:warborg-xborg.adb:(.text+0x245b6): undefined reference to `cairo_pattern_create_for_surface'
c:/gnat/2020/bin/../libexec/gcc/x86_64-pc-mingw32/9.3.1/ld.exe: .\warborg-xborg.o:warborg-xborg.adb:(.text+0x2462b): undefined reference to `cairo_pattern_set_extend'
c:/gnat/2020/bin/../libexec/gcc/x86_64-pc-mingw32/9.3.1/ld.exe: .\warborg-xborg.o:warborg-xborg.adb:(.text+0x2463a): undefined reference to `cairo_surface_destroy'
collect2.exe: error: ld returned 1 exit status
gnatlink: error when calling C:\GNAT\2020\bin\gcc.exe
gnatmake: *** link failed.
|
J'ai rajouté -largs avec le -L, ça change rien apparemment.