Hi, I’m new with CUDA and installing it in Linux, I have installed the CUDA toolkit and the CUDA SDK, but when I run the makefile, it can not build the deviceQueryDrv because it can not find lcuda. I know that libcuda exists, I think there is a problem with the default makefile of the SDK, Please Help me! I don’t know what to do.
This is what appears in the console
make[1]: Entering directory /root/NVIDIA_GPU_Computing_SDK/C/common' make[1]: Leaving directory
/root/NVIDIA_GPU_Computing_SDK/C/common’
make[1]: Entering directory /root/NVIDIA_GPU_Computing_SDK/C/common' make[1]: Leaving directory
/root/NVIDIA_GPU_Computing_SDK/C/common’
make[1]: Entering directory /root/NVIDIA_GPU_Computing_SDK/C/common' make[1]: Leaving directory
/root/NVIDIA_GPU_Computing_SDK/C/common’
make -C src/3DFD/
make[1]: Entering directory /root/NVIDIA_GPU_Computing_SDK/C/src/3DFD' make[1]: Leaving directory
/root/NVIDIA_GPU_Computing_SDK/C/src/3DFD’
make -C src/dxtc/
make[1]: Entering directory /root/NVIDIA_GPU_Computing_SDK/C/src/dxtc' make[1]: Leaving directory
/root/NVIDIA_GPU_Computing_SDK/C/src/dxtc’
make -C src/scan/
make[1]: Entering directory /root/NVIDIA_GPU_Computing_SDK/C/src/scan' make[1]: Leaving directory
/root/NVIDIA_GPU_Computing_SDK/C/src/scan’
make -C src/asyncAPI/
make[1]: Entering directory /root/NVIDIA_GPU_Computing_SDK/C/src/asyncAPI' make[1]: Leaving directory
/root/NVIDIA_GPU_Computing_SDK/C/src/asyncAPI’
make -C src/simpleTexture/
make[1]: Entering directory /root/NVIDIA_GPU_Computing_SDK/C/src/simpleTexture' make[1]: Leaving directory
/root/NVIDIA_GPU_Computing_SDK/C/src/simpleTexture’
make -C src/deviceQueryDrv/
make[1]: Entering directory /root/NVIDIA_GPU_Computing_SDK/C/src/deviceQueryDrv' /usr/lib/gcc/i586-suse-linux/4.3/../../../../i586-suse-linux/bin/ld: cannot find -lcuda collect2: ld returned 1 exit status make[1]: *** [../../bin/linux/release/deviceQueryDrv] Error 1 make[1]: Leaving directory
/root/NVIDIA_GPU_Computing_SDK/C/src/deviceQueryDrv’
make: *** [src/deviceQueryDrv/Makefile.ph_build] Error 2