You are not logged in.

#1 2017-03-12 15:24:35

jojomodding
Member
Registered: 2017-03-12
Posts: 28

nvidia drivers missing opengl headers

Hello,
I am running Arch Linux on an old laptop which has an nvidia 9600M GS GPU.
The proprietary driver for that is nvidia-340xx, which I installed using pacman, along with nvidia-340xx-utils.
However the OpenGL headers are missing, I cannot find them anywhere on my system.
How do I install them? What package are they in?
Thank you

Last edited by jojomodding (2017-03-12 15:30:10)

Offline

#2 2017-03-12 15:45:07

Lone_Wolf
Member
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 11,920

Re: nvidia drivers missing opengl headers

Are the headers you miss located under /usr/include/GL folder ?

$ pacman -Fo /usr/include/GL/gl.h 
usr/include/GL/gl.h is owned by extra/mesa 17.0.1-2
$

please post the exact error message you get.


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

#3 2017-03-12 16:09:39

jojomodding
Member
Registered: 2017-03-12
Posts: 28

Re: nvidia drivers missing opengl headers

Lone_Wolf wrote:

Are the headers you miss located under /usr/include/GL folder ?

$ pacman -Fo /usr/include/GL/gl.h 
usr/include/GL/gl.h is owned by extra/mesa 17.0.1-2
$

please post the exact error message you get.

main.c:2:19: fatal error: GL/gl.h: No such file or directory
 #include <GL/gl.h>
           ^

I searched with "find / -name gl.h", found nothing.

Offline

#4 2017-03-12 16:21:16

Lone_Wolf
Member
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 11,920

Re: nvidia drivers missing opengl headers

ls -l /usr/include/GL

If it doesn't list any files, try installing mesa.


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

Board footer

Powered by FluxBB