[Gtk-sharp-list] gtk# on mac os x

Dmitriy Kostyuchenko dmitriyk@comcast.net
Thu, 1 Apr 2004 21:27:27 -0700


Check to see if you have a mono config file.  Its default location is 
/etc/mono/config.  If it isn't there, you can find it in one of the 
directories in the mono cvs distribution (it's an XML-looking file that 
maps Windows library file names to Unix library files names).  Once you 
find the config file, open it and make sure that all the .dll files are 
pointing to .dylib files and not .so files (if they are, just change 
the .so extensions to .dylib).  Then try running mono (or mint) again 
with the "--config /etc/mono/config" option.  If it works, add "export 
MONO_CONFIG=/etc/mono/config" to your .profile

I've gotten past that problem, but now I'm getting a "Too many root 
sets" message, which (I believe) is coming from the Boehm garbage 
collector which my mono setup is using.  Next, I'll try recompiling 
mono without a garbage collector.

Good luck!


On Apr 1, 2004, at 5:58 PM, Attila Balogh wrote:

> hello,
>
> after compiling gtk# from cvs, with mono 0.31, i get this message when 
> i try to run button.exe from samples: (gtk# and also the samples 
> compile without errors)
>
> Unhandled Exception: System.DllNotFoundException: 
> libgtk-win32-2.0-0.dll
> #0: 0x00011 throw      in Gtk.Application::gtk_init ([M:0xf0200734] 
> [M:0xf0200730] )
> #1: 0x0000e call       in Gtk.Application::Init ()
> #2: 0x00000 call       in GtkSamples.ButtonApp::Main ([O:0x83ec50] )
>
> i know about the jit problems, but as i understand, using mint those 
> can be avoided, everything will be slower, but continue to run, isn't 
> that right? i did a normal ./autogen.sh && make && make install.
> regards,
>
> Attila
> _______________________________________________
> Gtk-sharp-list maillist  -  Gtk-sharp-list@lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/gtk-sharp-list
>