GtkGlArea and Windows

View: New views
5 Messages — Rating Filter:   Alert me  

GtkGlArea and Windows

by BradDaBug :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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?

Re: GtkGlArea and Windows

by lieven-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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

Re: GtkGlArea and Windows

by C.J. Adams-Collier :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Sorry about the delay in getting back to you in this.  If you'd like to
help me test on windows, let me know.

Cheers,

C.J.


On Fri, 2006-06-09 at 22:02 -0700, 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
>

_______________________________________________
Gtk-sharp-list maillist  -  Gtk-sharp-list@...
http://lists.ximian.com/mailman/listinfo/gtk-sharp-list

Re: GtkGlArea and Windows

by C.J. Adams-Collier :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

This is cool.  I didn't know it was working on windows.  :)

On Tue, 2006-06-13 at 13:50 +0200, LievenQ wrote:

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

_______________________________________________
Gtk-sharp-list maillist  -  Gtk-sharp-list@...
http://lists.ximian.com/mailman/listinfo/gtk-sharp-list

Re: GtkGlArea and Windows

by JTalton :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.
I found the mono page for GTKGLAreaSharp at http://www.mono-project.com/GtkGLAreaSharp but it seems that many of the links don't work.

The I did find a thread where Lluis responded about the svn.myrealbox.com not working: "The anonymous svn server name has changed. The new server is anonsvn.mono-project.com."
The links to colliertech.org don't seem to be working.  Maybe the domain colliertech.org expired?

Anyway,
I have been working on a little project using CSharp, GTK#, and OpenGL.
I have made a CSharp OpenGL GTK widget that runs on both Windows and Linux and supports shared display lists across OpenGL contexts.

I was planning on putting the source up on sourceforge, but didn't want to duplicate efforts.
What's the status of the GTKGLAreaSharp?  Is there any way I can help?

Thanks,
James



On 4/8/07, C.J. Adams-Collier <cjcollier@...> wrote:
This is cool.  I didn't know it was working on windows.  :)

On Tue, 2006-06-13 at 13:50 +0200, LievenQ wrote:

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

_______________________________________________
Gtk-sharp-list maillist  -   Gtk-sharp-list@...
http://lists.ximian.com/mailman/listinfo/gtk-sharp-list


_______________________________________________
Gtk-sharp-list maillist  -  Gtk-sharp-list@...
http://lists.ximian.com/mailman/listinfo/gtk-sharp-list