Siduction Forum

Siduction Forum => Software - Support => Topic started by: seasons on 2013/07/26, 18:53:16

Title: [SOLVED] nvidia opengl headers
Post by: seasons on 2013/07/26, 18:53:16
I'm running the nvidia proprietary driver. Any time I try to build something requiring opengl, it fails. Where are the opengl headers for proprietary nvidia driver?

nvidia-kernel-dkms:
 Installed: 304.88-6
 Candidate: 304.88-6
 Version table:
    325.08-0.siduction.1 0
       100 http://packages.siduction.org/experimental/ unstable/non-free amd64 Packages
*** 304.88-6 0
       500 http://ftp.us.debian.org/debian/ unstable/non-free amd64 Packages
       100 /var/lib/dpkg/status
    304.88-5.c0.siduction.1 0
       500 http://packages.siduction.org/fixes/
Title: nvidia opengl headers
Post by: michaa7 on 2013/07/26, 19:47:41
this is what I found:
http://wiki.debian.org/NvidiaGraphicsDrivers#Version_304.88
Title: RE: nvidia opengl headers
Post by: seasons on 2013/07/26, 20:05:47
Thanks, but that doesn't answer my question. I thought there were different OpenGL includes/headers for proprietary drivers, but maybe I'm wrong there. I do have mesa-common-dev and libg1-glx-dev installed, but configure programs don't find those either.
Title: RE: nvidia opengl headers
Post by: seasons on 2013/07/26, 20:50:25
Okay, from what I've read on the Nvidia site, there are special headers, but you don't need them unless you want to use special NV extensions. So I guess my question is about programs finding the mesa headers:

# pkg-config --cflags --libs gl
-lGL  
# pkg-config --modversion gl
9.1.4

# apt-cache policy mesa-common-dev
mesa-common-dev:
 Installed: 9.1.4-1
 Candidate: 9.1.4-1
 Version table:
*** 9.1.4-1 0
       500 http://ftp.us.debian.org/debian/ unstable/main amd64 Packages
       100 /var/lib/dpkg/status

Title: RE: nvidia opengl headers
Post by: seasons on 2013/07/26, 22:43:09
Okay, it was a multiarch snafu. I got rid of the conflicting i386 packages, upgraded to 325.08 nvidia driver, and all is well now. Thanks.