1.编译OpenCV报错cmake error :The INTERFACE, PUBLIC or PRIVATE option must appear as the second argument
一定先根据项目README版本号执行安装:"opencv and opencv_contrib are both 4.1.0"我当时下载.zip未确认对应版本号导致编译错误。
选择对应版本号(4.1.0)即可
1.编译OpenCV报错cmake error :The INTERFACE, PUBLIC or PRIVATE option must appear as the second argument
一定先根据项目README版本号执行安装:"opencv and opencv_contrib are both 4.1.0"我当时下载.zip未确认对应版本号导致编译错误。
选择对应版本号(4.1.0)即可