ubuntu 11.10下裝opencv2.3

來源:互聯網
上載者:User

ubuntu內建的軟體中心裏面的 opencv版本是2.1,但是我想裝2.3,就在網上搜了下,有個貌似是個人的repository可以下載到。

具體點擊這裡查看,下面貼的是那篇部落格裡面的內容和我自己的一點補充:

OpenCV 2.3 packages for Ubuntu 11.10

Read more about the OpenCV project:
  * http://opencv.willowgarage.com/wiki/

Installation:
  $ sudo add-apt-repository ppa:gijzelaar/cuda
  $ sudo add-apt-repository ppa:gijzelaar/opencv2.3
  $ sudo apt-get update
  $ sudo apt-get install libcv-dev

Notes:
  * Backport from Debian Unstable
  * Which means all libs are split into separated packages (again)
  * OpenCV 2.3.1

If your upgrade of OpenCV and you are using this PPA please remove the libopencv2.3 package first:
   $ sudo apt-get remove libopencv2.3

Changes from Debian version:
  * TBB is enabled
  * SSE3 is enabled on AMD64
  * CUDA GPU computing is enabled
  * Optimized for i686+

--
Gijs Molenaar

按這個作者的步驟安裝完成以後沒後highgui的標頭檔和庫檔案,可以使用下面這個命令安裝完成:

sudo apt-get install libhighgui-dev

就好了。使用 pkg-config -libs opencv 可以查看裝好的庫檔案,用於連結。

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

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.