[Mono-list] GLib Critical Error at attemting to embed Mono (and other minor troubles).

Robert Jordan robertj at gmx.net
Mon Aug 24 08:43:37 EDT 2009


Lucyberad wrote:
> I've made some further test. This time on Unix system (fresh install with
> mono --version producing 2.4.2.3).
> After checking my helloworld.exe is launching well (which is the case),
> updating all path: mono_set_dirs("/usr/etc", "usr/lib") and my const char*
> file.

It's mono_set_dirs (libdir, etcdir), so the correct invocation is

	mono_set_dirs("/usr/lib", "/usr/etc");

Also, you've forgot the slash in front of "usr/lib".

Robert



More information about the Mono-list mailing list