sample code compilation error

Hi All,

This is the error message.

make -C src/volumeRender/
make[1]: Entering directory `/home/sunnyhay/NVIDIA_GPU_Computing_SDK/C/src/volumeRender’
volumeRender.cpp:66: warning: deprecated conversion from string constant to
volumeRender.cpp:259: warning: unused parameter
volumeRender.cpp:259: warning: unused parameter
/usr/bin/ld: cannot find -lGL
collect2: ld returned 1 exit status
make[1]: *** […/…/bin/linux/release/volumeRender] Error 1

Clearly the module GL cannot be loaded. But what is GL? glut or openGL? I tried to install everything (those lib**-dev files) I could imagine on my Ubuntu but failed eventually to fix the problem.
Does anybody tell me the exact name of the module I can apt-get install or indicate the detailed cause of the problem?
Thank you!

Not finding libGL means you do not have the NVIDIA driver installed correctly - the library ships in the driver bundle NVIDIA distribute.

In my case (ubuntu 10.10) I installed libglut3-dev package manually and this fixed the issue. Also a couple of extra libraries were required for my distrubution: libXi and some else. It depends on the CUDA SDK sample application dependences.

Not finding libGL has nothing to do with either GLUT or Xinput.