I had to reinstall CUDA, however I am getting this error when compiling the SDK.

I go to ~/NVIDA_SDK/C and run the make as: "sudo make"

It runs for a while then it gives me this error: make[1]: Entering directory /home/research/NVIDIA_GPU_Computing_SDK/C/src/simpleGL' /usr/bin/ld: cannot find -lGL collect2: ld returned 1 exit status make[1]: *** [../../bin/linux/release/simpleGL] Error 1 make[1]: Leaving directory/home/research/NVIDIA_GPU_Computing_SDK/C/src/simpleGL' make: * [src/simpleGL/Makefile.ph_build] Error 2

I did install my OpenGL drivers accordingly: sudo apt-get install freeglut3-dev libxi-dev libxmu-dev

link|improve this question
Is there a libgl-dev, or libgl? – Daniel Beck Feb 3 at 18:59
Yes that already is installed. I ran "sudo apt-get install libgl1-mesa-dev" and it is installed already. Thanks. – Dan Feb 3 at 23:25
Did you also installed libglu1-mesa-dev? – pQB Feb 21 at 10:52
@pQB I have not but will try it as soon as I can. Thank you – Dan Feb 21 at 17:45
feedback

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
or
required, but never shown

Browse other questions tagged or ask your own question.