[Gtk-sharp-list] Segmentation faults
21 Nov 2002 09:56:26 -0600
On Thu, 2002-11-21 at 06:18, Joe Mozelesky wrote:
> I keep getting segmentation faults whenever I try to run several of the
> sample applications in the "sample" folder of the CVS tree. I can
> compile HelloWorld.cs for instance, but when I run "mint HelloWorld.exe"
If you are running cvs gtk-sharp with mono-0.16 this is a "known" issue.
For some reason unknown to me, gtk-sharp cvs currently requires mono/mcs
> Also, on many of the samples I get an error when trying to compile
> telling me it cannot find the type Size. So in the case of Menu.cs for
> instance I just commented out the line setting the default window size,
It sounds like you are ommitting a -r System.Drawing or something. If
you look at the mcs commands in the sample Makefile you will see all the
refs required to build the samples.
> How can I get rid of the seg faults?
> The Mono-0.16 RPM installs everything in /usr. I have Gnome/Gtk 2.0
> libs in /opt/garnome/lib.
Make sure you have LD_LIBRARY_PATH set to include /opt/garnome/lib or
mono won't be able to find the native libs. If your Gtk# dll's are
installed anywhere but the prefix of your mono installation, you will
also need an LD_LIBRARY_PATH and a MONO_PATH reference to that
Mike Kestner <firstname.lastname@example.org>