[Gtk-sharp-list] Compiling on Mac OS X

Robert Shade rshade@dvsconsulting.com
Sun, 21 Mar 2004 21:26:13 -0500 (EST)

I've seen this if the JIT is used to run the complier instead of the
interpreter. (JIT doesn't yet have full support for exceptions)  Look at
/usr/local/bin/mcs and make sure it is using mint instead of mono.


> I've compiled and installed Mono 0.31 on my Mac (OS X 10.3.3) and now
> I'm trying to compile GTK#.  I checked out the source code from CVS,
> used Fink to install some of dependencies (e.g. gtk+2 and gtk+2-dev),
> found out I needed to make sure my mono.pc file was in
> /sw/lib/pkgconfig, and successfully ran autogen.sh.  However, when I
> run make I'm getting an error (here's the tail of the output):
> Making all in gtk
> Making all in .
> /usr/local/bin/mcs --unsafe /out:gtk-sharp.dll /target:library
> /r:../glib/glib-sharp.dll /r:../pango/pango-sharp.dll
> /r:../atk/atk-sharp.dll /r:../gdk/gdk-sharp.dll ./Application.cs
> ./ITreeNode.cs ./NodeStore.cs ./ThreadNotify.cs ./TreeNodeAttribute.cs
> ./TreeNode.cs ./TreeNodeValueAttribute.cs generated/*.cs
> Unhandled Exception: System.NullReferenceException: Object reference
> not set to an instance of an object
> make[3]: *** [gtk-sharp.dll] Error 1
> make[2]: *** [all-recursive] Error 1
> make[1]: *** [all-recursive] Error 1
> make: *** [all] Error 2
> Unfortunately, that's not much information for me to go on, and I'm not
> sure what the problem is.  Can anyone point me in the right direction?
> _______________________________________________
> Gtk-sharp-list maillist  -  Gtk-sharp-list@lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/gtk-sharp-list