[Gtk-sharp-list] Compiling Gda/Gnome/Gnomedb w/ cygwin

Joe Mozelesky jmozelesky@netcarrier.com
Mon, 18 Nov 2002 08:36:23 -0500


Hi,

Yesterday I grabbed the latest gtksharp out of anonymous CVS.  I was
able to build most of it on cygwin on Windows 2000, including
gda-sharp.dll, gst-sharp.dll.

Is it possible to build art, glue, gnome, and gnomedb?  I noticed for
instance there is a makefile.win32 in gnome.  When I attempt to compile
it I get these errors:

for i in gnome; do				\
	(cd $i;
CSC="/cygdrive/C/WINNT/microsoft.net/framework/v1.0.3705/csc.exe
/d:WIN32" make -f makefile.win32) || exit 1;\
done;
make[1]: Entering directory `/cygdrive/f/monocvs/gtk-sharp/gnome'
/cygdrive/C/WINNT/microsoft.net/framework/v1.0.3705/csc.exe /d:WIN32
/unsafe /target:library /r:../glib/glib-sharp.dll
/r:../pango/pango-sharp.dll /r:../atk/atk-sharp.dll
/r:../gdk/gdk-sharp.dll /r:../gtk/gtk-sharp.dll /out:gnome-sharp.dll
/recurse:*.cs
Microsoft (R) Visual C# .NET Compiler version 7.00.9466
for Microsoft (R) .NET Framework version 1.0.3705
Copyright (C) Microsoft Corporation 2001. All rights reserved.

CanvasProxy.cs(14,35): error CS0234: The type or namespace name
'CanvasItem' does not exist in the class or namespace 'Gnome' (are you
missing an assembly reference?)
voidObjectAffineSVPintSignal.cs(9,84): error CS0246: The type or
namespace name 'Art' could not be found (are you missing a using
directive or an assembly reference?)
voidObjectAffineSVPintSignal.cs(15,84): error CS0246: The type or
namespace name 'Art' could not be found (are you missing a using
directive or an assembly reference?)
Modules.cs(13,17): error CS0246: The type or namespace name 'ModuleInfo'
could not be found (are you missing a using directive or an assembly
reference?)
Modules.cs(19,17): error CS0246: The type or namespace name 'ModuleInfo'
could not be found (are you missing a using directive or an assembly
reference?)
GtkSharp.UpdateHandler.cs(33,10): error CS0246: The type or namespace
name 'Art' could not be found (are you missing a using directive or an
assembly reference?)
GtkSharp.RenderHandler.cs(27,16): error CS0234: The type or namespace
name 'CanvasBuf' does not exist in the class or namespace
'GtkSharp.Gnome' (are you missing an assembly reference?)
GtkSharp.PointHandler.cs(51,16): error CS0234: The type or namespace
name 'CanvasItem' does not exist in the class or namespace
'GtkSharp.Gnome' (are you missing an assembly reference?)
make[1]: Leaving directory `/cygdrive/f/monocvs/gtk-sharp/gnome'


It looks like I need to build art first.  But there is nothing in
gtk-sharp/art to build.  When I attempt to build glue I get this output:

for i in glue; do                               \
        (cd $i;
CSC="/cygdrive/C/WINNT/microsoft.net/framework/v1.0.3705/csc.exe
 /d:WIN32" make -f makefile.win32) || exit 1;\
done;
make[1]: Entering directory `/cygdrive/f/monocvs/gtk-sharp/glue'
gcc -b i686-pc-mingw32 -c  `pkg-config --cflags gtk+-win32-2.0` -o
adjustment.o
adjustment.c
gcc: installation problem, cannot exec `cc1': No such file or directory
make[1]: *** [adjustment.o] Error 1
make[1]: Leaving directory `/cygdrive/f/monocvs/gtk-sharp/glue'
make: *** [windows] Error 1



I was able to build gda, gst, and glade, but I'm assuming these
reference DLL's that must be installed, like wGlade?

Thanks,
Joe