[Gtk-sharp-list] GtkGlArea and Windows

LievenQ lieven at quasar3d.nl
Tue Jun 13 07:50:41 EDT 2006


Hi,

I did get have the glarea working on windows, but I remember it was kind
of a hassle to do so.

My managed dll was built on linux, with mono, and it did work on windows
and ms .net (as it should;))

It also needed a native dll (gtkglarea-win32 something). I downloaded the
source of it, but I couldn't compile it. It seemed to be made for an older
version of gtk, which had some macros to access the inner win32 handles of
the gtk windows. I managed to fix most of it, I only couldn't figure out
how to get the handle of a font, so I just commented that out. I'm not
using fonts anyway.

I attached the source code of my modified gtkglarea, aswell as the
binaries.

Greets,

Lieven van der Heide

On Sat, 10 Jun 2006 07:02:46 +0200, BradDaBug <braddabug at comcast.net>
wrote:

>
> I've been working on a Gtk# application that uses GtkGLArea, and it works
> fine on Linux with Mono, but I can't get it to build on Windows. I get an
> error when I try to build that looks like this:
>
> Assembly 'gtkglarea-sharp, Version=0.0.3.0, Culture=neutral,
> PublicKeyToken=...' uses  'glib-sharp, Version=2.4.0.0, ...' which has a
> higher version than reference assembly 'glib-sharp, Version=1.0.0.0, ...'
>
> I couldn't figure out how to get gtkglarea-sharp to build on Windows so I
> just copied the version I was using over on my Linux box with Mono, but I
> guess that won't work. Will gtkglarea-sharp even work on Windows? If  
> not, is
> there any way to make a Gtk# application that uses OpenGL work on  
> Windows?
> --
> View this message in context:  
> http://www.nabble.com/GtkGlArea-and-Windows-t1765324.html#a4805031
> Sent from the Mono - Gtk# forum at Nabble.com.
>
> _______________________________________________
> Gtk-sharp-list maillist  -  Gtk-sharp-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/gtk-sharp-list
>



-- 
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gtkglarea-sharp.dll
Type: application/octet-stream
Size: 7680 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/gtk-sharp-list/attachments/20060613/5ae04a90/gtkglarea-sharp-0001.dll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gtkglarea.zip
Type: application/zip
Size: 17628 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/gtk-sharp-list/attachments/20060613/5ae04a90/gtkglarea-0001.zip
-------------- next part --------------
A non-text attachment was scrubbed...
Name: libgtkglarea-win32-2.0-0.dll
Type: application/octet-stream
Size: 53248 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/gtk-sharp-list/attachments/20060613/5ae04a90/libgtkglarea-win32-2.0-0-0001.dll


More information about the Gtk-sharp-list mailing list