[Mono-list] Project on the Mono Basics-page do not compile

Jacob Rohde rohdester at gmail.com
Mon May 10 07:18:42 EDT 2010


After some fudling around, I found out that I can get it to compile if I
write:


gmcs Hello.cs
-r:/Library/Frameworks/Mono.framework/Versions/Current/lib/mono/gac/gtk-sharp/2.12.0.0__35e10195dab3c99f/gtk-sharp.dll

instead of what is on the Get Started-page.

Is it something with my setup or?

Sadly, when trying to execute the program I get a


Unhandled Exception: System.DllNotFoundException: libgtk-quartz-2.0.0.dylib
  at (wrapper managed-to-native) Gtk.Application:gtk_init (int&,intptr&)
  at Gtk.Application.Init () [0x00000] in <filename unknown>:0 
  at Hello.Main () [0x00000] in <filename unknown>:0 


But hey, at least it compiles....and then it ships :)
-- 
View this message in context: http://mono.1490590.n4.nabble.com/Project-on-the-Mono-Basics-page-do-not-compile-tp2164440p2165267.html
Sent from the Mono - General mailing list archive at Nabble.com.


More information about the Mono-list mailing list