Cannot open include file: 'cutil.h': No such file or directory Please help!!

I looked over the Project --> Properties --> C/C++ --> General --> Additional Include Directories

and I have:

“$(CUDA_INC_PATH)”;./;…/…/common/inc

and then I added:

;“C:\Program Files\NVIDIA Corporation\NVIDIA CUDA SDK\common\inc”

as suggested in:

http://forums.nvidia.com/lofiversion/index.php?t76942.html

I looked over the Environment Variables for CUDA_INC_PATH, and I found:

C:\CUDA\include

and then I added:

;C:\Program Files\NVIDIA Corporation\NVIDIA CUDA SDK\common\inc

I restarted VS 2005, but it still doesn’t work… Any ideas?

Thanks a lot!

Hello,

The way I bypassed this problem was to copy-paste the “cutil.h” from C:\Program Files\NVIDIA Corporation\NVIDIA CUDA SDK\common\inc to my project’s directory where all my sources resided.

Hope that helps!

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

I ended up having to copy all of the header files in the:

C:\CUDA\include

Hmm… There must be a better way to do this…?