opencv3.2 编译安装说明


  • Create a temporary directory, which we denote as <cmake_binary_dir>, where you want to put the generated Makefiles, project files as well the object filees and output binaries

  • Enter the <cmake_binary_dir> and type

    cmake [<some optional parameters>] <path to the OpenCV source directory> 

    For example

    cd ~/opencv
    mkdir release
    cd release cmake -D CMAKE_BUILD_TYPE=RELEASE -D CMAKE_INSTALL_PREFIX= /usr/local 
  • Enter the created temporary directory (<cmake_binary_dir>) and proceed with:

    make
    sudo make install

    转自http://www.opencv.org.cn/opencvdoc/2.3.2/html/doc/tutorials/introduction/linux_install/linux_install.html

  • 免责声明!

    本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



     
    粤ICP备18138465号  © 2018-2025 CODEPRJ.COM