[Mono-osx] MonoDevelop and GTK

Francisco Figueiredo Jr. francisco at npgsql.org
Mon May 3 19:15:27 EDT 2010


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



-- 
Regards,

Francisco Figueiredo Jr.
Npgsql Lead Developer
http://www.npgsql.org
http://fxjr.blogspot.com
http://twitter.com/franciscojunior


More information about the Mono-osx mailing list