Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Need help with missing glu.h file
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
Osnap
n00b
n00b


Joined: 11 Sep 2003
Posts: 13

PostPosted: Sun Oct 17, 2004 5:46 pm    Post subject: Need help with missing glu.h file Reply with quote

Hi,

I was trying to emerge pingus when clanlib-0.6.5-r2 bombed out on GL errors. That led me to find that the OpenGL include files lack glu.h. I've tried remerging nvidia-glx and running opengl-update nvidia but to no avail.

Here's what I hope is the relavant info. Let me know if you need more.

Code:

media-video/nvidia-glx-1.0.6111
media-video/nvidia-kernel-1.0.6111-r2
x11-base/xorg-x11-6.8.0-r2

$ ls -l /usr/include/GL/
total 40
lrwxr-xr-x  1 root root    35 Oct 17 02:19 gl.h -> /usr/lib/opengl/nvidia/include/gl.h
lrwxr-xr-x  1 root root    38 Oct 17 02:19 glext.h -> /usr/lib/opengl/global/include/glext.h
-rw-r--r--  1 root root 30192 Jul 20  2003 glut.h
-rw-r--r--  1 root root  4109 Jul 20  2003 glutf90.h
lrwxr-xr-x  1 root root    36 Oct 17 02:19 glx.h -> /usr/lib/opengl/nvidia/include/glx.h
lrwxr-xr-x  1 root root    42 Oct 17 02:19 glxtokens.h -> /usr/lib/opengl/nvidia/include/glxtokens.h

$ ls -l /usr/X11R6/include/GL/
total 40
lrwxr-xr-x  1 root root    35 Oct 17 02:19 gl.h -> /usr/lib/opengl/nvidia/include/gl.h
lrwxr-xr-x  1 root root    38 Oct 17 02:19 glext.h -> /usr/lib/opengl/global/include/glext.h
-rw-r--r--  1 root root 30192 Jul 20  2003 glut.h
-rw-r--r--  1 root root  4109 Jul 20  2003 glutf90.h
lrwxr-xr-x  1 root root    36 Oct 17 02:19 glx.h -> /usr/lib/opengl/nvidia/include/glx.h
lrwxr-xr-x  1 root root    42 Oct 17 02:19 glxtokens.h -> /usr/lib/opengl/nvidia/include/glxtokens.h

$ ls -l /usr/lib/opengl/nvidia/include/
total 100
-rw-r--r--  1 root root 73008 Oct 17 02:19 gl.h
-rw-r--r--  1 root root 10046 Oct 17 02:19 glx.h
-rw-r--r--  1 root root 10974 Oct 17 02:19 glxtokens.h


Any suggestions are more than welcome. :)
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54308
Location: 56N 3W

PostPosted: Sun Oct 17, 2004 5:59 pm    Post subject: Reply with quote

Osnap,

Apps that compile against OpenGL cannot be built when
Code:
opengl-update nvidia
is in effect. You need to switch back to your native OpenGL (either xorg or XFree86) to do the build, then switch back to nvidia when the build is complete
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
nbkolchin
Apprentice
Apprentice


Joined: 07 Feb 2004
Posts: 290
Location: Russia, Saint-Petersburg

PostPosted: Sun Oct 17, 2004 6:07 pm    Post subject: Reply with quote

x11-base/xorg-x11-6.8.0-r1
media-video/nvidia-glx-1.0.6111
media-video/nvidia-kernel-1.0.6111

Code:

$ ls -l /usr/include/GL
lrwxrwxrwx  1 root root 19 Sep 21 11:53 /usr/include/GL -> ../X11R6/include/GL

