[Cocoa-sharp] Problem with SimpleTutorial

Jo Vermeulen jo.vermeulen at gmail.com
Thu Mar 8 11:06:10 EST 2007


Hello all,

I am trying the SimpleTutorial from the Wiki:

http://www.cocoasharp.org/cocoaSharp/default.aspx/CocoaSharp/SimpleTutorial.html

Unfortunately I'm having some problems:

mcs -t:exe -out:SimpleTutorial.exe -pkg:cocoa-sharp *.cs
applicationcontroller.cs(4,7): error CS0246: The type or namespace
name `Apple' could not be found. Are you missing a using directive or
an assembly reference?
applicationcontroller.cs(4,1): error CS0246: The type or namespace
name `Apple.Foundation' could not be found. Are you missing a using
directive or an assembly reference?
applicationcontroller.cs(5,7): error CS0246: The type or namespace
name `Apple' could not be found. Are you missing a using directive or
an assembly reference?
applicationcontroller.cs(5,1): error CS0246: The type or namespace
name `Apple.AppKit' could not be found. Are you missing a using
directive or an assembly reference?
Compilation failed: 4 error(s), 0 warnings
make: *** [test] Error 1

The weird thing is that libCocoaSharpGlue.dylib cannot be found on my
system. At least not at the location
-r:/Library/Frameworks/Mono.framework/Versions/Current/lib/libCocoaSharpGlue.dylib.

Any ideas?

Thanks!

-- Jo Vermeulen


More information about the Cocoa-sharp mailing list