- 安装依赖库: sudo zypper install cmake git libgtk2.0-devel pkg-config libavcodec-devel libavformat-devel libswscale-devel python-devel python-numpy python-numpy-devel libtbb2 libtiff-devel libjasper-devel libdc1394-22-devel
-
cd ~/opencv mkdir release cd release cmake -D CMAKE_BUILD_TYPE=RELEASE -D CMAKE_INSTALL_PREFIX=/usr/local ..
-
make sudo make install
Ref:
http://docs.opencv.org/2.4/doc/tutorials/introduction/linux_install/linux_install.html
时间: 2025-01-04 21:54:14