problem with ""


CUDA 2.2

I just “make” the deviceQuery Example in SDK,

With gcc 4.3.2, I got this:

[root@localhost deviceQuery]# make
/usr/bin/ld: cannot find -lcutil
collect2: ld return 1
make: *** […/…/bin/linux/release/deviceQuery] error 1

where is the -lcutil? How can I get it?

By the way, some information related:

[root@localhost mycuda]# echo $LD_LIBRARY_PATH

[root@localhost mycuda]# echo $PATH

[root@localhost deviceQuery]# find / | grep lcutil
[root@localhost deviceQuery]#
///////////////That is, no such library?

libcutil is distributed in the SDK. You need run at least run make in the NVIDIA_GPU_Computing_SDK/C/common directory first to built the library.