[SOLVED] nvidia opengl headers

Started by seasons, 2013/07/26, 18:53:16

Previous topic - Next topic

seasons

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/

michaa7

Ok, you can't code, but you still might be able to write a bug report for Debian's sake

seasons

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.

seasons

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


seasons

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.