$ ls -l /usr/include/GL/
total 208
lrwxrwxrwx  1 root root    38 Sep 21 11:51 glext.h -> /usr/lib/opengl/global/include/glext.h
lrwxrwxrwx  1 root root    35 Sep 21 11:51 gl.h -> /usr/lib/opengl/nvidia/include/gl.h
-r--r--r--  1 root root 15981 Sep 21 11:49 glu.h
-rw-r--r--  1 root root  4109 Feb  7  2004 glutf90.h
-rw-r--r--  1 root root 30192 Feb  7  2004 glut.h
-r--r--r--  1 root root  7946 Sep 21 11:49 GLwDrawA.h
-r--r--r--  1 root root  4433 Sep 21 11:49 GLwDrawAP.h
-r--r--r--  1 root root  2309 Sep 21 11:49 GLwMDrawA.h
-r--r--r--  1 root root  2311 Sep 21 11:49 GLwMDrawAP.h
-r--r--r--  1 root root 29020 Sep 21 11:49 glxext.h
lrwxrwxrwx  1 root root    36 Sep 21 11:51 glx.h -> /usr/lib/opengl/nvidia/include/glx.h
-r--r--r--  1 root root  4257 Sep 21 11:49 glxint.h
-r--r--r--  1 root root  2453 Sep 21 11:49 glxmd.h
-r--r--r--  1 root root 71034 Sep 21 11:49 glxproto.h
lrwxrwxrwx  1 root root    42 Sep 21 11:51 glxtokens.h -> /usr/lib/opengl/nvidia/include/glxtokens.h
-r--r--r--  1 root root  8349 Sep 21 11:49 osmesa.h


Smth is wrong with your installation.

P.S.
Previous post was wrong. "opengl-update nvidia" changes only glx.h, glxtokens.h, glext.h and gl.h

Nickolay
Back to top
View user's profile Send private message
Osnap
n00b
n00b


Joined: 11 Sep 2003
Posts: 13

PostPosted: Sun Oct 17, 2004 6:29 pm    Post subject: Reply with quote

Thanks nbkolchin and NeddySeagoon.

I tried doing an opengl-update xorg-x11 and it didn't work for some reason.

Since nbkolchin had a lot more files in the include dir, I checked the xorg use flags. I found that a use flag 'glx' wasn't enabled. It doesn't have an entry in use.desc so I'm not sure what it does, but I'm going to remerge with the flag turned on and see if that was the culprit.

Good thing I have ccache installed. hehe. Here's hoping. 8)
Back to top
View user's profile Send private message
Osnap
n00b
n00b


Joined: 11 Sep 2003
Posts: 13

PostPosted: Sun Oct 17, 2004 7:29 pm    Post subject: Reply with quote

Yep, the glx flag was the problem. Thanks again.

My new include dir:
Code:

$ls -l /usr/include/GL/
total 212
-r--r--r--  1 root root  7946 Oct 17 15:21 GLwDrawA.h
-r--r--r--  1 root root  4433 Oct 17 15:21 GLwDrawAP.h
-r--r--r--  1 root root  2309 Oct 17 15:21 GLwMDrawA.h
-r--r--r--  1 root root  2311 Oct 17 15:21 GLwMDrawAP.h
lrwxr-xr-x  1 root root    35 Oct 17 15:27 gl.h -> /usr/lib/opengl/nvidia/include/gl.h
lrwxr-xr-x  1 root root    38 Oct 17 15:27 glext.h -> /usr/lib/opengl/global/include/glext.h
-r--r--r--  1 root root 15981 Oct 17 15:21 glu.h
-rw-r--r--  1 root root 30192 Jul 20  2003 glut.h
-rw-r--r--  1 root root  4109 Jul 20  2003 glutf90.h
lrwxr-xr-x  1 root root    36 Oct 17 15:27 glx.h -> /usr/lib/opengl/nvidia/include/glx.h
-r--r--r--  1 root root 29020 Oct 17 15:21 glxext.h
-r--r--r--  1 root root  4257 Oct 17 15:21 glxint.h
-r--r--r--  1 root root  2453 Oct 17 15:21 glxmd.h
-r--r--r--  1 root root 71034 Oct 17 15:21 glxproto.h
lrwxr-xr-x  1 root root    42 Oct 17 15:27 glxtokens.h -> /usr/lib/opengl/nvidia/include/glxtokens.h
-r--r--r--  1 root root  8349 Oct 17 15:21 osmesa.h
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