opencv2和opencv3共存会导致运行时问题,须分开
下载源码
cmake -D CMAKE_BUILD_TYPE=RELEASE -D CMAKE_INSTALL_PREFIX=/home/pxf/study/OpenCV -D BUILD_PYTHON_SUPPORT=ON ..
make
make install
【opencv】opencv2和opencv3共存——安装opencv2和opencv3到指定目录
原文:https://www.cnblogs.com/zealousness/p/10046953.html