Fedora 19下OpenCV 2.4.4的安装与使用
在Fedora 19下OpenCV 2.4.4的安装与使用记录。
1.前提,需要安装cmake编译,安装工具
http://www.cmake.org/cmake/resources/software.html
下载
wget -c http://www.cmake.org/files/v2.8/cmake-2.8.11.2.tar.gz
解压
tar -xvf cmake-2.8.11.2.tar.gz
进入解压后目录
cd cmake-2.8.11.2
编译
make
安装
make install
2.下载OpenCV
wget -c http://sourceforge.net/projects/opencvlibrary/files/opencv-unix/2.4.4/OpenCV-2.4.4a.tar.bz2/download
解压
tar -xvf OpenCV-2.4.4.tar.bz2
cd OpenCV-2.4.4/
创建release目录
mkdir release
cd release
生成makefile文件
cmake -D CMAKE_BUILD_TYPE=RELEASE -D CMAKE_INSTALL_PREFIX=/usr/local -D BUILD_Python_SUPPORT=ON ..
编译与安装
make
sudo make intall
推荐阅读:
相关推荐
wonner 2020-05-07
learningCV 2020-11-10
learningCV 2020-08-25
huang00 2020-08-21
wangdaren 2020-08-15
BeanJoy 2020-07-28
csdmeb 2020-06-25
wangdaren 2020-06-14
pythonxuexi 2020-06-13
woniulx0 2020-06-13
greent00 2020-06-10
liangzuojiayi 2020-06-09
greent00 2020-06-09
csdmeb 2020-06-08
BeanJoy 2020-06-06
lihuifei 2020-06-05
wangdaren 2020-06-03