0

anyone know how to get a working install of opencv in karmic? I've tried pretty much every way i can find in a google search and none seem to work..

1
  • 2
    Could you mention what error you are facing ?
    – Sathyajith Bhat
    Nov 22, 2009 at 14:09

3 Answers 3

2

Are you looking for the Open Source Computer Vision library, OpenCV?

The 1.0 version is available in Karmic's universe repositories. You'll need to make sure that repository is enabled in your package manager. According to this post, you want to run this command to install all the library packages, or edit the list to leave off packages you don't want:

sudo apt-get install libcv1 libcvaux1 libcvaux-dev libcv-dev libhighgui1 libhighgui-dev opencv-doc python-opencv

If you want the 2.0 version, you'll need to grab the OpenCV 2.0 source from Sourceforge and build it yourself. See the OpenCV wiki and 2.0 Release Notes for details.

2

I just wrote a guide of how I got it to work, might be use to you -> http://alexsleat.com/2009/12/02/howto-install-opencv-in-ubuntu-karmic-9-10/

0

To install OpenCV using the terminal on Ubuntu:

$ su -
# apt-get update
# apt-get install build-essential
# apt-get install libavformat-dev
# apt-get install x264 v4l-utils ffmpeg
# apt-get install libcv2.3 libcvaux2.3 libhighgui2.3 python-opencv opencv-doc libcv-dev libcvaux-dev libhighgui-dev

OpenCV should be installed in /usr/local/ Installation Directory

You may also want to compile and view examples

$ cp -r /usr/share/doc/opencv-doc/examples .
$ cd examples
$ cd c
$ sh build_all.sh

Source: http://namhuy.net/1205/how-to-install-opencv-on-ubuntu.html

You must log in to answer this question.