Install Opencv2.2.0 in Ubuntu 10.04
来源:互联网 发布:网络语gn是什么意思 编辑:程序博客网 时间:2024/05/16 06:04
Steps for install Opencv2.2.0 in Ubuntu 10.04
Reference:
I http://alexsleat.co.uk/2009/12/02/howto-install-opencv-in-ubuntu-karmic-9-10/
II http://opencv.willowgarage.com/wiki/InstallGuide_Linux
1, Make sure the latest GTK, GCC 4.x or later
$ sudo apt-get install build-essential libgtk2.0-dev
2, Configure and install ffmpeg
Download the ffmpeg from "http://ffmpeg.org/releases/ffmpeg-0.5.tar.bz2"
$ tar -jxvf ffmpeg-0.5.tar.bz2
$ mv ./ffmpeg-0.5 ~/software ----------(move ffmpeg file into your own file, there my is "~/software")
$ cd ~/software/ffmpeg-0.5 -----------(enable shared)
$ make
$ sudo make install
3, I already have downloads opencv2.2.0 sources in "~/Donwloads/OpenCV-2.2.0.tar.bz2"
$ tar -jxvf OpenCV-2.2.0.tar.bz2
$ mv ./OpenCV-2.2.0 ~/sotware -------------(move opencv file into your own software file,)
$ cd ~/OpenCV-2.2.0
$ cmake -D CMAKE_BUILD_TYPE=RELEASE -D CMAKE_INSTALL_PREFIX=/usr/local -D BUILD_PYTHON_SUPPORT=ON -D BUILD_EXAMPLES=ON ~/software/OpenCV-2.2.0/
$ make
$ sudo make install
$ cd ./samples/c -------------------(turn to c file, and compile it)
$ .build_all.sh --------------------(this is so simple, we can only ".build_all.sh")
$ cd ../cpp -------------------(turn to cpp file, and compile it)
$ cmake -D CMAKE_BUILD_TYPE=RELEASE -D CMAKE_INSTALL_PREFIX=/usr/local -D BUILD_PYTHON_SUPPORT=ON -D BUILD_EXAMPLES=ON ~/software/OpenCV-2.2.0/samples/cpp/
- Install Opencv2.2.0 in Ubuntu 10.04
- ubuntu python3 install opencv2
- warden install in ubuntu 10.04
- Install OpenCV2.4.9 in Ubuntu12.04 LTS
- Install Matlab R2009a in Ubuntu 10.04
- HOWTO: Install gcc-3.4 in ubuntu 10.04
- Install Opencv2.4.9 on Ubuntu 16.04 LTS
- install tftpd in ubuntu
- Install nasm in Ubuntu
- install modelsim in ubuntu
- MySql install in Ubuntu
- TinyOS install in Ubuntu
- Install Trac In Ubuntu
- Install tomcat in Ubuntu
- install Java in ubuntu
- SystemC install in ubuntu
- Install chrome in Ubuntu
- install jdk in ubuntu
- vs2003快捷键速查
- Regular steps to install Ubuntu
- 在配置文件中配置国际化
- Install Matlab R2009a in Ubuntu 10.04
- html meta 详解
- Install Opencv2.2.0 in Ubuntu 10.04
- Java配置环境变量设置
- kmalloc的标志
- MyEclipse6.0快捷键大全
- 操作系统银行家算法(堪称很棒)
- 查看備份還原信息
- inherited, dynamic ,virtual , override , overload
- Linux USB驱动框架分析
- 单片机学习和应用百问大全