[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Help-smalltalk] Compiling gst with Gtk on Macosx
From: |
Mathieu Suen |
Subject: |
[Help-smalltalk] Compiling gst with Gtk on Macosx |
Date: |
Wed, 18 Feb 2009 17:49:04 +0100 |
Hi,
I am trying to get Gtk(GTK+ OSX http://developer.imendio.com) with gst.
After installing Gtk. I open a shell and enter the following command:
$ export PKG_CONFIG_PATH=/Library/Frameworks/Gtk.framework/Resources/
dev/lib/pkgconfig:/Library/Frameworks/Cairo.framework/Resources/dev/
lib/pkgconfig:/Library/Frameworks/GLib.framework/Resources/dev/lib/
pkgconfig
$ ./configure --enable-gtk=yes
$ make
$ sudo make install
$ gst
Then I try to load the GTK Package and I get the following error:
st> PackageLoader fileInPackage: 'GTK'
"Global garbage collection... done"
Loading package GTK
Recompiling classes...
Recompiling class: GTK.GtkRequisition class
Recompiling classes...
Recompiling classes...
Recompiling classes...
Recompiling class: GTK.GdkEventButton class
Recompiling classes...
Recompiling class: GTK.GdkEventMotion class
Recompiling classes...
Recompiling class: GTK.GdkEventConfigure class
Object: CFunctionDescriptor new: 1 "<0x1087338>" error: Invalid C call-
out g_initially_unowned_get_type
SystemExceptions.CInterfaceError(Smalltalk.Exception)>>signal
(AnsiExcept.st:216)
SystemExceptions.CInterfaceError class(Smalltalk.Exception
class)>>signal: (AnsiExcept.st:79)
Smalltalk.CFunctionDescriptor(Smalltalk.CCallable)>>callInto:
(CCallable.st:165)
GInitiallyUnowned class>>getType (GTK.star#VFS.ZipFile/Funcs.st:1)
optimized [] in GLib class>>registerAllTypes (GTK.star#VFS.ZipFile/
GtkDecl.st:94)
Smalltalk.OrderedCollection(Smalltalk.SequenceableCollection)>>do:
(SeqCollect.st:823)
GLib class>>registerAllTypes (GTK.star#VFS.ZipFile/GtkDecl.st:94)
Smalltalk.UndefinedObject>>executeStatements (GTK.star#VFS.ZipFile/
GtkImpl.st:447)
PackageLoader
st> GTK.Gtk gstGtkInit.
GTK.Gtk
st> p := GTK.GtkWindow new: GTK.Gtk gtkWindowToplevel.
Object: CFunctionDescriptor new: 1 "<0x10a3718>" error: Invalid C call-
out gtk_window_new
SystemExceptions.CInterfaceError(Exception)>>signal (AnsiExcept.st:216)
SystemExceptions.CInterfaceError class(Exception class)>>signal:
(AnsiExcept.st:79)
CFunctionDescriptor(CCallable)>>callInto: (CCallable.st:165)
GTK.GtkWindow class>>new: (GTK.star#VFS.ZipFile/Funcs.st:1)
UndefinedObject>>executeStatements (a String:1)
nil
Any Idea?
Thanks
Mth
孙道恒
___________________________________________________________________________
Yahoo! Mail r�invente le mail ! D�couvrez le nouveau Yahoo! Mail et son
interface r�volutionnaire.
http://fr.mail.yahoo.com
- [Help-smalltalk] Compiling gst with Gtk on Macosx,
Mathieu Suen <=