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