且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

Ubuntu OpenCV无法编译

更新时间:2023-09-30 13:39:52

您必须具有opencv_contrib和opencv本身的匹配版本.

在opencv github下,转到 OpenCV版本并下载3.2.0(应该与master分支中的相同).

Under the opencv github, go to the OpenCV releases and download the 3.2.0 (it should be the same in the master branch).

现在,转到 https://github.com/opencv/opencv_contrib/releases 并下载3.2.0.然后,您将使两个版本都匹配.

Now, go to https://github.com/opencv/opencv_contrib/releases and download the 3.2.0. Then you will have both versions matching.

之后,在opencv_contrib master分支的README.md上找到的所有cmake命令都应该可以正常工作.

After that all the cmake commands found on the README.md at opencv_contrib master branch should work fine.