зеркало из https://github.com/mono/mail-archives.git
136 строки
6.6 KiB
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 <<A HREF="http://lists.ximian.com/mailman/listinfo/mono-osx">bmahf at hotmail.com</A>> wrote:
|
|
><i>
|
|
</I>><i> Hey Francisco, thanks for the reply.  I checked the MonoDevelop build output
|
|
</I>><i> and it is the following:
|
|
</I>><i>
|
|
</I>><i> ----------------------------------------------------------------------------------------------------------------
|
|
</I>><i> Building Solution FirstGladeProject
|
|
</I>><i>
|
|
</I>><i> Building: FirstGladeProject (Debug|x86)
|
|
</I>><i> Performing main compilation...
|
|
</I>><i>
|
|
</I>><i> /Library/Frameworks/Mono.framework/Versions/2.6.3/bin/gmcs /noconfig
|
|
</I>><i> "/out:/Users/bruce/Projects/Mono/FirstGladeProject/FirstGladeProject/bin/Debug/FirstGladeProject.exe"
|
|
</I>><i> "/r:System.dll"
|
|
</I>><i> "/r:/Library/Frameworks/Mono.framework/Versions/2.6.3/lib/mono/gtk-sharp-2.0/gdk-sharp.dll"
|
|
</I>><i> "/r:/Library/Frameworks/Mono.framework/Versions/2.6.3/lib/mono/gtk-sharp-2.0/glib-sharp.dll"
|
|
</I>><i> "/r:/Library/Frameworks/Mono.framework/Versions/2.6.3/lib/mono/gtk-sharp-2.0/glade-sharp.dll"
|
|
</I>><i> "/r:/Library/Frameworks/Mono.framework/Versions/2.6.3/lib/mono/gtk-sharp-2.0/pango-sharp.dll"
|
|
</I>><i> "/r:/Library/Frameworks/Mono.framework/Versions/2.6.3/lib/mono/gtk-sharp-2.0/atk-sharp.dll"
|
|
</I>><i> "/r:/Library/Frameworks/Mono.framework/Versions/2.6.3/lib/mono/gtk-sharp-2.0/gtk-sharp.dll"
|
|
</I>><i> /nologo /warn:4 /debug:+ /debug:full /optimize- /codepage:utf8 /platform:x86
|
|
</I>><i> "/define:DEBUG"  /t:winexe
|
|
</I>><i> "/res:/Users/bruce/Projects/Mono/FirstGladeProject/FirstGladeProject/gui.glade,FirstGladeProject.gui.glade"
|
|
</I>><i> "/Users/bruce/Projects/Mono/FirstGladeProject/FirstGladeProject/Main.cs"
|
|
</I>><i> "/Users/bruce/Projects/Mono/FirstGladeProject/FirstGladeProject/AssemblyInfo.cs"
|
|
</I>><i>
|
|
</I>><i> Build complete -- 0 errors, 0 warnings
|
|
</I>><i>
|
|
</I>><i> ---------------------- Done ----------------------
|
|
</I>><i>
|
|
</I>><i> Build successful.
|
|
</I>><i> ----------------------------------------------------------------------------------------------------------------
|
|
</I>><i>
|
|
</I>><i> No mention of a -resource option.  I right clicked the gui.glade file in my
|
|
</I>><i> solution browser and it the Build Action item showed that it was set to
|
|
</I>><i> "Embed as resource".  I changed that to "Resource" and again it gives the
|
|
</I>><i> same runtime error and the build output shows no -resource option.
|
|
</I>><i>
|
|
</I>><i> So then I went to Project -> <MyProject>Options -> Build -> Compiler, and
|
|
</I>><i> added the text "-resource:gui.glade", compiled and ran, and it worked just
|
|
</I>><i> fine.  Thanks for the help on that.
|
|
</I>><i>
|
|
</I>><i> The only thing that remains is a question as to why, even though the
|
|
</I>><i> gui.glade file in the solution browser had been set (when right clicking and
|
|
</I>><i> choosing Build Action) to "Embed as resource", it wouldn't have just worked.
|
|
</I>><i> And then my changing that option to "Resource" didn't make a difference.
|
|
</I>><i> Why would I need to explicitly add the -resource option.  I am assuming that
|
|
</I>><i> this is a bug on the MacOS version of Mono.  What do you think?
|
|
</I>><i>
|
|
</I>><i> Thanks again...
|
|
</I>><i> Bruce
|
|
</I>><i>
|
|
</I>><i> --
|
|
</I>><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>><i> Sent from the Mono - OSX mailing list archive at Nabble.com.
|
|
</I>><i> _______________________________________________
|
|
</I>><i> Mono-osx mailing list
|
|
</I>><i> <A HREF="http://lists.ximian.com/mailman/listinfo/mono-osx">Mono-osx at lists.ximian.com</A>
|
|
</I>><i> <A HREF="http://lists.ximian.com/mailman/listinfo/mono-osx">http://lists.ximian.com/mailman/listinfo/mono-osx</A>
|
|
</I>><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>
|