Problem with compiling GtkGLSharp
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]: Вход в каталог `/home/mihael/Downloads/gtksharp/gtkglarea-sharp-0.0.16/gtkglarea'
gapi2-codegen --generate \
./gtkglarea-api.xml \
-I:/usr/lib/pkgconfig/../../share/gapi-2.0/pango-api.xml -I:/usr/lib/pkgconfig/../../share/gapi-2.0/atk-api.xml -I:/usr/lib/pkgconfig/../../share/gapi-2.0/gdk-api.xml -I:/usr/lib/pkgconfig/../../share/gapi-2.0/gtk-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/pango-sharp.dll -r:/usr/lib/pkgconfig/../../lib/mono/gtk-sharp-2.0/atk-sharp.dll -r:/usr/lib/pkgconfig/../../lib/mono/gtk-sharp-2.0/gdk-sharp.dll -r:/usr/lib/pkgconfig/../../lib/mono/gtk-sharp-2.0/gtk-sharp.dll -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
/usr/lib/mono/gac/gtk-sharp/2.12.0.0__35e10195dab3c99f/gtk-sharp.dll (Location of the symbol related to previous warning)
Compilation succeeded - 1 warning(s)
make[1]: Выход из каталога `/home/mihael/Downloads/gtksharp/gtkglarea-sharp-0.0.16/gtkglarea'
Making all in examples
make[1]: Вход в каталог `/home/mihael/Downloads/gtksharp/gtkglarea-sharp-0.0.16/examples'
Making all in util
make[2]: Вход в каталог `/home/mihael/Downloads/gtksharp/gtkglarea-sharp-0.0.16/examples/util'
/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]: Выход из каталога `/home/mihael/Downloads/gtksharp/gtkglarea-sharp-0.0.16/examples/util'
make[1]: *** [all-recursive] Ошибка 1
make[1]: Выход из каталога `/home/mihael/Downloads/gtksharp/gtkglarea-sharp-0.0.16/examples'
make: *** [all-recursive] Ошибка 1
I don't know what to do! Help!
Last edited by iMihael; 04-02-2010 at 03:21 AM.
|