[Mono-osx] MonoDevelop and GTK

lorek david.lorek at gmail.com
Mon Mar 9 10:58:35 EDT 2009


Hi,

I'm having this same problem.  I'm using Tiger on a PowerPC mac.

So, I went to the download page, chose the Mac OS X platform, downloaded the
three items (Mono Framework, MonoDevelop, and Cocoa#), and went to work.

I first installed the framework.  Next, I installed MonoDevelop.  I also
extracted Cocoa# source.

When I run MonoDevelop I follow these steps: 1) Choose File/New Solution, 2)
Choose the template C#/Samples/Glade# 2.0 Project, 3) Provide a name an step
through the wizard using all defaults, 4) Attempt to build the project.

At this point I get two errors that begin "The type or namespace name 'Gtk'
could not be found..." and "The type or namespace name 'Glade' could not be
found.

If I explicitly add the glade-sharp.dll and gtk-sharp.dll assemblies then
the code will compile.  However, when I choose to run the application I get
a runtime error: System.DllNotFoundException: libgtk-win32-2.0-0.dll.

I am trying to do as little as possible just as a proof-of-concept that this
works on the Mac.  Is there another IDE that I should be using?  Is the
problem with the assembly packages?

Thanks for any help you can provide.

David


Geoff Norton-2 wrote:
> 
> 
> On 28-Feb-08, at 6:21 PM, Andrew Brehm wrote:
> 
>> It's a template in MonoDevelop. In C# Samples, I believe.
>>
> 
> Please send me a screenshot.
> 
>> What's the best way to get started with a project that can run on  
>> Mac OS?
> 
> Any project that doesn't use gnome# (asuming you want gtk#) should be  
> fine.  Or any other kind of project.
> 
> -g
> 
> _______________________________________________
> Mono-osx mailing list
> Mono-osx at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-osx
> 
> 

-- 
View this message in context: http://www.nabble.com/MonoDevelop-and-GTK-tp15747337p22413432.html
Sent from the Mono - OSX mailing list archive at Nabble.com.



More information about the Mono-osx mailing list