When I’m using cmaie to configure a sln file in DBoW2/build, it throws this error, but I’m sure that I have set the OpenCV_DIR’s value D:/opencv/opencv/build. I used to use visual studio 2019 as my generater and it worked, but now it has this error when I use visual studio 2022, why?
enter image description here
I tried to set OpenCV_DIR and print the version of opencv in the cmakelist.txt, but I can only get the information of OpenCV_DIR, the version of opencv is lost!
I expect to fix this problem, I must be fast to configure orb-slam3 on windows, it’s a necessary part of my one competition.
王靖斌 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.