mail-archives/mono-osx/2010-May/002913.html

136 строки
6.6 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<TITLE> [Mono-osx] MonoDevelop and GTK
</TITLE>
<LINK REL="Index" HREF="index.html" >
<LINK REL="made" HREF="mailto:mono-osx%40lists.ximian.com?Subject=%5BMono-osx%5D%20MonoDevelop%20and%20GTK&In-Reply-To=1272752778009-2122417.post%40n4.nabble.com">
<META NAME="robots" CONTENT="index,nofollow">
<META http-equiv="Content-Type" content="text/html; charset=us-ascii">
<LINK REL="Previous" HREF="002909.html">
<LINK REL="Next" HREF="002914.html">
</HEAD>
<BODY BGCOLOR="#ffffff">
<H1>[Mono-osx] MonoDevelop and GTK</H1>
<B>Francisco Figueiredo Jr.</B>
<A HREF="mailto:mono-osx%40lists.ximian.com?Subject=%5BMono-osx%5D%20MonoDevelop%20and%20GTK&In-Reply-To=1272752778009-2122417.post%40n4.nabble.com"
TITLE="[Mono-osx] MonoDevelop and GTK">francisco at npgsql.org
</A><BR>
<I>Mon May 3 19:15:27 EDT 2010</I>
<P><UL>
<LI>Previous message: <A HREF="002909.html">[Mono-osx] MonoDevelop and GTK
</A></li>
<LI>Next message: <A HREF="002914.html">[Mono-osx] MonoDevelop and GTK
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#2913">[ date ]</a>
<a href="thread.html#2913">[ thread ]</a>
<a href="subject.html#2913">[ subject ]</a>
<a href="author.html#2913">[ author ]</a>
</LI>
</UL>
<HR>
<!--beginarticle-->
<PRE>I'm glad you got it working.
Unfortunately, I don't make much glade programming and I don't know if
this would be a bug of osx version or not.
Sorry for not being very much helpful.
On Sat, May 1, 2010 at 19:26, bmahf &lt;<A HREF="http://lists.ximian.com/mailman/listinfo/mono-osx">bmahf at hotmail.com</A>&gt; wrote:
&gt;<i>
</I>&gt;<i> Hey Francisco, thanks for the reply. &#160;I checked the MonoDevelop build output
</I>&gt;<i> and it is the following:
</I>&gt;<i>
</I>&gt;<i> ----------------------------------------------------------------------------------------------------------------
</I>&gt;<i> Building Solution FirstGladeProject
</I>&gt;<i>
</I>&gt;<i> Building: FirstGladeProject (Debug|x86)
</I>&gt;<i> Performing main compilation...
</I>&gt;<i>
</I>&gt;<i> /Library/Frameworks/Mono.framework/Versions/2.6.3/bin/gmcs /noconfig
</I>&gt;<i> &quot;/out:/Users/bruce/Projects/Mono/FirstGladeProject/FirstGladeProject/bin/Debug/FirstGladeProject.exe&quot;
</I>&gt;<i> &quot;/r:System.dll&quot;
</I>&gt;<i> &quot;/r:/Library/Frameworks/Mono.framework/Versions/2.6.3/lib/mono/gtk-sharp-2.0/gdk-sharp.dll&quot;
</I>&gt;<i> &quot;/r:/Library/Frameworks/Mono.framework/Versions/2.6.3/lib/mono/gtk-sharp-2.0/glib-sharp.dll&quot;
</I>&gt;<i> &quot;/r:/Library/Frameworks/Mono.framework/Versions/2.6.3/lib/mono/gtk-sharp-2.0/glade-sharp.dll&quot;
</I>&gt;<i> &quot;/r:/Library/Frameworks/Mono.framework/Versions/2.6.3/lib/mono/gtk-sharp-2.0/pango-sharp.dll&quot;
</I>&gt;<i> &quot;/r:/Library/Frameworks/Mono.framework/Versions/2.6.3/lib/mono/gtk-sharp-2.0/atk-sharp.dll&quot;
</I>&gt;<i> &quot;/r:/Library/Frameworks/Mono.framework/Versions/2.6.3/lib/mono/gtk-sharp-2.0/gtk-sharp.dll&quot;
</I>&gt;<i> /nologo /warn:4 /debug:+ /debug:full /optimize- /codepage:utf8 /platform:x86
</I>&gt;<i> &quot;/define:DEBUG&quot; &#160;/t:winexe
</I>&gt;<i> &quot;/res:/Users/bruce/Projects/Mono/FirstGladeProject/FirstGladeProject/gui.glade,FirstGladeProject.gui.glade&quot;
</I>&gt;<i> &quot;/Users/bruce/Projects/Mono/FirstGladeProject/FirstGladeProject/Main.cs&quot;
</I>&gt;<i> &quot;/Users/bruce/Projects/Mono/FirstGladeProject/FirstGladeProject/AssemblyInfo.cs&quot;
</I>&gt;<i>
</I>&gt;<i> Build complete -- 0 errors, 0 warnings
</I>&gt;<i>
</I>&gt;<i> ---------------------- Done ----------------------
</I>&gt;<i>
</I>&gt;<i> Build successful.
</I>&gt;<i> ----------------------------------------------------------------------------------------------------------------
</I>&gt;<i>
</I>&gt;<i> No mention of a -resource option. &#160;I right clicked the gui.glade file in my
</I>&gt;<i> solution browser and it the Build Action item showed that it was set to
</I>&gt;<i> &quot;Embed as resource&quot;. &#160;I changed that to &quot;Resource&quot; and again it gives the
</I>&gt;<i> same runtime error and the build output shows no -resource option.
</I>&gt;<i>
</I>&gt;<i> So then I went to Project -&gt; &lt;MyProject&gt;Options -&gt; Build -&gt; Compiler, and
</I>&gt;<i> added the text &quot;-resource:gui.glade&quot;, compiled and ran, and it worked just
</I>&gt;<i> fine. &#160;Thanks for the help on that.
</I>&gt;<i>
</I>&gt;<i> The only thing that remains is a question as to why, even though the
</I>&gt;<i> gui.glade file in the solution browser had been set (when right clicking and
</I>&gt;<i> choosing Build Action) to &quot;Embed as resource&quot;, it wouldn't have just worked.
</I>&gt;<i> And then my changing that option to &quot;Resource&quot; didn't make a difference.
</I>&gt;<i> Why would I need to explicitly add the -resource option. &#160;I am assuming that
</I>&gt;<i> this is a bug on the MacOS version of Mono. &#160;What do you think?
</I>&gt;<i>
</I>&gt;<i> Thanks again...
</I>&gt;<i> Bruce
</I>&gt;<i>
</I>&gt;<i> --
</I>&gt;<i> View this message in context: <A HREF="http://mono.1490590.n4.nabble.com/MonoDevelop-and-GTK-tp1548988p2122417.html">http://mono.1490590.n4.nabble.com/MonoDevelop-and-GTK-tp1548988p2122417.html</A>
</I>&gt;<i> Sent from the Mono - OSX mailing list archive at Nabble.com.
</I>&gt;<i> _______________________________________________
</I>&gt;<i> Mono-osx mailing list
</I>&gt;<i> <A HREF="http://lists.ximian.com/mailman/listinfo/mono-osx">Mono-osx at lists.ximian.com</A>
</I>&gt;<i> <A HREF="http://lists.ximian.com/mailman/listinfo/mono-osx">http://lists.ximian.com/mailman/listinfo/mono-osx</A>
</I>&gt;<i>
</I>
--
Regards,
Francisco Figueiredo Jr.
Npgsql Lead Developer
<A HREF="http://www.npgsql.org">http://www.npgsql.org</A>
<A HREF="http://fxjr.blogspot.com">http://fxjr.blogspot.com</A>
<A HREF="http://twitter.com/franciscojunior">http://twitter.com/franciscojunior</A>
</PRE>
<!--endarticle-->
<HR>
<P><UL>
<!--threads-->
<LI>Previous message: <A HREF="002909.html">[Mono-osx] MonoDevelop and GTK
</A></li>
<LI>Next message: <A HREF="002914.html">[Mono-osx] MonoDevelop and GTK
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#2913">[ date ]</a>
<a href="thread.html#2913">[ thread ]</a>
<a href="subject.html#2913">[ subject ]</a>
<a href="author.html#2913">[ author ]</a>
</LI>
</UL>
<hr>
<a href="http://lists.ximian.com/mailman/listinfo/mono-osx">More information about the Mono-osx
mailing list</a><br>
</body></html>