[Mono-list] Gtk# error
Joe Shaw
joe@ximian.com
21 Oct 2002 16:17:51 -0400
On Mon, 2002-10-21 at 16:10, Carlos Cesario wrote:
> Hi..
>
> I'm trying to compile GTK# but the following error is showing:
> ----------------
> mcs --unsafe -o glade-viewer.exe -L ../glib -L ../pango -L ../atk -L
> ../gdk -L ../gtk -L ../glade -r glib-sharp.dll -r pango-sharp.dll -r
> atk-sharp.dll -r gdk-sharp.dll -r gtk-sharp.dll -r glade-sharp.dll -r
> System.Drawing GladeViewer.cs
> GladeViewer.cs(24) error CS0246: Cannot find type `Program'
> ----------------------------
>
> I have the packages glade / glade-common / libglade / libglade-dev
> installed in my Debian SID
>
> anybody knows how to fix it?
Looks like it's trying to build something that requires the GNOME
assemblies to be built. File a bug.
To workaround it, remove the glade-viewer sample from the makefile or
rebuild gtk# with the gnome stuff enabled. (this will likely require
you to install a bunch of the dev packages from gnome 2)
Joe