[Mono-list] Problem with Gtk# and mcs

Pablo Fischer pablo@pablo.com.mx
Tue, 15 Jun 2004 17:01:39 -0500


--=-Q0BIvmwXDxTLvLdHfe53
Content-Type: text/plain; charset=iso-8859-15
Content-Transfer-Encoding: quoted-printable

Where do you have your gtk*.dll stuff installed?=20

Pablo
El mar, 15-06-2004 a las 16:53, N=E9stor Salceda escribi=F3:
> Hi
>=20
> 	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:
>=20
> 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'
>=20
> And it's repeated with art-sharp.dll, gnome-sharp.dll, glib-sharp.dll,
> pango, gthtml; with gtk-sharp in general.
>=20
> I don't know if it's a problem with MONO_PATH environment variable or
> with Mono GAC.=20
>=20
> If I try to run an application with mono, i have one error, and i think=20
> they are relationed.
>=20
> wizito@sphere:~/mono/source/beta2/monodoc-0.16/browser$ mono browser.exe
>=20
> ** (browser.exe:5889): WARNING **: Could not find assembly gtk-sharp, ref=
erences=20
> from /home/wizito/mono/source/beta2/monodoc-0.16/browser/browser.exe (ass=
emblyref_index=3D2)
>      Major/Minor: 1,0
>      Build:       0,0
>      Token:       35e10195dab3c99f
>=20
>=20
> Unhandled Exception: System.NullReferenceException: Object reference not =
set to an instance of an object
>=20
> Thanks in advice.
>=20
> PD: I'm using Debian sid.
--=20
Pablo Fischer Sandoval (pablo [arroba/at] pablo.com.mx)
Fingerprint:  5973 0F10 543F 54AE 1E41  EC81 0840 A10A 74A4 E5C0
http://www.pablo.com.mx=20
http://www.debianmexico.org

--=-Q0BIvmwXDxTLvLdHfe53
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)

iD8DBQBAz3HCCEChCnSk5cARAj7mAJ94QWvUvc6R3omj9jZxwlKjKOlf8QCeM4I9
0RWUCcMOp270ke21DzRTX2U=
=M5Uq
-----END PGP SIGNATURE-----

--=-Q0BIvmwXDxTLvLdHfe53--