mail-archives/gtk-sharp-list/2007-April/007970.html

116 строки
5.5 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<TITLE> [Gtk-sharp-list] GtkGlArea and Windows
</TITLE>
<LINK REL="Index" HREF="index.html" >
<LINK REL="made" HREF="mailto:gtk-sharp-list%40lists.ximian.com?Subject=%5BGtk-sharp-list%5D%20GtkGlArea%20and%20Windows&In-Reply-To=op.ta21urp6fb4yml%40lieven.coded-illusions.com">
<META NAME="robots" CONTENT="index,nofollow">
<META http-equiv="Content-Type" content="text/html; charset=us-ascii">
<LINK REL="Previous" HREF="007968.html">
<LINK REL="Next" HREF="007969.html">
</HEAD>
<BODY BGCOLOR="#ffffff">
<H1>[Gtk-sharp-list] GtkGlArea and Windows</H1>
<B>C.J. Adams-Collier</B>
<A HREF="mailto:gtk-sharp-list%40lists.ximian.com?Subject=%5BGtk-sharp-list%5D%20GtkGlArea%20and%20Windows&In-Reply-To=op.ta21urp6fb4yml%40lieven.coded-illusions.com"
TITLE="[Gtk-sharp-list] GtkGlArea and Windows">cjcollier at colliertech.org
</A><BR>
<I>Sun Apr 8 12:25:13 EDT 2007</I>
<P><UL>
<LI>Previous message: <A HREF="007968.html">[Gtk-sharp-list] GtkGlArea and Windows
</A></li>
<LI>Next message: <A HREF="007969.html">[Gtk-sharp-list] GtkGLAreaSharp as an optional package
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#7970">[ date ]</a>
<a href="thread.html#7970">[ thread ]</a>
<a href="subject.html#7970">[ subject ]</a>
<a href="author.html#7970">[ author ]</a>
</LI>
</UL>
<HR>
<!--beginarticle-->
<PRE>This is cool. I didn't know it was working on windows. :)
On Tue, 2006-06-13 at 13:50 +0200, LievenQ wrote:
&gt;<i> Hi,
</I>&gt;<i>
</I>&gt;<i> I did get have the glarea working on windows, but I remember it was kind
</I>&gt;<i> of a hassle to do so.
</I>&gt;<i>
</I>&gt;<i> My managed dll was built on linux, with mono, and it did work on windows
</I>&gt;<i> and ms .net (as it should;))
</I>&gt;<i>
</I>&gt;<i> It also needed a native dll (gtkglarea-win32 something). I downloaded the
</I>&gt;<i> source of it, but I couldn't compile it. It seemed to be made for an older
</I>&gt;<i> version of gtk, which had some macros to access the inner win32 handles of
</I>&gt;<i> the gtk windows. I managed to fix most of it, I only couldn't figure out
</I>&gt;<i> how to get the handle of a font, so I just commented that out. I'm not
</I>&gt;<i> using fonts anyway.
</I>&gt;<i>
</I>&gt;<i> I attached the source code of my modified gtkglarea, aswell as the
</I>&gt;<i> binaries.
</I>&gt;<i>
</I>&gt;<i> Greets,
</I>&gt;<i>
</I>&gt;<i> Lieven van der Heide
</I>&gt;<i>
</I>&gt;<i> On Sat, 10 Jun 2006 07:02:46 +0200, BradDaBug &lt;<A HREF="http://lists.ximian.com/mailman/listinfo/gtk-sharp-list">braddabug at comcast.net</A>&gt;
</I>&gt;<i> wrote:
</I>&gt;<i>
</I>&gt;<i> &gt;
</I>&gt;<i> &gt; I've been working on a Gtk# application that uses GtkGLArea, and it works
</I>&gt;<i> &gt; fine on Linux with Mono, but I can't get it to build on Windows. I get an
</I>&gt;<i> &gt; error when I try to build that looks like this:
</I>&gt;<i> &gt;
</I>&gt;<i> &gt; Assembly 'gtkglarea-sharp, Version=0.0.3.0, Culture=neutral,
</I>&gt;<i> &gt; PublicKeyToken=...' uses 'glib-sharp, Version=2.4.0.0, ...' which has a
</I>&gt;<i> &gt; higher version than reference assembly 'glib-sharp, Version=1.0.0.0, ...'
</I>&gt;<i> &gt;
</I>&gt;<i> &gt; I couldn't figure out how to get gtkglarea-sharp to build on Windows so I
</I>&gt;<i> &gt; just copied the version I was using over on my Linux box with Mono, but I
</I>&gt;<i> &gt; guess that won't work. Will gtkglarea-sharp even work on Windows? If
</I>&gt;<i> &gt; not, is
</I>&gt;<i> &gt; there any way to make a Gtk# application that uses OpenGL work on
</I>&gt;<i> &gt; Windows?
</I>&gt;<i> &gt; --
</I>&gt;<i> &gt; View this message in context:
</I>&gt;<i> &gt; <A HREF="http://www.nabble.com/GtkGlArea-and-Windows-t1765324.html#a4805031">http://www.nabble.com/GtkGlArea-and-Windows-t1765324.html#a4805031</A>
</I>&gt;<i> &gt; Sent from the Mono - Gtk# forum at Nabble.com.
</I>&gt;<i> &gt;
</I>&gt;<i> &gt; _______________________________________________
</I>&gt;<i> &gt; Gtk-sharp-list maillist - <A HREF="http://lists.ximian.com/mailman/listinfo/gtk-sharp-list">Gtk-sharp-list at lists.ximian.com</A>
</I>&gt;<i> &gt; <A HREF="http://lists.ximian.com/mailman/listinfo/gtk-sharp-list">http://lists.ximian.com/mailman/listinfo/gtk-sharp-list</A>
</I>&gt;<i> &gt;
</I>&gt;<i>
</I>&gt;<i>
</I>&gt;<i>
</I>&gt;<i> --
</I>&gt;<i> Using Opera's revolutionary e-mail client: <A HREF="http://www.opera.com/mail/">http://www.opera.com/mail/</A>
</I>&gt;<i> _______________________________________________ Gtk-sharp-list maillist - <A HREF="http://lists.ximian.com/mailman/listinfo/gtk-sharp-list">Gtk-sharp-list at lists.ximian.com</A> <A HREF="http://lists.ximian.com/mailman/listinfo/gtk-sharp-list">http://lists.ximian.com/mailman/listinfo/gtk-sharp-list</A>
</I>
</PRE>
<!--endarticle-->
<HR>
<P><UL>
<!--threads-->
<LI>Previous message: <A HREF="007968.html">[Gtk-sharp-list] GtkGlArea and Windows
</A></li>
<LI>Next message: <A HREF="007969.html">[Gtk-sharp-list] GtkGLAreaSharp as an optional package
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#7970">[ date ]</a>
<a href="thread.html#7970">[ thread ]</a>
<a href="subject.html#7970">[ subject ]</a>
<a href="author.html#7970">[ author ]</a>
</LI>
</UL>
<hr>
<a href="http://lists.ximian.com/mailman/listinfo/gtk-sharp-list">More information about the Gtk-sharp-list
mailing list</a><br>
</body></html>