Run cude code in linux get error: cutil_inline.h: No such file or directory

The code developed from windows,but when I run the code under linux use the command "nvcc “,it rurned out the error: cutil_inline.h: No such file or directory.
The path in my mechine is :”# User specific aliases and functions
export PATH=/usr/local/cuda/bin:/usr/local/NVIDIA_GPU_Computing_SDK:$PATH

export LD_LIBRARY_PATH=/usr/local/cuda/lib64:/usr/local/NVIDIA_GPU_Computing_SDK:$LD_LIBRARY_PATH" The missing file “cutil_inline.h” already in the package “NVIDIA_GPU_Computing_SDK”. How can I solve this problem?

Your kindly reply will be great important to me.

You need to have it in include path not linker path. Add -I"path to NVIDIA_GPU_Computing_SDK CUTIL include directory" (I don’t remember the exact path myself) to Your makefile.


Hi MK,thanks for your kindly reply.I have used the command as :"nvcc -I “path to NVIDIA_GPU_Computing_SDK CUTIL include directory” -lm"but the error still be
“cutil_inline.h: No such file or directory”.Did I use the correct commamd?