Welcome, Guest. Please login or register.
Did you miss your activation email?

Author Topic: [EN] [SOLVED] nvidia opengl headers  (Read 2406 times)

Offline seasons

  • User
  • Posts: 270
[EN] [SOLVED] nvidia opengl headers
« 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?

Code: [Select]
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/

Offline michaa7

  • User
  • Posts: 2.367
nvidia opengl headers
« Reply #1 on: 2013/07/26, 19:47:41 »
Ok, you can't code, but you still might be able to write a bug report for Debian's sake

Offline seasons

  • User
  • Posts: 270
RE: nvidia opengl headers
« Reply #2 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.

Offline seasons

  • User
  • Posts: 270
RE: nvidia opengl headers
« Reply #3 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:

Code: [Select]
# 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


Offline seasons

  • User
  • Posts: 270
RE: nvidia opengl headers
« Reply #4 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.