[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Help-smalltalk] GTK Experiment on windows
From: |
Paolo Bonzini |
Subject: |
Re: [Help-smalltalk] GTK Experiment on windows |
Date: |
Wed, 29 Dec 2010 17:19:12 +0100 |
On Wed, Dec 29, 2010 at 16:19, Mathieu Suen <address@hidden> wrote:
> 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.
I think so, great!!!
Paolo