cutil error

I am trying to use the cutil timer function using

[codebox]unsigned int timer;

cutilCheckError(cutCreateTimer(&timer));[/codebox]

However, when I compile, I get the following error:

[codebox]tmpxft_00004cee_00000000-1_ao76_fft1.cudafe1.cpp:(.text+0x23df): undefined reference to `cutCreateTimer’

collect2: ld returned 1 exit status

[/codebox]

I have included the following:

[codebox]#include <cutil.h>

#include <cutil_inline.h>

#include <cuda_runtime_api.h>[/codebox]

and my script also has

[codebox]

nvcc -G -D_DEBUG -pg -o …/obj/ao76_fft1 …/src/ao76_fft1.cu \

–host-compilation C -arch sm_13 \

-I/home/vivekv/cuda_exercise/src/ \

-I/usr/local/cuda/include \

-L/usr/local/cuda/lib64 -lcufft \

-I/home/vivekv/NVIDIA_GPU_Computing_SDK/C/common/inc/ \

-L/home/vivekv/NVIDIA_GPU_Computing_SDK/C/lib[/codebox]

any suggestions??

any suggestions??

Same Problem…Have you found the solution of that?

Thanks

Same Problem…Have you found the solution of that?

Thanks

This is probably the solution to your problems:

http://forums.nvidia.com/index.php?showtopic=95880

This is probably the solution to your problems:

http://forums.nvidia.com/index.php?showtopic=95880