Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Can't get gtkglarea to install...
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
mb4guns
Guru
Guru


Joined: 04 Dec 2002
Posts: 300
Location: Netherlands

PostPosted: Mon Apr 28, 2003 9:23 pm    Post subject: Can't get gtkglarea to install... Reply with quote

Code:
emerge gtkglarea

Code:

gtkglarea.c:21:19: GL/gl.h: No such file or directory
gdkgl.c:25:19: GL/gl.h: No such file or directory
gdkgl.c:26:20: GL/glx.h: No such file or directory
gdkgl.c:58: parse error before "GLXContext"
gdkgl.c:58: warning: no semicolon at end of struct or union
gdkgl.c:60: parse error before '}' token
gdkgl.c: In function `gdk_gl_get_info':
gdkgl.c:76: `GLX_VENDOR' undeclared (first use in this function)
gdkgl.c:76: (Each undeclared identifier is reported only once
gdkgl.c:76: for each function it appears in.)
gdkgl.c:77: `GLX_VERSION' undeclared (first use in this function)
gdkgl.c:78: `GLX_EXTENSIONS' undeclared (first use in this function)
gdkgl.c: In function `gdk_gl_choose_visual':
gdkgl.c:91: warning: assignment makes pointer from integer without a cast
gdkgl.c: In function `gdk_gl_context_share_new':
gdkgl.c:132: `GLXContext' undeclared (first use in this function)
gdkgl.c:132: parse error before "glxcontext"
gdkgl.c:142: `glxcontext' undeclared (first use in this function)
gdkgl.c:142: dereferencing pointer to incomplete type
gdkgl.c:150: sizeof applied to an incomplete type
gdkgl.c:151: dereferencing pointer to incomplete type
gdkgl.c: In function `gdk_gl_context_ref':
gdkgl.c:172: dereferencing pointer to incomplete type
gdkgl.c: In function `gdk_gl_context_unref':
gdkgl.c:183: dereferencing pointer to incomplete type
gdkgl.c: In function `gdk_gl_make_current':
gdkgl.c:205: dereferencing pointer to incomplete type
gdkgl.c: At top level:
gdkgl.c:239: parse error before "GLXPixmap"
gdkgl.c:239: warning: no semicolon at end of struct or union
gdkgl.c:242: parse error before '}' token
gdkgl.c: In function `gdk_gl_pixmap_new':
gdkgl.c:253: `GLXPixmap' undeclared (first use in this function)
gdkgl.c:253: parse error before "glxpixmap"
gdkgl.c: In function `gdk_gl_pixmap_unref':
gdkgl.c:302: dereferencing pointer to incomplete type
gdkgl.c:312: sizeof applied to an incomplete type
gdkgl.c: In function `gdk_gl_pixmap_make_current':
gdkgl.c:320: `GLXPixmap' undeclared (first use in this function)
gdkgl.c:320: parse error before "glxpixmap"
gdkgl.c:321: `GLXContext' undeclared (first use in this function)
gdkgl.c:326: dereferencing pointer to incomplete type
gdkgl.c:327: `glxpixmap' undeclared (first use in this function)
gdkgl.c:327: dereferencing pointer to incomplete type
gdkgl.c:328: `glxcontext' undeclared (first use in this function)
gdkgl.c:328: dereferencing pointer to incomplete type
make[1]: *** [gdkgl.lo] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: *** [gtkglarea.lo] Error 1
make[1]: Leaving directory `/var/tmp/portage/gtkglarea-1.99.0/work/gtkglarea-1.99.0/gtkgl'
make: *** [all-recursive] Error 1
 
!!! ERROR: x11-libs/gtkglarea-1.99.0 failed.
!!! Function gnome2_src_compile, Line 39, Exitcode 2
!!! compile failure


I removed a few duplicated lines to keep u from scrolling.

What really worries me is:
Code:
gtkglarea.c:21:19: GL/gl.h: No such file or directory
gdkgl.c:25:19: GL/gl.h: No such file or directory
gdkgl.c:26:20: GL/glx.h: No such file or directory


but:
Code:

root@gentoo gtkglarea # locate glx.h
/usr/lib/opengl/xfree/include/glx.h
/usr/X11R6/include/GL/glx.h
/usr/share/doc/NVIDIA_GLX-1.0/include/GL/glx.h


I need gtkglarea for gimp 1.3 series
_________________
sys0: Athlon64, Corsair TWINX DDR400 (1024mb), GeForce FX5600 256mb, 2x SATA MAxtor 120gig, Plextor 708a, Zalman cooling, Zalman powered, gnomed
sys1: Dell inspiron 4100 PentiumIII-mobile@1000 512mb ATI Radeon mobility m6 30gig, gnomed
Back to top
View user's profile Send private message
mb4guns
Guru
Guru


Joined: 04 Dec 2002
Posts: 300
Location: Netherlands

PostPosted: Tue Apr 29, 2003 4:05 pm    Post subject: Reply with quote

Hmz this is to keep the topic up in the forum ;)
_________________
sys0: Athlon64, Corsair TWINX DDR400 (1024mb), GeForce FX5600 256mb, 2x SATA MAxtor 120gig, Plextor 708a, Zalman cooling, Zalman powered, gnomed
sys1: Dell inspiron 4100 PentiumIII-mobile@1000 512mb ATI Radeon mobility m6 30gig, gnomed
Back to top
View user's profile Send private message
mb4guns
Guru
Guru


Joined: 04 Dec 2002
Posts: 300
Location: Netherlands

PostPosted: Tue Apr 29, 2003 5:32 pm    Post subject: Reply with quote

Ok, on #gentoo adrian knew how to fix it:

Switching opengl implementations will help do this with:

Code:

opengl-update nvidia

or
Code:

opengl-update xfree


prolly ati or radeon if u got such card, xfree worked for me here
_________________
sys0: Athlon64, Corsair TWINX DDR400 (1024mb), GeForce FX5600 256mb, 2x SATA MAxtor 120gig, Plextor 708a, Zalman cooling, Zalman powered, gnomed
sys1: Dell inspiron 4100 PentiumIII-mobile@1000 512mb ATI Radeon mobility m6 30gig, gnomed
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum