ERROR 1042 error MSB3721

I run Cuda Samples on Windows 7 Microsoft Visual Studio 2013, and met mistake.
Does anyone know how to solve it?
thanks!

错误 1041 error C1001: 编译器中发生内部错误。 c:\users\administrator\appdata\local\temp\tmpxft_000018ac_00000000-0_segmentationTree.fatbin.c segmentationTreeThrust

错误 1042 error MSB3721: 命令““C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v8.0\bin\nvcc.exe” -gencode=arch=compute_20,code=“sm_20,compute_20” -gencode=arch=compute_30,code=“sm_30,compute_30” -gencode=arch=compute_35,code=“sm_35,compute_35” -gencode=arch=compute_37,code=“sm_37,compute_37” -gencode=arch=compute_50,code=“sm_50,compute_50” -gencode=arch=compute_52,code=“sm_52,compute_52” -gencode=arch=compute_60,code=“sm_60,compute_60” --use-local-env --cl-version 2013 -ccbin “D:\ProgramFiles\MicrosoftVisualStudio12.0\VC\bin\x86_amd64” -I./ -I…/…/common/inc -I./ -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v8.0/include" -I…/…/common/inc -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v8.0\include" -G --keep-dir x64\Debug -maxrregcount=0 --machine 64 --compile -cudart static -Xcompiler “/wd 4819” -g -DWIN32 -DWIN32 -D_MBCS -D_MBCS -Xcompiler "/EHsc /W3 /nologo /Od /FS /Zi /RTC1 /MTd " -o x64/Debug/segmentationTree.cu.obj “C:\ProgramData\NVIDIA Corporation\CUDA Samples\v8.0\6_Advanced\segmentationTreeThrust\segmentationTree.cu””已退出,返回代码为 2。 C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\BuildCustomizations\CUDA 8.0.targets 689 9 segmentationTreeThrust

For 1041 error C001:

https://msdn.microsoft.com/ja-jp/library/cc431995.aspx
https://msdn.microsoft.com/en-us/library/y19zxzb2.aspx

For 1042 error MSB3721:

https://devtalk.nvidia.com/default/topic/989584/cuda-setup-and-installation/how-to-fix-error-msb3721/
You will have to increase the error verbosity in Visual Studio to see what the actual issue is, as this is a rather generic error message.