I'm trying to develop to the first time a GTK+ application in Ada, with GtkAda. I installed it, and I could build a Hello World application from the "Simple Window" template proposed by GPS.
But, when I want to run it, I become an error popup with this message:
"gdk_device_get_last_event_window" could not be found in the DLL "[path_to_my_project]\obj\main.exe".
It was linked with the static library. If I try to link with the relocatable library (using GPS scenario variable LIBRARY_TYPE), I got almost the same error:
"gdk_cairo_surface_create_from_pixbuf" [...]
This second error appears too if I try to launch sample applications (testgtk.exe or test_rtree.exe) from [gtkada_dir]\share\examples\gtkada\testgtk.
So, did I missed something at the installation of GtkAda?
I run
Windows 8.1, I installed GtkAda into the default folder (C:\GtkAda- note I tried to install it intoC:\GNAT\2016too, but the problem is the same).My PATH includes
C:\GtkAda\bin;C:\GtkAda\lib, I added another environment variableADA_PROJECT_PATH=C:\GtkAda\lib\gnat.
I installed Gnat from the latest version (20160515-49).
Any idea to get GtkAda applications running?
Thanks for your help.