Home > Linux, Vision > Linux下GCC配制安装OpenCV2.2

Linux下GCC配制安装OpenCV2.2

现在都在Ubuntu下面工作了,于是必须得装个OpenCV才行。Intel OpenCV 2.2 是目前的最新版。

  1. 下载OpenCV 2.2,地址http://www.opencv.org.cn/download/OpenCV-2.2.0.tar.
  2. 安装cmake
    sudo apt-get install cmake
    sudo apt-get install cmake-qt-gui
  3. 打开cmake
    sudo cmake-gui
    其中,Browse Source对应源码文件夹,Browse Build对应OpenCV-build文件夹。点configure,再点Generate就可以了。
  4. 进入OpenCV-build,运行sudo make
  5. 安装,输入sudo make install

这样就完成了!

Advertisements
Categories: Linux, Vision
  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: