LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 04-02-2010, 03:15 AM   #1
iMihael
LQ Newbie
 
Registered: Nov 2009
Posts: 3

Rep: Reputation: 0
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.
 
Old 04-02-2010, 04:44 AM   #2
hua
Member
 
Registered: Oct 2006
Location: Slovak Republic
Distribution: Slackware 14.2, current
Posts: 461

Rep: Reputation: 78
Quote:
No package 'tao-opengl-glu' found
It seems you miss an application package. I see that output many times in slackware when I try to compile some application with missing dependency.
Many times it is tricky to find out exactly what application package is missing. What distribution are you running on? Do you have any installed package - tao-opengl-glu??
z
 
Old 04-02-2010, 11:14 AM   #3
iMihael
LQ Newbie
 
Registered: Nov 2009
Posts: 3

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by hua View Post
It seems you miss an application package. I see that output many times in slackware when I try to compile some application with missing dependency.
Many times it is tricky to find out exactly what application package is missing. What distribution are you running on? Do you have any installed package - tao-opengl-glu??
z

I'm running ubuntu and allready installed packege "libtaoframework-opengl3.0-cil" whar provide opengl support.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
compiling problem ... chaks Programming 2 03-29-2004 09:14 AM
Compiling Problem BACTRATE Mandriva 1 03-12-2004 04:36 AM
Compiling Problem... ThE_DeaD Linux - Newbie 10 12-14-2003 03:14 PM
Compiling problem.... pyrocrickett Linux - Software 2 09-11-2003 02:19 PM
compiling problem with RH 9 tucdual Linux - Distributions 4 08-26-2003 07:03 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 10:22 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration