[Mono-osx] Trouble with MonoDevlop 2.2.2 - Won't compile Samples

Peter Loron peterl at standingwave.org
Thu Apr 29 10:56:05 EDT 2010


I've installed Mono 2.6.4 and MonoDevelop 2.2.2 on my MacOS X 10.6.3 machine. I open MonoDevelop and create a new solution from  the Gnome sample.

When I try to build it, I get the errors shown below. Can anybody point out where I went stupid and forgot to do something during the install of the tools? Thanks.

-Pete
-----------------------------------------------


Building: foo2 (Debug|x86)
Performing main compilation...
/Library/Frameworks/Mono.framework/Versions/2.6.4/bin/gmcs /noconfig "/out:/Users/peterl/Projects/foo2/foo2/bin/Debug/foo2.exe" "/r:System.dll" "/r:/Library/Frameworks/Mono.framework/Versions/2.6.4/lib/mono/gtk-sharp-2.0/gtk-sharp.dll" "/r:/Library/Frameworks/Mono.framework/Versions/2.6.4/lib/mono/gtk-sharp-2.0/glib-sharp.dll" "/r:/Library/Frameworks/Mono.framework/Versions/2.6.4/lib/mono/gtk-sharp-2.0/gdk-sharp.dll" "/r:/Library/Frameworks/Mono.framework/Versions/2.6.4/lib/mono/gtk-sharp-2.0/glade-sharp.dll" "/r:/Library/Frameworks/Mono.framework/Versions/2.6.4/lib/mono/gtk-sharp-2.0/pango-sharp.dll" "/r:/Library/Frameworks/Mono.framework/Versions/2.6.4/lib/mono/gtk-sharp-2.0/atk-sharp.dll" /nologo /warn:4 /debug:+ /debug:full /optimize- /codepage:utf8 /platform:x86 "/define:DEBUG"  /t:winexe "/Users/peterl/Projects/foo2/foo2/Main.cs" "/Users/peterl/Projects/foo2/foo2/MyProgram.cs" "/Users/peterl/Projects/foo2/foo2/AssemblyInfo.cs" 
Compilation failed: 2 error(s), 0 warnings

/Users/peterl/Projects/foo2/foo2/MyProgram.cs(3,7): error CS0246: The type or namespace name `Gnome' could not be found. Are you missing a using directive or an assembly reference?
/Users/peterl/Projects/foo2/foo2/MyProgram.cs(3,7): error CS0246: The type or namespace name `Gnome' could not be found. Are you missing a using directive or an assembly reference?


Build complete -- 2 errors, 6 warnings

---------------------- Done ----------------------

Assembly 'gnome-sharp, Version=2.4.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f' not found. Make sure that the assembly exists in disk. If the reference is required to build the project you may get compilation errors.
Reference 'gtk-sharp, Version=2.4.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f' not found on system. Using 'gtk-sharp, Version=2.12.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f instead.
Reference 'gdk-sharp, Version=2.4.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f' not found on system. Using 'gdk-sharp, Version=2.12.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f instead.
Reference 'glib-sharp, Version=2.4.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f' not found on system. Using 'glib-sharp, Version=2.12.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f instead.
Reference 'glade-sharp, Version=2.4.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f' not found on system. Using 'glade-sharp, Version=2.12.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f instead.
Reference 'pango-sharp, Version=2.4.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f' not found on system. Using 'pango-sharp, Version=2.12.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f instead.
Build: 2 errors, 6 warnings


More information about the Mono-osx mailing list