[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Help-smalltalk] GTK Experiment on windows
From: |
Mathieu Suen |
Subject: |
[Help-smalltalk] GTK Experiment on windows |
Date: |
Wed, 29 Dec 2010 15:19:31 +0000 (GMT) |
Hi All,
Since several day I tried to have gst-browser on windows.
gst work fine but if you try to launch
Now I found a way to have it.
Here is what I have done:
1) Cross compile it from Fedora using the mingw package.
2) Copy-it to windows.
3) install msys
4) Wrote this script:
----gstbrowser.st begin----
!/usr/bin/env gst
Eval [
DLD addLibrary: 'libgobject-2.0-0'.
DLD addLibrary: 'libglib-2.0-0'.
DLD addLibrary: 'libgtk-win32-2.0-0'.
DLD addLibrary: 'libgdk-win32-2.0-0'.
DLD addLibrary: 'libgmodule-2.0-0'.
DLD addLibrary: 'libgio-2.0-0'.
DLD addLibrary: 'libcairo-2'.
DLD addLibrary: 'libpango-1.0-0'.
DLD addLibrary: 'libpangocairo-1.0-0'.
DLD addLibrary: 'libgdk_pixbuf-2.0-0'.
PackageLoader fileInPackage: 'VisualGST'.
VisualGST.GtkLauncher uniqueInstance.
GTK.Gtk main.
]
----gstbrowser.st end----
5) Launch the script $ ./gstbrowser.st
The reson for adding the DLD>>#addLibrary: is that on windows all the
library name look like libgtk-win32-2.0-0.dll. This confuse libltdl.
I don't know if this could be solved.
Thanks
Mathieu
- [Help-smalltalk] GTK Experiment on windows,
Mathieu Suen <=