CUDA 7.0 sample code - 3_imaging (error)


I tried to run sample code in path NVIDIA_CUDA-7.0_Samples/3_Imaging/bicubicTexture

When command make -f Makefile is entered the following error message is displayed.

/usr/bin/ld: cannot find -lglut
collect2: error: ld returned 1 exit status
make: *** [bicubicTexture] Error 1

Can anyone inform the cause for this error and how to resolve it?

read the CUDA_getting_started_linux.pdf that is installed at /usr/local/cuda/doc/pdf

you have some openGL libraries that need to be installed and the above pdf doc gives some suggestions about it.

Or you can search for suggestions about how to do it on this forum or just do a google search – it is written up in many places.