文件都在 下载链接: 百度云 密码: deih
里
opencv 2.4.11 源码
or
opencv 2.4.13 源码
将opencv-2.4.1*.zip
解压出来
$ mkdir build
$ cd build
$cmake -D CMAKE_BUILD_TYPE=RELEASE \
-D CMAKE_INSTALL_PREFIX=/usr/local \
-D INSTALL_C_EXAMPLES=ON \
-D INSTALL_PYTHON_EXAMPLES=ON \
-D WITH_TBB=ON \
-D BUILD_EXAMPLES=ON ..
opencv-3.0.0.zip
[ocv_contrib-3.0.0.zip
ippicv_linux_20141027.tgz
将opencv-3.0.0.zip
和opencv_contrib-3.0.0.zip
解压出来
$ mkdir build
$ cd build
$cmake -D CMAKE_BUILD_TYPE=RELEASE \
-D CMAKE_INSTALL_PREFIX=/usr/local \
-D INSTALL_C_EXAMPLES=ON \
-D INSTALL_PYTHON_EXAMPLES=ON \
-D WITH_TBB=ON \
-D OPENCV_EXTRA_MODULES_PATH=<change to opencv_contrib_modules> \
-D BUILD_EXAMPLES=ON ..
执行完上面的命令,在看到正在下载ippicv_linux_20141027.tgz
的时候按Ctrl-C
停止cmake,将ippicv_linux_20141027.tgz
替换opencv-3.0.0/3rdparty/ippicv/downloads/linux-********/ippicv_linux_20141027.tgz
(ps:********
代表一串十六进制数,这个数是随机的,但是应该只有一个这个文件夹)
$cmake -D CMAKE_BUILD_TYPE=RELEASE \
-D CMAKE_INSTALL_PREFIX=/usr/local \
-D INSTALL_C_EXAMPLES=ON \
-D INSTALL_PYTHON_EXAMPLES=ON \
-D WITH_TBB=ON \
-D OPENCV_EXTRA_MODULES_PATH=<change to opencv_contrib_modules> \
-D BUILD_EXAMPLES=ON ..
opencv-3.1.0.zip
ocv_contrib-3.1.0.zip
ippicv_linux_20151201.tgz
将opencv-3.1.0.zip
和ocv_contrib-3.1.0.zip
解压出来
$ mkdir build
$ cd build
$cmake -D CMAKE_BUILD_TYPE=RELEASE \
-D CMAKE_INSTALL_PREFIX=/usr/local \
-D INSTALL_C_EXAMPLES=ON \
-D INSTALL_PYTHON_EXAMPLES=ON \
-D WITH_TBB=ON \
-D OPENCV_EXTRA_MODULES_PATH=`` \
-D BUILD_EXAMPLES=OFF ..
执行完上面的命令,在看到正在下载ippicv_linux_20151201.tgz
的时候按Ctrl-C
停止cmake,将ippicv_linux_20151201.tgz
替换opencv-3.1.0/3rdparty/ippicv/downloads/linux-********/ippicv_linux_20151201.tgz
(ps:********
代表一串十六进制数,这个数是随机的,但是应该只有一个这个文件夹)
$cmake -D CMAKE_BUILD_TYPE=RELEASE \
-D CMAKE_INSTALL_PREFIX=/usr/local \
-D INSTALL_C_EXAMPLES=ON \
-D INSTALL_PYTHON_EXAMPLES=ON \
-D WITH_TBB=ON \
-D OPENCV_EXTRA_MODULES_PATH=`` \
-D BUILD_EXAMPLES=OFF ..
$make -j4 # 跟核心数一样最好
$sudo make install
opencv on git.oschina.net
https://git.oschina.net/hoseahsu/opencv.git
opencv_contrib on git.oschina.net
https://git.oschina.net/hoseahsu/opencv_contrib.git
opencv on github
https://github.com/opencv/opencv.git
opencv_contrib on github
https://github.com/opencv/opencv_contrib.git
微信 | 支付宝 |
---|---|