« Return to Thread: GtkGlArea and Windows

Re: GtkGlArea and Windows

by lieven-3 :: Rate this Message:

Reply to Author | View in Thread

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@...>
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@...
> http://lists.ximian.com/mailman/listinfo/gtk-sharp-list
>


--
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/



gtkglarea-sharp.dll (10K) Download Attachment
gtkglarea.zip (23K) Download Attachment
libgtkglarea-win32-2.0-0.dll (24K) Download Attachment

 « Return to Thread: GtkGlArea and Windows