Problems Installing OpenCV in Ubuntu Karmic (9.10)


I now have it working and wrote a guide of how I got it to work –


I found a great guide on getting OpenCV to install on Ubuntu Karmic (9.10) –

Most the comments show the guide works however I have a couple of problems:

Firstly when reloading the libraries to make opencv show up
ldconfig -v | grep opencv
That results in the following output:
/sbin/ldconfig.real: Cannot stat /lib/i486-linux-gnu: No such file or directory
/sbin/ldconfig.real: Cannot stat /lib64: No such file or directory

However continuing on with the installation and it is able to compile all the sample programs, but when attempting to run most of them it seems it fails at running the GUI:
OpenCV Error: Unspecified error (The function is not implemented. Rebuild the library with Windows, GTK+ 2.x or Carbon support. If you are on Ubuntu or Debian, install libgtk2.0-dev and pkg-config, then re-run cmake or configure script) in cvNamedWindow, file highgui/window.cpp, line 100
terminate called after throwing an instance of 'cv::Exception'

When I find the fix for this I will make sure to update the post, if you find my post and fix it yourself please leave a comment how you did it.

3 comments to Problems Installing OpenCV in Ubuntu Karmic (9.10)

Leave a Reply

You can use these HTML tags

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>