CUDA and Ubuntu Feisty Problems with make I recieve an error when i trying to make

Hello people, i have a 8600 GT and i started to learn CUDA,

I have a problem with the CUDA 0.8.1 and ubuntu Feisty,

when i try to make the projects examples of the SDK, i have this:

gonza@core2duo:~/NVIDIA_CUDA_SDK$ make

make[1]: se ingresa al directorio `/home/gonza/NVIDIA_CUDA_SDK/common’

g++ -m32 -W -Wall -Wimplicit -Wswitch -Wformat -Wchar-subscripts -Wparentheses -Wmultichar -Wtrigraphs -Wpointer-arith -Wcast-align -Wreturn-type -Wno-unused-function -I. -I/usr/local/cuda/include -I./…/common/inc -DUNIX -O3 -o obj/release/bank_checker.cpp_o -c src/bank_checker.cpp

g++ -m32 -W -Wall -Wimplicit -Wswitch -Wformat -Wchar-subscripts -Wparentheses -Wmultichar -Wtrigraphs -Wpointer-arith -Wcast-align -Wreturn-type -Wno-unused-function -I. -I/usr/local/cuda/include -I./…/common/inc -DUNIX -O3 -o obj/release/cmd_arg_reader.cpp_o -c src/cmd_arg_reader.cpp

g++ -m32 -W -Wall -Wimplicit -Wswitch -Wformat -Wchar-subscripts -Wparentheses -Wmultichar -Wtrigraphs -Wpointer-arith -Wcast-align -Wreturn-type -Wno-unused-function -I. -I/usr/local/cuda/include -I./…/common/inc -DUNIX -O3 -o obj/release/cutil.cpp_o -c src/cutil.cpp

g++ -m32 -W -Wall -Wimplicit -Wswitch -Wformat -Wchar-subscripts -Wparentheses -Wmultichar -Wtrigraphs -Wpointer-arith -Wcast-align -Wreturn-type -Wno-unused-function -I. -I/usr/local/cuda/include -I./…/common/inc -DUNIX -O3 -o obj/release/error_checker.cpp_o -c src/error_checker.cpp

g++ -m32 -W -Wall -Wimplicit -Wswitch -Wformat -Wchar-subscripts -Wparentheses -Wmultichar -Wtrigraphs -Wpointer-arith -Wcast-align -Wreturn-type -Wno-unused-function -I. -I/usr/local/cuda/include -I./…/common/inc -DUNIX -O3 -o obj/release/stopwatch.cpp_o -c src/stopwatch.cpp

g++ -m32 -W -Wall -Wimplicit -Wswitch -Wformat -Wchar-subscripts -Wparentheses -Wmultichar -Wtrigraphs -Wpointer-arith -Wcast-align -Wreturn-type -Wno-unused-function -I. -I/usr/local/cuda/include -I./…/common/inc -DUNIX -O3 -o obj/release/stopwatch_linux.cpp_o -c src/stopwatch_linux.cpp

ar qv ./…/lib/libcutil.a obj/release/bank_checker.cpp_o obj/release/cmd_arg_reader.cpp_o obj/release/cutil.cpp_o obj/release/error_checker.cpp_o obj/release/stopwatch.cpp_o obj/release/stopwatch_linux.cpp_o

ar: creating ./…/lib/libcutil.a

a - obj/release/bank_checker.cpp_o

a - obj/release/cmd_arg_reader.cpp_o

a - obj/release/cutil.cpp_o

a - obj/release/error_checker.cpp_o

a - obj/release/stopwatch.cpp_o

a - obj/release/stopwatch_linux.cpp_o

make[1]: se sale del directorio `/home/gonza/NVIDIA_CUDA_SDK/common’

make -C projects/dxtc/

make[1]: se ingresa al directorio `/home/gonza/NVIDIA_CUDA_SDK/projects/dxtc’

nvcc -o obj/release/dxtc.cu_o -c dxtc.cu -Xcompiler “-m32” -Xcompiler “” -I. -I/usr/local/cuda/include -I…/…/common/inc -DUNIX -O3

g++ -m32 -fPIC -o …/…/bin/linux32/release/dxtc obj/release/dxtc.cu_o -L/usr/local/cuda/lib -L…/…/lib -L…/…/common/lib -lcuda -lcudart -lGL -lGLU -lGLEW -l cutil

/usr/bin/ld: cannot find -lGL

collect2: ld devolvió el estado de salida 1

make[1]: *** […/…/bin/linux32/release/dxtc] Error 1

make[1]: se sale del directorio `/home/gonza/NVIDIA_CUDA_SDK/projects/dxtc’

make: *** [projects/dxtc/Makefile.ph_build] Error 2

gonza@core2duo:~/NVIDIA_CUDA_SDK$

What is this “/usr/bin/ld: cannot find -lGL” means ?

I have mesa-common-dev libx11-dev installed.

Someone can help me ?

Thanks.

You should be using the libGL that ships with the NVIDIA graphics driver, rather than Mesa’s libGL.

Note that the GeForce 8600 is not supported in the CUDA-0.8x release. The next release will support all currently available G8x GPUs.

Thanks!