Error in ubuntu configuration opencv

Error in ubuntu configuration opencv

CMake Error: The source directory “×××” does not appear to contain CMakeLists.txt.

The two bloggers below can just combine to complete the relevant configuration.
https://www.cnblogs.com/chenguifeng/p/12639756.html
https://blog.csdn.net/qq_45488453/article/details/110289423
https://opencv.org/releases/page/3/I
download The URL of opencv3.4.5 is attached:
https://opencv.org/releases/page/3/

So why does CMake Error: The source directory “/×××” does not appear to contain CMakeLists.txt. In fact, the reason is very simple. Check whether the bulid file you created is in the folder where opencv has been decompressed. It needs to be in the opencv folder. Create it in the unzipped folder and follow the blogger's steps above to compile smoothly.

Guess you like

Origin blog.csdn.net/qq_45639509/article/details/115700024