Greetings,
I downloaded and installed Gtk for OSX (version 2.14 beta from gtk-
osx.org) and I was going to try the simple hello-world example from
the GTK+ 2.0 tutorial (http://library.gnome.org/devel/gtk-tutorial/
stable/c39.html#SEC-HELLOWORLD). This is what I did:
$ cat Makefile
INCLUDES = \
-I/Library/Frameworks/Gtk.framework/Headers \
-I/Library/Frameworks/GLib.framework/Headers \
-I/Library/Frameworks/Cairo.framework/Headers
all: hello
hello: hello.c
gcc -framework GLib -framework Gtk $(INCLUDES) -o $@ hello.c
$ make
gcc -framework GLib -framework Gtk -I/Library/Frameworks/
Gtk.framework/Headers -I/Library/Frameworks/GLib.framework/Headers -I/
Library/Frameworks/Cairo.framework/Headers -o hello hello.c
$ ./hello
dyld: Library not loaded: /Library/Frameworks/GLib.framework/
Libraries/libglib-2.0.0.dylib
Referenced from: /Library/Frameworks/GLib.framework/GLib
Reason: Incompatible library version: GLib requires version
1801.0.0 or later, but libglib-2.0.0.dylib provides version 1201.0.0
Trace/BPT trap
$
Can somebody tell me what's going on here?
Thanks!
Aziz,,,
_______________________________________________
gtk-list mailing list
gtk-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-list