зеркало из https://github.com/mono/mail-archives.git
157 строки
6.4 KiB
HTML
157 строки
6.4 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
|
|
<HTML>
|
|
<HEAD>
|
|
<TITLE> [Gtk-sharp-list] Missing .dll
|
|
</TITLE>
|
|
<LINK REL="Index" HREF="index.html" >
|
|
<LINK REL="made" HREF="mailto:jared%40wingateweb.com">
|
|
<META NAME="robots" CONTENT="index,nofollow">
|
|
|
|
<LINK REL="Previous" HREF="003947.html">
|
|
<LINK REL="Next" HREF="003956.html">
|
|
</HEAD>
|
|
<BODY BGCOLOR="#ffffff">
|
|
<H1>[Gtk-sharp-list] Missing .dll
|
|
</H1>
|
|
<B>Jared Blake
|
|
</B>
|
|
<A HREF="mailto:jared%40wingateweb.com"
|
|
TITLE="[Gtk-sharp-list] Missing .dll">jared@wingateweb.com
|
|
</A><BR>
|
|
<I>Tue, 27 Apr 2004 09:23:51 -0600</I>
|
|
<P><UL>
|
|
<LI> Previous message: <A HREF="003947.html">[Gtk-sharp-list] glibsharpglue
|
|
</A></li>
|
|
<LI> Next message: <A HREF="003956.html">[Gtk-sharp-list] Missing .dll
|
|
</A></li>
|
|
<LI> <B>Messages sorted by:</B>
|
|
<a href="date.html#3951">[ date ]</a>
|
|
<a href="thread.html#3951">[ thread ]</a>
|
|
<a href="subject.html#3951">[ subject ]</a>
|
|
<a href="author.html#3951">[ author ]</a>
|
|
</LI>
|
|
</UL>
|
|
<HR>
|
|
<!--beginarticle-->
|
|
<PRE>This is a multi-part message in MIME format.
|
|
|
|
------=_NextPart_000_0003_01C42C39.5A861070
|
|
Content-Type: text/plain;
|
|
charset="us-ascii"
|
|
Content-Transfer-Encoding: 7bit
|
|
|
|
I have a simple app that I built in Linux with glade and gtk#. It
|
|
compiles and runs fine on linux using mono. It also compiles on windows
|
|
XP using the following:
|
|
|
|
mcs -r:gtk-sharp -r:glade-sharp Main.cs Product.cs -resource:gui.glade
|
|
|
|
but when I run it by saying mono Main.exe I get the following error:
|
|
|
|
Unhandled Exception: System.DllNotFoundException: libgtk-win32-2.0-0.dll
|
|
in <0x0004a> (wrapper managed-to-native) Gtk.Application:gtk_init (int&,
|
|
intpt&)
|
|
|
|
in <0x000027> Gtk.Application:Init ()
|
|
in <0x00034> GladeApp:.ctor (string[])
|
|
in <0x0001d> GladeApp:Main (string[])
|
|
|
|
The libgtk-win32-2.0-0.dll is in my mono lib directory, as well as in
|
|
the directory where I am trying to run the app. I have installed GTK#
|
|
using the both the normal install and Will Collins' CVS install. Any
|
|
insight on what I am missing?
|
|
|
|
Thanks.
|
|
|
|
Jared Blake
|
|
|
|
|
|
------=_NextPart_000_0003_01C42C39.5A861070
|
|
Content-Type: text/html;
|
|
charset="us-ascii"
|
|
Content-Transfer-Encoding: quoted-printable
|
|
|
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
|
|
<HTML><HEAD>
|
|
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
|
|
charset=3Dus-ascii">
|
|
<TITLE>Message</TITLE>
|
|
|
|
<META content=3D"MSHTML 6.00.2800.1400" name=3DGENERATOR></HEAD>
|
|
<BODY>
|
|
<DIV><SPAN class=3D125101115-27042004><FONT face=3DArial size=3D2>I have =
|
|
a=20
|
|
simple&nbsp;app that I built in Linux with glade and gtk#. It compiles =
|
|
and runs=20
|
|
fine on linux using mono. It also compiles on windows XP&nbsp;using the=20
|
|
following:</FONT></SPAN></DIV>
|
|
<DIV><SPAN class=3D125101115-27042004><FONT face=3DArial=20
|
|
size=3D2></FONT></SPAN>&nbsp;</DIV>
|
|
<DIV><SPAN class=3D125101115-27042004><FONT face=3DArial size=3D2>mcs =
|
|
-r:gtk-sharp=20
|
|
-r:glade-sharp Main.cs Product.cs =
|
|
-resource:gui.glade</FONT></SPAN></DIV>
|
|
<DIV><SPAN class=3D125101115-27042004><FONT face=3DArial=20
|
|
size=3D2></FONT></SPAN>&nbsp;</DIV>
|
|
<DIV><SPAN class=3D125101115-27042004><FONT face=3DArial size=3D2>but =
|
|
when I run it by=20
|
|
saying mono Main.exe I get the following error:</FONT></SPAN></DIV>
|
|
<DIV><SPAN class=3D125101115-27042004><FONT face=3DArial=20
|
|
size=3D2></FONT></SPAN>&nbsp;</DIV>
|
|
<DIV><SPAN class=3D125101115-27042004><FONT face=3DArial =
|
|
size=3D2>Unhandled Exception:=20
|
|
System.DllNotFoundException: libgtk-win32-2.0-0.dll in &lt;0x0004a&gt; =
|
|
(wrapper=20
|
|
managed-to-native) Gtk.Application:gtk_init (int&amp;,=20
|
|
intpt&amp;)</FONT></SPAN></DIV>
|
|
<DIV><SPAN class=3D125101115-27042004><FONT face=3DArial=20
|
|
size=3D2></FONT></SPAN>&nbsp;</DIV>
|
|
<DIV><SPAN class=3D125101115-27042004><FONT face=3DArial size=3D2>in =
|
|
&lt;0x000027&gt;=20
|
|
Gtk.Application:Init ()</FONT></SPAN></DIV>
|
|
<DIV><SPAN class=3D125101115-27042004><FONT face=3DArial size=3D2>in =
|
|
&lt;0x00034&gt;=20
|
|
GladeApp:.ctor (string[])</FONT></SPAN></DIV>
|
|
<DIV><SPAN class=3D125101115-27042004><FONT face=3DArial size=3D2>in =
|
|
&lt;0x0001d&gt;=20
|
|
GladeApp:Main (string[])</FONT></SPAN></DIV>
|
|
<DIV><SPAN class=3D125101115-27042004><FONT face=3DArial=20
|
|
size=3D2></FONT></SPAN>&nbsp;</DIV>
|
|
<DIV><SPAN class=3D125101115-27042004><FONT face=3DArial size=3D2>The=20
|
|
libgtk-win32-2.0-0.dll is in my mono lib directory, as well as in the =
|
|
directory=20
|
|
where I am trying to run the app. I have installed GTK# using the both =
|
|
the=20
|
|
normal install and Will Collins' CVS install. Any insight on what I am=20
|
|
missing?</FONT></SPAN></DIV>
|
|
<DIV><SPAN class=3D125101115-27042004><FONT face=3DArial=20
|
|
size=3D2></FONT></SPAN>&nbsp;</DIV>
|
|
<DIV><SPAN class=3D125101115-27042004><FONT face=3DArial=20
|
|
size=3D2>Thanks.</FONT></SPAN></DIV>
|
|
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
|
|
<DIV><SPAN class=3D125101115-27042004><FONT face=3DArial size=3D2>Jared=20
|
|
Blake</FONT></SPAN></DIV>
|
|
<DIV><SPAN class=3D125101115-27042004><FONT face=3DArial=20
|
|
size=3D2></FONT></SPAN>&nbsp;</DIV></BODY></HTML>
|
|
|
|
------=_NextPart_000_0003_01C42C39.5A861070--
|
|
|
|
|
|
</PRE>
|
|
<!--endarticle-->
|
|
<HR>
|
|
<P><UL>
|
|
<!--threads-->
|
|
<LI> Previous message: <A HREF="003947.html">[Gtk-sharp-list] glibsharpglue
|
|
</A></li>
|
|
<LI> Next message: <A HREF="003956.html">[Gtk-sharp-list] Missing .dll
|
|
</A></li>
|
|
<LI> <B>Messages sorted by:</B>
|
|
<a href="date.html#3951">[ date ]</a>
|
|
<a href="thread.html#3951">[ thread ]</a>
|
|
<a href="subject.html#3951">[ subject ]</a>
|
|
<a href="author.html#3951">[ author ]</a>
|
|
</LI>
|
|
</UL>
|
|
</body></html>
|