[Gtk-sharp-list] Problem with compiling GtkGLSharp

iMihael mihael at xakep.ru
Thu Apr 1 20:54:07 EDT 2010

Hello everybody. I'm trying to compile the GtkGLSharp and have an error,
please help me!!!

This is make log:

$ make
Making all in gtkglarea
make[1]: Вход в каталог
gapi2-codegen --generate \
	./gtkglarea-api.xml \
-I:/usr/lib/pkgconfig/../../share/gapi-2.0/glib-api.xml   \
	--outdir=generated \
	--customdir=. \
	--assembly-name=gtkglarea-sharp && \
	touch generated-stamp
Name: share Type: GtkGLArea* in gtk_gl_area_share_new  in method ShareNew in
type GtkGL.GLArea
Name: share Type: GtkGLArea* in gtk_gl_area_new_vargs in type GtkGL.GLArea

Generation Summary:
  Enums: 1  Structs: 0  Boxed: 0  Opaques: 2  Interfaces: 0  Objects: 1 
Callbacks: 0
  Properties: 0  Signals: 0  Methods: 10  Constructors: 2  Throttled: 2
Total Nodes: 18

cp ../gtkglarea-sharp.snk .
mcs -nowarn:169 -unsafe -target:library
-r:/usr/lib/pkgconfig/../../lib/mono/gtk-sharp-2.0/glib-sharp.dll   \
	AssemblyInfo.cs generated/*.cs -out:gtkglarea-sharp.dll
generated/GLArea.cs(52,29): warning CS0108: `GtkGL.GLArea.Size(int, int)'
hides inherited member `Gtk.DrawingArea.Size(int, int)'. Use the new keyword
if hiding was intended
(Location of the symbol related to previous warning)
Compilation succeeded - 1 warning(s)
make[1]: Выход из каталога
Making all in examples
make[1]: Вход в каталог
Making all in util
make[2]: Вход в каталог
/usr/bin/mcs -debug \
	-lib:../..//gtkglarea \
	-r:gtkglarea-sharp.dll \
	-pkg:tao-opengl-glu \
	-pkg:gtk-sharp-2.0 \
	-pkg:glade-sharp-2.0 \
	-target:library \
	-out:gtkglarea-sharp-util.dll \
		GLWidget.cs IGLObject.cs GLObjectBase.cs EulerRotation.cs Rotation.cs
Vector.cs Quaternion.cs TransformationMatrix.cs
Package tao-opengl-glu was not found in the pkg-config search path.
Perhaps you should add the directory containing `tao-opengl-glu.pc'
to the PKG_CONFIG_PATH environment variable
No package 'tao-opengl-glu' found
error CS8027: Error running pkg-config. Check the above output.
make[2]: *** [gtkglarea-sharp-util.dll] Ошибка 1
make[2]: Выход из каталога
make[1]: *** [all-recursive] Ошибка 1
make[1]: Выход из каталога
make: *** [all-recursive] Ошибка 1

I don't now what to do! Help!

View this message in context: http://n4.nabble.com/Problem-with-compiling-GtkGLSharp-tp1748727p1748727.html
Sent from the Mono - Gtk# mailing list archive at Nabble.com.

More information about the Gtk-sharp-list mailing list