首先用Homebrew安装opencv $ brew install opencv#默认安装最新版本 $ brew install opencv@3#指定版本openCV3 安装完毕后,在Clion中配置CMakeLists.txt文件 cmake_minimum_required(VERSION 3.9) project(untitled1) set(CMAKE_CXX_STANDARD 11) #find_library(OpenCV) find_package(OpenCV) include_directories(${O...