首页 > 代码库 > openSUSE 下安装 OpenCV

openSUSE 下安装 OpenCV

  • 安装依赖库: 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

openSUSE 下安装 OpenCV