MSB3721 COMPILE ERROR when using nvidia video sdk?

I am using nvidia video sdk. After I installed, I build the video sdk samples. adn There is MSB3721 error says:
MSB3721 command ““D:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.1\bin\nvcc.exe” -gencode=arch=compute_35,code=“sm_35,compute_35” --use-local-env -Xcompiler /wd4819 -ccbin “C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\bin\x86_amd64” -x cu -I…\External\FFmpeg\include -I…\NvCodec -I…\include -I"D:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.1\include" -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.0\include" -I"D:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.1\include" -I"D:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.1\include" -G --keep-dir “D:\Program Files\NVIDIA GPU Computing Toolkit\CUDASAMPLES\Video_Codec_SDK_9.1.23\Samples\x64.Debug\AppDecD3D” -maxrregcount=0 --machine 64 --compile -cudart static -g -DWIN32 -D_DEBUG -D_CONSOLE -D_LIB -D_CRT_SECURE_NO_WARNINGS -D_MBCS -Xcompiler “/EHsc /W3 /nologo /Od /Fd"D:\Program Files\NVIDIA GPU Computing Toolkit\CUDASAMPLES\Video_Codec_SDK_9.1.23\Samples\x64.Debug\AppDecD3D\vc120.pdb” /FS /Zi /RTC1 /MDd " -o “D:\Program Files\NVIDIA GPU Computing Toolkit\CUDASAMPLES\Video_Codec_SDK_9.1.23\Samples\x64.Debug\AppDecD3D\ColorSpace.cu.obj” “D:\Program Files\NVIDIA GPU Computing Toolkit\CUDASAMPLES\Video_Codec_SDK_9.1.23\Samples\Utils\ColorSpace.cu””exit with code1 。 AppDecD3D D:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.1\extras\visual_studio_integration\MSBuildExtensions\CUDA 10.1.targets 764

I google it , and there is no solution. So I post it here to see if some one has similar experience or a way to get rid of it?
Thanks