- Do i need any additional libs exept libGL.so from nvidia driver to run 3d games on linux?
may be Mesa or glut?
- i’v installed drivers from nvidia. glxgears works fine %) but i cann’t compile any GL program… looks like wrong headers (i’v installed gl.h and others from nv driver to /usr/include/GL/ )
Just grab Mesa 3.5 from www.mesa3d.org… they have glut src included.
use something like the following to get opengl programs working
g++ program.cpp -o ./myProgram -lglut -lGL -lGLU -O
if that doesn’t work (still can’t find the libs!)
make sure you have ld.conf set up correctly, and then run ldconfig if you’ve made some changes. =D
Best of Luck
This topic was automatically closed 183 days after the last reply. New replies are no longer allowed.