Politikprobleme mit CMake und OpenCV

Post a reply

Smilies
:) :( :oops: :chelo: :roll: :wink: :muza: :sorry: :angel: :read: *x) :clever:
View more smilies

BBCode is ON
[img] is ON
[flash] is OFF
[url] is ON
Smilies are ON

Topic review
   

Expand view Topic review: Politikprobleme mit CMake und OpenCV

by Guest » 25 Jan 2025, 13:53

Ich habe zwei Tage damit verbracht, diese Probleme zu beheben. Ich versuche, für OpenCV mit GPU meinen Code auszuführen, da er mit CPU wirklich verzögert wird. Problem < /p>

Code: Select all

CMake Warning (dev) at cmake/OpenCVUtils.cmake:144 (find_package):
Policy CMP0148 is not set: The FindPythonInterp and FindPythonLibs modules
are removed.  Run "cmake --help-policy CMP0148" for policy details.  Use
the cmake_policy command to set the policy and suppress this warning.`

Call Stack (most recent call first):
cmake/OpenCVDetectPython.cmake:64 (find_host_package)
cmake/OpenCVDetectPython.cmake:271 (find_python)
CMakeLists.txt:643 (include)
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at cmake/OpenCVUtils.cmake:144 (find_package):
Policy CMP0146 is not set: The FindCUDA module is removed.  Run "cmake --help-policy CMP0146" for policy details.  Use the cmake_policy command to
set the policy and suppress this warning.`

Call Stack (most recent call first):
cmake/OpenCVDetectCUDA.cmake:21 (find_host_package)
cmake/OpenCVFindLibsPerf.cmake:43 (include)
CMakeLists.txt:750 (include)
This warning is for project developers.  Use -Wno-dev to suppress it.
Ich habe erfahren, dass es sich um eine neue Richtlinie handelt, und ich habe versucht, cmakelist.txt zu ändern, aber es funktioniert einfach nicht.
Ich habe versucht, CMake neu zu installieren, funktioniert aber auch nicht. Drücken Sie "All Build", aber es machte zufällig Hunderte von C1083 -Fehler .
Der Fehler kann wie
sein`C:/Users/擐祆???Documents/OpenCV_Cmake_Document/opencv-4.7.0/modules/imgproc/src/precomp.hpp': No such file or directory opencv_world_AVX512_SKX `

< /code>
Ich bin taiwanesisch, daher kann das Problem durch die Sprache verursacht werden. Meine GPU ist GeForce RTC3080. < /p>
Ich habe versucht, die Warnung zu ignorieren, aber das funktioniert nicht. /i.sstatic.net/n1kie.png "/>

Top