摘要:
我用的是ubuntu12.04LTS版本。sudo apt-get install build-essential首先在opencv的主页上下载linux安装包opencv.tar,解压到文件夹~/Download/然后确定依赖包都安装好,有ffmpeg,pkfconfig,libpng,zlib,libjpeg,libtiff,libjasper开始编译:cd ~/Download/opencv/mkdir releasecd relasecmake -D CMAKE_BUILD_TYPE=RELEASE -D CMAKE_INSTALL_PREFIX=/usr/local -Dmakesu 阅读全文