[Mono-devel-list] Problem compiling monodoc

Ravindra Kumar rkumar at novell.com
Tue Nov 18 01:03:17 EST 2003


Hi,
I'm not able to build monodoc. I have latest (17th Nov) GTK# and
monodoc from CVS. I'm getting
following errors:

^^^^^^^^^^^^^^^^^^^^^
Making all in browser
make[1]: Entering directory `/home/ravi/MONO/src/monodoc/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  -r:gtkhtml-sharp.dll
-r:gtk-sharp.dll -r:glade-sharp.dll -r:glib-sharp.dll
-r:pango-sharp.dll
-r:gdk-sharp.dll -r:atk-sharp.dll  -r:System.Web.Services
-r:monodoc.dll
/browser.cs(160) error CS1502: The best overloaded match for method '
Gdk.Pixbuf..ctor (System.IntPtr)' has some invalid arguments
/browser.cs(160) error CS1503: Argument 0: Cannot convert from
'System.IO.Stream' to 'System.IntPtr'
/browser.cs(160) error CS1501: No overload for method `Gdk.Pixbuf'
takes `1' arguments
/browser.cs(160) error CS1501: New invocation: Can not find a
constructor in `Gdk.Pixbuf' for this argument list
/browser.cs(547) error CS1502: The best overloaded match for method '
Gdk.Pixbuf..ctor (byte[], bool)' has some invalid arguments
/browser.cs(547) error CS1503: Argument 1: Cannot convert from
'string'
to 'bool'
/browser.cs(547) error CS1501: No overload for method `Gdk.Pixbuf'
takes `2' arguments
/browser.cs(547) error CS1501: New invocation: Can not find a
constructor in `Gdk.Pixbuf' for this argument list
Compilation failed: 8 error(s), 0 warnings
make[1]: *** [browser.exe] Error 1
make[1]: Leaving directory `/home/ravi/MONO/src/monodoc/browser'
make: *** [all-recursive] Error 1
^^^^^^^^^^^^^^^

Looks like GTK# code and monodoc code are not in sync.

Thanks in advance,
- Ravi



More information about the Mono-devel-list mailing list