Compilation error

Hi,
i’m trying to compile a program in cuda but i get the following error:

/usr/bin/ld: cannot find -lGLEW_x86_64

does anyone know why? i would appreciate any help posible. thanks. carlos.

The code in question is probably using GLEW library, so - either try to find and install GLEW package for your distribution, or install the library from source. Or, if you’re using an SDK sample as a template (as some SDK samples are using GLEW, so it gets installed along with the SDK too, but not in the system directory), then change your makefile, and be sure to supply proper search directory (this should be sdk/shared/lib/linux, under your SDK installation tree) to the linker.