背景
VS2017 + CUDA10.1
问题1
打开解决方案C:\ProgramData\NVIDIA Corporation\CUDA Samples\v10.1\1_Utilities\deviceQuery,运行异常
C:\ProgramData\NVIDIA Corporation\CUDA Samples\v10.1\1_Utilities\deviceQuery\deviceQuery_vs2017.vcxproj(41,5):
error MSB4019: 未找到导入的项目“D:\vs2017dev\ide\Common7\IDE\VC\VCTargets\BuildCustomizations\CUDA 10.1.props”。
请确认 声明中的路径正确,且磁盘上存在该文件。
解决 重新使用cuda_10.1.243_win10_network.exe安装
问题2
CMake dlib解决方案异常
*****************************************************************************************************************
*** CUDA was found but your compiler failed to compile a simple CUDA program so dlib isn't going to use CUDA.
*** The output of the failed CUDA test compile is shown below:
*** Change Dir: F:/人工智能学习/人脸识别/dlib-master/build/dlib/cuda_test_build
***
*** Run Build Command:"D:\vs2017dev\ide/MSBuild/15