[Gtk-sharp-list] Problem compiling monodoc
Ravindra Kumar
rkumar@novell.com
Tue, 18 Nov 2003 11:06:52 +0530
Hi all,
I'm new to this list. I was trying to build monodoc and for that I need
to build GTK#. Top lever makefile was not building gnome-sharp.dll on
its own. I built that from gnome directory. GTK# also did not install
all the dlls itself. I had to copy two of them(glade and gnome dlls)
myself. After building and installing GTK#, 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