Gtk - Window XP - can't include Gtk library

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Gtk - Window XP - can't include Gtk library

Pascal
Hello everyone,

I've installed Gnat Gps and Gtk, and I did some testing but I'm still unable to compile properly one of the example provided along with Gtk; "..\Gtk\share\examples\gtkada\base_widget"

I've tried all three different sugested ways without success; please see bellow:
- including -I switch in Project setup
- use project template provided with Gtk
- use Environement variable to point at a library list

So sorry for this stupid question and thnaks in advance to whom might help me.

Cheers

Pascal

Detail of message I got.

gnatmake -Pc:\gnat\gpl_2006\my_projects\base_widget\basic_widget.gpr main.adb -d
gcc -c -I- -gnatA c:\gnat\gpl_2006\my_projects\base_widget\main.adb
main.adb:1:06: file "gtk.ads" not found
main.adb:2:06: file "gtk.ads" not found
main.adb:3:06: file "gtk.ads" not found
main.adb:4:06: file "gtk.ads" not found
main.adb:5:06: file "gtk.ads" not found
main.adb:6:06: file "gtk.ads" not found
main.adb:8:06: file "glib.ads" not found
main.adb:8:06: "My_Widget (spec)" depends on "Glib (spec)"
main.adb:8:06: "My_Widget (spec)" depends on "Gdk (spec)"
main.adb:8:06: "Main (body)" depends on "My_Widget (spec)"
main.adb:8:06: "My_Widget (spec)" depends on "Gtk (spec)"
gnatmake: "c:\gnat\gpl_2006\my_projects\base_widget\main.adb" compilation error
process exited with status 4