In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-05 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/03 Report--
Background
VS2017 + CUDA10.1
Question 1
Open solution C:\ ProgramData\ NVIDIA Corporation\ CUDA Samples\ v10.1\ 1_Utilities\ deviceQuery and run an exception
C:\ ProgramData\ NVIDIA Corporation\ CUDA Samples\ v10.1\ 1_Utilities\ deviceQuery\ deviceQuery_vs2017.vcxproj (41 and 5):
Error MSB4019: the imported project "D:\ vs2017dev\ ide\ Common7\ IDE\ VC\ VCTargets\ BuildCustomizations\ CUDA 10.1.props" was not found.
Make sure that the path in the declaration is correct and that the file exists on disk.
Resolve reuse of cuda_10.1.243_win10_network.exe installation
Question 2
CMake dlib solution exception
*
* 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: FRV / AI Learning / face recognition / dlib-master/build/dlib/cuda_test_build
***
* Run Build Command: "D:\ vs2017dev\ ide/MSBuild/15.0/Bin/MSBuild.exe"ALL_BUILD.vcxproj" / p:Configuration=Debug "/ p:VisualStudioVersion=15.0"
* Microsoft (R) Generation engine version 15.9.21+g9802d43bc3 for .NET Framework
* copyright (C) Microsoft Corporation. All rights reserved.
***
The start time of the build is 10:15:57 on 2019-11-22.
* the project "F:\ artificial intelligence learning\ face recognition\ dlib-master\ build\ dlib\ cuda_test_build\ ALL_BUILD.vcxproj" on node 1 (default target).
* the project "F:\ artificial intelligence learning\ face recognition\ dlib-master\ build\ dlib\ cuda_test_build\ ALL_BUILD.vcxproj" (1) is generating "F:\ artificial intelligence learning\ face recognition\ dlib-master\ build\ dlib\ cuda_test_build\ ZERO_CHECK.vcxproj" (2) (default target) on node 1.
* PrepareForBuild:
* creating directory "x64\ Debug\ ZERO_CHECK\".
* creating directory "x64\ Debug\ ZERO_CHECK\ ZERO_CHECK.tlog\".
* InitializeBuildStatus:
* "x64\ Debug\ ZERO_CHECK\ ZERO_CHECK.tlog\ unsuccessfulbuild" is being created because "AlwaysCreate" is specified.
* CustomBuild:
* Checking Build System
* CMake does not need to re-run because FRV / Bang clamped down on Hong Ying / Bang Hong Xuan Xuan / dlib-master/build/dlib/cuda_test_build/CMakeFiles/generate.stamp is up-to-date.
* FinalizeBuildStatus:
* deleting file "x64\ Debug\ ZERO_CHECK\ ZERO_CHECK.tlog\ unsuccessfulbuild".
* Touch task is in progress for "x64\ Debug\ ZERO_CHECK\ ZERO_CHECK.tlog\ ZERO_CHECK.lastbuildstate".
* the generation project "F:\ artificial Intelligence Learning\ face recognition\ dlib-master\ build\ dlib\ cuda_test_build\ ZERO_CHECK.vcxproj" (the default target) has been completed.
* the project "F:\ artificial intelligence learning\ face recognition\ dlib-master\ build\ dlib\ cuda_test_build\ ALL_BUILD.vcxproj" (1) is generating "F:\ artificial intelligence learning\ face recognition\ dlib-master\ build\ dlib\ cuda_test_build\ cuda_test.vcxproj" (3) (default target) on node 1.
* PrepareForBuild:
* creating directory "cuda_test.dir\ Debug\".
* the directory "F:\ artificial Intelligence Learning\ face recognition\ dlib-master\ build\ dlib\ cuda_test_build\ Debug\" is being created.
* creating directory "cuda_test.dir\ Debug\ cuda_test.tlog\".
* InitializeBuildStatus:
"cuda_test.dir\ Debug\ cuda_test.tlog\ unsuccessfulbuild" is being created because "AlwaysCreate" is already specified.
* ComputeCustomBuildOutput:
* the directory "F:\ artificial Intelligence Learning\ face recognition\ dlib-master\ build\ dlib\ cuda_test_build\ CMakeFiles\ cuda_test.dir\ Debug\" is being created.
* CustomBuild:
* Building NVCC (Device) object CMakeFiles/cuda_test.dir/Debug/cuda_test_generated_cuda_test.cu.obj
* CMake Error at cuda_test_generated_cuda_test.cu.obj.Debug.cmake:215 (message):
* Error generating
* FRV / Bang clamped down on Hong / Bang Hong / Bang Hong / dlib-master/build/dlib/cuda_test_build/CMakeFiles/cuda_test.dir//Debug/cuda_test_generated_cuda_test.cu.obj
***
***
* * D:\ vs2017dev\ ide\ Common7\ IDE\ VC\ VCTargets\ Microsoft.CppCommon.targets (209, 5): error MSB6006: "cmd.exe" has been exited, code is 1. [F:\ artificial intelligence learning\ face recognition\ dlib-master\ build\ dlib\ cuda_test_build\ cuda_test.vcxproj]
* the operation of generating project "F:\ artificial Intelligence Learning\ face recognition\ dlib-master\ build\ dlib\ cuda_test_build\ cuda_test.vcxproj" (default target) has been completed-failed.
* the operation of generating project "F:\ artificial Intelligence Learning\ face recognition\ dlib-master\ build\ dlib\ cuda_test_build\ ALL_BUILD.vcxproj" (default target) has been completed-failed.
***
* failed to generate.
***
* * "F:\ artificial intelligence learning\ face recognition\ dlib-master\ build\ dlib\ cuda_test_build\ ALL_BUILD.vcxproj" (default target) (1)->
* * "F:\ artificial intelligence learning\ face recognition\ dlib-master\ build\ dlib\ cuda_test_build\ cuda_test.vcxproj" (default target) (3)->
* (CustomBuild target)->
* * D:\ vs2017dev\ ide\ Common7\ IDE\ VC\ VCTargets\ Microsoft.CppCommon.targets (209, 5): error MSB6006: "cmd.exe" has been exited, code is 1. [F:\ artificial intelligence learning\ face recognition\ dlib-master\ build\ dlib\ cuda_test_build\ cuda_test.vcxproj]
***
* 0 warnings
* 1 error
***
* elapsed time 01.86
***
*
Disabling CUDA support for dlib. DLIB WILL NOT USE CUDA
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.