[Gtk-sharp-list] Error While building GTK# on CYgwin

Rohit K Gupta rohitsmailbox@hotmail.com
Thu, 15 Jul 2004 10:02:18 +0530


Hi there,
i tried your steps but somehow i am getting same error again
i am putting the error here

$ make -f makefile.win32
for i in generator parser glib pango atk gdk gtk glade; do              \
        (cd $i;
CSC="/cygdrive/C/WINNT/Microsoft.NET/Framework/v1.1.4322/csc.exe
 /d:WIN32" make -f makefile.win32) || exit 1;\
done;
make[1]: Entering directory `/cygdrive/c/temp/gtk#/gtk-sharp-1.0/generator'
/cygdrive/C/WINNT/Microsoft.NET/Framework/v1.1.4322/csc.exe /d:WIN32 /unsafe
/ou
t:codegen.exe *.cs
Microsoft (R) Visual C# .NET Compiler version 7.10.3052.4
for Microsoft (R) .NET Framework version 1.1.4322
Copyright (C) Microsoft Corporation 2001-2002. All rights reserved.

Method.cs(30,15): warning CS0659: 'GtkSharp.Generation.Method' overrides
        Object.Equals(object o) but does not override Object.GetHashCode()
Field.cs(53,7): warning CS0168: The variable 'e' is declared but never used
TimeTGen.cs(29,10): warning CS0169: The private field
        'GtkSharp.Generation.TimeTGen.ctype' is never used
TimeTGen.cs(30,10): warning CS0169: The private field
        'GtkSharp.Generation.TimeTGen.type' is never used
TimeTGen.cs(31,10): warning CS0169: The private field
        'GtkSharp.Generation.TimeTGen.ns' is never used
make[1]: Leaving directory `/cygdrive/c/temp/gtk#/gtk-sharp-1.0/generator'
make[1]: Entering directory `/cygdrive/c/temp/gtk#/gtk-sharp-1.0/parser'
/cygdrive/C/WINNT/Microsoft.NET/Framework/v1.1.4322/csc.exe /d:WIN32 /unsafe
/ou
t:gapi-fixup.exe gapi-fixup.cs
Microsoft (R) Visual C# .NET Compiler version 7.10.3052.4
for Microsoft (R) .NET Framework version 1.1.4322
Copyright (C) Microsoft Corporation 2001-2002. All rights reserved.

make[1]: Leaving directory `/cygdrive/c/temp/gtk#/gtk-sharp-1.0/parser'
make[1]: Entering directory `/cygdrive/c/temp/gtk#/gtk-sharp-1.0/glib'
/cygdrive/C/WINNT/Microsoft.NET/Framework/v1.1.4322/csc.exe /d:WIN32 /unsafe
/no
warn:0660,0661 /target:library /out:glib-sharp.dll /recurse:*.cs
Microsoft (R) Visual C# .NET Compiler version 7.10.3052.4
for Microsoft (R) .NET Framework version 1.1.4322
Copyright (C) Microsoft Corporation 2001-2002. All rights reserved.

cd glue && make -f makefile.win32
make[2]: Entering directory `/cygdrive/c/temp/gtk#/gtk-sharp-1.0/glib/glue'
gcc -mno-cygwin -mms-bitfields -c  `pkg-config --cflags gtk+-win32-2.0
libglade-
2.0` -o error.o error.c
gnome-config: not found
Package gtk+-win32-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gtk+-win32-2.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gtk+-win32-2.0' found
error.c:22:18: glib.h: No such file or directory
error.c:25: error: syntax error before '*' token
error.c:25: error: syntax error before '*' token
error.c:25: warning: data definition has no type or storage class
error.c:28: error: syntax error before '*' token
error.c:29: error: syntax error before '*' token
error.c: In function `gtksharp_error_get_message':
error.c:31: error: `err' undeclared (first use in this function)
error.c:31: error: (Each undeclared identifier is reported only once
error.c:31: error: for each function it appears in.)
make[2]: *** [error.o] Error 1
make[2]: Leaving directory `/cygdrive/c/temp/gtk#/gtk-sharp-1.0/glib/glue'
make[1]: *** [windows] Error 2
make[1]: Leaving directory `/cygdrive/c/temp/gtk#/gtk-sharp-1.0/glib'
make: *** [windows] Error 1