[Mono-list] Problem with Gtk# and mcs
Néstor Salceda
wizito@gentelibre.org
Tue, 15 Jun 2004 23:53:00 +0200
--=-eSkDOmqY+nnNNK0Zsirc
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
Hi
I have one problem when I compile one application developed using gtk#.
I use, mono, mcs and gtk-sharp from cvs, all of them compiles without
problems, but when I try to compile for example monodoc i have the
following problem:
wizito@sphere:~/mono/source/beta2/monodoc-0.16$ make
Making all in browser
make[1]: Entering directory `/home/wizito/mono/source/beta2/monodoc-
0.16/browser'
mcs -debug -out:browser.exe ./browser.cs ./list.cs ./elabel.cs ./
history.cs ./Contributions.cs ./XmlNodeWriter.cs -resource:./../monodoc.
png,monodoc.png -resource:./browser.glade,browser.glade -pkg:gtkhtml-
sharp -pkg:glade-sharp -r:System.Web.Services -r:./monodoc.dll
error CS0006: Cannot find assembly `/usr/local/lib/mono/gtk-sharp/
gtkhtml-sharp.dll'
And it's repeated with art-sharp.dll, gnome-sharp.dll, glib-sharp.dll,
pango, gthtml; with gtk-sharp in general.
I don't know if it's a problem with MONO_PATH environment variable or
with Mono GAC.=20
If I try to run an application with mono, i have one error, and i think=20
they are relationed.
wizito@sphere:~/mono/source/beta2/monodoc-0.16/browser$ mono browser.exe
** (browser.exe:5889): WARNING **: Could not find assembly gtk-sharp, refer=
ences=20
from /home/wizito/mono/source/beta2/monodoc-0.16/browser/browser.exe (assem=
blyref_index=3D2)
Major/Minor: 1,0
Build: 0,0
Token: 35e10195dab3c99f
Unhandled Exception: System.NullReferenceException: Object reference not se=
t to an instance of an object
Thanks in advice.
PD: I'm using Debian sid.
--=20
N=C3=A9stor Salceda <wizito@gentelibre.org>
--=-eSkDOmqY+nnNNK0Zsirc
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: Esta parte del mensaje =?ISO-8859-1?Q?est=E1?= firmada
digitalmente
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
iD8DBQBAz2+7nwyMdifgIMwRAhS3AJ9bKxhj5csEc3b6buBgI0WLOQR92ACghatk
udcT7O2rwrq9ZR7ws3Gn0ro=
=B0C8
-----END PGP SIGNATURE-----
--=-eSkDOmqY+nnNNK0Zsirc--