GTKAda hello world

338 Views Asked by At

I am having linking errors trying to run the gtkada sample program that comes with GPS.

Link [link] main.adb /usr/lib/x86_64-linux-gnu/libgtk-3.so: undefined reference to `pango_fc_font_map_config_changed' collect2: error: ld returned 1 exit status gprbuild: link of main.adb failed [2018-07-19 09:39:45] process exited with status 4, 100% (8/8), elapsed time: 01.05s

Is there a way to see what library paths GPS is searching?

Thanks,

1

There are 1 best solutions below

0
On

In Project/Build/Switches/Ada Linker, add (in the summary line at the bottom of the panel)

-v -Wl,-v

(the -v is a switch to gnatbind, the -Wl,-v is a switch to the underlying linker. You may only need the latter)