OpenCV2.2 installation record in Ubuntu10.04

Source: Internet
Author: User
I have been studying in Ubuntu recently, and I have also seen that OpenCV is already in version 2.2 (it is estimated that it has been upgraded for a long time, but I am ignorant). Let's start installing it ~ 1. Download The OpenCV2.2 source code package. 2.

I have been studying in Ubuntu recently, and I have also seen that OpenCV is already in version 2.2 (it is estimated that it has been upgraded for a long time, but I am ignorant). Let's start installing it ~

1. Download The OpenCV 2.2 source code package at http://www.opencv.org.cn/download/opencv-2.2.0.tar.bz2. You can use the apt-get install command to find the opencv package and install it directly. However, we recommend that you start from the source code package.

2. Install cmake. keystore. This is the "makefile" of cmake. Through this file, cmake first configures the source code to the regular installation package and generates the Makefile file of make of gcc.

Well, first, create a folder OpenCV-build in the directory at the same level as the source code package, and then install cmake. Sudo apt-get install cmake under the terminal, and then sudo apt-get install cmake-qt-gui. After the installation is successful, enter cmake-gui on the terminal to open an interface:

Click "Browse Source" to select the extracted Source code folder, click "Browse Build" to select the OpenCV-build folder you just created, and click "configure". Then, you can click "Generate, however, the Generate button is still gray. Click the configure button again. You can click Generate to see the success prompt below.

3. Open the OpenCV-build folder and the Makefile file appears, as shown in the following figure:

Open the terminal, go to OpenCV-build, and enter make. This series of sharp installation processes should appear...

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.