I'm a student trying to add a CUDA project in a exsisting C++ project.
I installed the Toolkit and cheked it worked fine on my computer.
Basic settings such as include directory and Library Directory Setting were all done.
However, when I am trying to build the whole project, the error occurs with CUDA 5.5.target.
The error code is written below:
1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\BuildCustomizations\CUDA 5.5.targets(592,9): error MSB3721: The command ""C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v5.5\bin\nvcc.exe" -gencode=arch=compute_10,code=\"sm_10,compute_10\" --use-local-env --cl-version 2010 -ccbin "C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\bin\x86_amd64" -I\include -I.\Inc -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v5.5\include" -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v5.5\include" -G --keep-dir x64\Debug -maxrregcount=0 --machine 64 --compile -cudart static -g -DWIN32 -D_DEBUG -D_WINDOWS -D_USRDLL -DFDTDCOREWIN32_EXPORTS -D_WINDLL -D_UNICODE -DUNICODE -D_ATL_STATIC_REGISTRY -Xcompiler "/EHsc /W3 /nologo /Od /Zi /RTC1 /MDd " -o x64\Debug\FDTD_CU.cu.obj "C:\Users\mpich2\Desktop\FDTD_CU.cu"" exited with code 2.
Anybody help me out?
ps. My CUDA Toolkit version is 5.5 and i am using Windows 7 with 64-bit.
Thanks in advance.