compiling problem with -lcutil

I do compiling with the command

nvcc -o run file.cu -I $SDK/common/inc -L $SDK/common/lib/linux/ -lcutil

but I have error

/usr/bin/ld: cannot find -lcutil

collect2: ld returned 1 exit status

I have ubuntu 10.10

Anyone for this problem?

I believe you have to run ‘make’ on the SDK to compile that library.

Now I found all .o file

It sounds like you figured it out but if not hamster143 was correct you have to run make in the Nvidia SDK folder. This will create your library files for cutil. Then you to need to make sure to also include and link the cutil.h and cutil library .so

After I found the .o was able to do compile. I don’t found .so