Guys,
I have taken the example matrixMul from SDK (usually in folder *\NVIDIA Corporation\NVIDIA GPU Computing SDK 3.2\C\src\matrixMul) and copied to a different location where I need to do some tests. The new location follows the same path but it is two folders deeper(i.e. *\NVIDIA Corporation\NVIDIA GPU Computing SDK 3.2\C\src\X\Y\matrixMul).
I have changed the include (C/C++ → General → Additional Include Directories) and library (Linker → General → Additional Library Directories) properties in the project to reflect the change, but I still can’t make it work.
fatal error C1083: Cannot open include file: ‘cutil_inline.h’: No such file or directory
1>Project : error PRJ0019: A tool returned an error code from “Compiling with CUDA Build Rule…”
Please note that file cutil_inline.h is in C:\ProgramData\NVIDIA Corporation\NVIDIA GPU Computing SDK 3.2\C\common\inc and I have added the path to the Project Properties → Add Include Directories.
I don’t know whether you have set the development enviroment VS and CUDA right.I guess the problem is because you don’t add the road C:\ProgramData\NVIDIA Corporation\NVIDIA GPU Computing SDK 3.2\C\common\inc to the vc include directories Tools->Options->Projects and Solutions->VC++ Directories->Show directories for include files.