[Mono-list] Getting started with mono

Gonzalo Paniagua Javier gonzalo@ximian.com
28 Apr 2003 14:40:39 +0200


El dom, 27 de 04 de 2003 a las 23:12, Philip Van Hoof escribió:
> Eh.. well not everything is working .. I got this compilation-error
> while compiling gtk-sharp :
> 
> mcs \
>     --unsafe\
>     --target library \
>     -L ../glib \
>     -L ../pango \
>     -L ../atk \
>     -L ../gdk \
>     -L ../gtk \
>     -L ../art \
>     -r glib-sharp -r pango-sharp -r atk-sharp -r gdk-sharp -r gtk-sharp
> -r art-sharp \
>     -o rsvg-sharp.dll \
>     --recurse '*.cs'
> ./generated/RsvgSharp.SizeFuncNative.cs(25) error CS1501: Can not find a
> constructor for this argument list
> ./generated/RsvgSharp.SizeFuncNative.cs(15) error CS0103: The name
> `RemoveIfNotAlive' could not be found in `RsvgSharp.SizeFuncWrapper'
> Compilation failed: 2 error(s), 0 warnings
> make[1]: *** [rsvg-sharp.dll] Error 1
> make[1]: Leaving directory `/home/freax/cvs/gtk-sharp/rsvg'
> make: *** [binding] Error 1
> [freax@pluisje gtk-sharp]$

Mmm. That's probably because mcs is not loading glib-sharp.dll from
../glib. May be (cd gtk-sharp/glib && make install) does the trick.

-Gonzalo