Problems with compilation of SDK/suse10.2

I am trying to compile the CUDA-SDK on my Suse 10.2 System (Kernel: 2.6.18.2-34-default), but getting always the following error, no matter if I use “make” in the CUDA-SDK-FOLDER with the emu=1 or dbg=1 option.

make[1]: Entering directory `~/NVIDIA_CUDA_SDK/common'

a - obj/debug/bank_checker.cpp_o

a - obj/debug/cmd_arg_reader.cpp_o

a - obj/debug/cutil.cpp_o

a - obj/debug/error_checker.cpp_o

a - obj/debug/stopwatch.cpp_o

a - obj/debug/stopwatch_linux.cpp_o

a - obj/debug/cutil_interop.cpp_o

make[1]: Leaving directory `~/NVIDIA_CUDA_SDK/common'

make -C projects/postProcessGL/

make[1]: Entering directory `~/NVIDIA_CUDA_SDK/projects/postProcessGL'

/usr/lib/gcc/i586-suse-linux/4.1.2/../../../../i586-suse-linux/bin/ld: cannot find -lglut

collect2: ld returned 1 exit status

make[1]: *** [../../bin/linux/emudebug/postProcessGL] Error 1

make[1]: Leaving directory `~/NVIDIA_CUDA_SDK/projects/postProcessGL'

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

1. I’m not sure if it is possible to compile CUDA-Files on a system without a supported NVIDIA-GPU. So, is it possible? (got ATI, but installed NVIDIA Display Drivers)

2. My PATH and LD_LIBRARY_PATH are set in the way the installation instructions told me:

PATH:

bash: echo/home/myuser/bin:/usr/local/bin:/usr/bin:/sbin:/usr/X11R6/bin:/usr/sbin:/bin:/usr/games:/opt/gnome/bin:/opt/kde3/bin:/usr/lib/jvm/jre/bin:/usr/lib/mit/bin:/usr/lib/mit/sbin:/usr/lib/qt3/bin:/usr/local/cuda/bin/:/usr/local/cuda/bin/:/usr/local/cuda/bin/: No such file or directory
LD_LIBRARY_PATH:

bash: echo:/usr/local/cuda/lib/: No such file or directory

So, are they set in a proper way? I’m pretty sure about this, but maybe I got something wrong.

I hope anyone can help me, I am a little bit desperate about this. :(

greetings

Markus

The error you are getting is related to missing GLUT libraries.
Install them ( there should be a freeglut package) and try again.

:blink: works well now…

thanks