/usr/bin/ld: cannot find -lglut compiling samples

Hello all,

I just installed cuda on my ubuntu 9.10, and used update-alternative to switch gcc-4.4 to gcc-4.3,
when i’m compiling the samples in NVIDIA_GPU_Computing_SDK/C, there are an error :

/usr/bin/ld: cannot find -lglut

Anyone has ideas ? Thank you in advance.

PS : MSI , GeForce NX8600GT with 256 MB.

Install the GLUT library. If you don’t know how to do that, then search this forum. There must only be about 400 threads asking the exact same question…