hi, all
I use CUDA for the first time, when I install it, I do like this:
0. a. Install the NVIDIA Linux display driver by executing the file
NVIDIA-Linux-*-pkg1.run
(Note this is pkg2 for 64-bit linux.)
For information on installing NVIDIA Linux display drivers, please refer to
the NVIDIA Accelerated Linux Driver Set README and Installation Guide:
[url=“http://us.download.nvidia.com/XFree86/Linu...ADME/index.html”]http://us.download.nvidia.com/XFree86/Linu...ADME/index.html[/url]
- Install version 2.1 of the NVIDIA CUDA Toolkit by executing the file
NVIDIA_CUDA_Toolkit_2.1-*.run corresponding to your Linux distribution
Add the CUDA binaries and lib path to your PATH and LD_LIBRARY_PATH
environment variables.
- Install version 2.1 of the NVIDIA CUDA SDK by executing the file
NVIDIA_CUDA_SDK_2.1-*.run
The installer will prompt you to enter an installation path for the SDK or
accept the default. We will refer to the path you choose as
SDK_INSTALL_PATH.
- Build the SDK project examples.
cd <SDK_INSTALL_PATH>
make
- Run the examples:
cd <SDK_INSTALL_PATH>/bin/linux32/release
matrixmul
BUT then I do the third step… failure:
./…/common/inc/GL/glut.h:60:20: error: GL/glu.h: No such file or directory
make[1]: *** [obj/release/paramgl.cpp.o] Error 1
make[1]: Leaving directory `/home/enpeda/NVIDIA_CUDA_SDK/common’
make: *** [lib/libparamgl.so] Error 2
Who can help me??? thank you!!!
my display card is Geforce GTX 280, and I had installed its driver. need I install the OPENGL?