<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Alex Sleat &#187; OpenCV</title>
	<atom:link href="http://alexsleat.co.uk/tag/opencv/feed/" rel="self" type="application/rss+xml" />
	<link>http://alexsleat.co.uk</link>
	<description>/home/alex</description>
	<lastBuildDate>Thu, 15 Jul 2010 09:50:43 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Yet Another OpenCV/Karmic error – symbol lookup error: /usr/local/lib/libhighgui.so.4</title>
		<link>http://alexsleat.co.uk/2010/02/04/yet-another-opencvkarmic-error-%e2%80%93-symbol-lookup-error-usrlocalliblibhighgui-so-4/</link>
		<comments>http://alexsleat.co.uk/2010/02/04/yet-another-opencvkarmic-error-%e2%80%93-symbol-lookup-error-usrlocalliblibhighgui-so-4/#comments</comments>
		<pubDate>Thu, 04 Feb 2010 10:08:53 +0000</pubDate>
		<dc:creator>Alex</dc:creator>
				<category><![CDATA[OpenCV]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[9.10]]></category>
		<category><![CDATA[error]]></category>
		<category><![CDATA[karmic]]></category>
		<category><![CDATA[libhighgui.so.4]]></category>
		<category><![CDATA[lookup]]></category>
		<category><![CDATA[symbol]]></category>

		<guid isPermaLink="false">http://alexsleat.co.uk/?p=47</guid>
		<description><![CDATA[<br/>symbol lookup error: /usr/local/lib/libhighgui.so.4: undefined symbol: av_free_packet To fix it simply make sure /usr/local/lib is in your library path by using the following command: export LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH]]></description>
			<content:encoded><![CDATA[<br/><p><code>symbol lookup error: /usr/local/lib/libhighgui.so.4: undefined symbol: av_free_packet</code></p>
<p>To fix it simply make sure /usr/local/lib is in your library path by using the following command:</p>
<p><code>export LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH</code></p>
]]></content:encoded>
			<wfw:commentRss>http://alexsleat.co.uk/2010/02/04/yet-another-opencvkarmic-error-%e2%80%93-symbol-lookup-error-usrlocalliblibhighgui-so-4/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>HowTo: Install OpenCV in Ubuntu Karmic (9.10)</title>
		<link>http://alexsleat.co.uk/2009/12/02/howto-install-opencv-in-ubuntu-karmic-9-10/</link>
		<comments>http://alexsleat.co.uk/2009/12/02/howto-install-opencv-in-ubuntu-karmic-9-10/#comments</comments>
		<pubDate>Wed, 02 Dec 2009 09:50:25 +0000</pubDate>
		<dc:creator>Alex</dc:creator>
				<category><![CDATA[HowTo]]></category>
		<category><![CDATA[OpenCV]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[9.10]]></category>
		<category><![CDATA[guide]]></category>
		<category><![CDATA[how to]]></category>
		<category><![CDATA[install]]></category>
		<category><![CDATA[karmic]]></category>

		<guid isPermaLink="false">http://alexsleat.co.uk/?p=5</guid>
		<description><![CDATA[<br/>Heres how I got OpenCV installed: First install some needed packages sudo apt-get install build-essential libgtk2.0-dev Now you need to grab FFmpeg for the install to work svn checkout svn://svn.ffmpeg.org/ffmpeg/trunk ffmpeg The svn didn’t work for me, probably something to &#8230; <a href="http://alexsleat.co.uk/2009/12/02/howto-install-opencv-in-ubuntu-karmic-9-10/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<br/><div id="sites-canvas-main-content">
<table cellspacing="0">
<tbody>
<tr>
<td>
<div dir="ltr">
<p>Heres how I got OpenCV installed:</p>
<p>First install some needed packages</p>
<p><code>sudo apt-get install build-essential libgtk2.0-dev</code></p>
<p>Now you need to grab FFmpeg for the install to work</p>
<p><code>svn checkout svn://svn.ffmpeg.org/ffmpeg/trunk ffmpeg</code></p>
<p>The svn didn’t work for me, probably something to do with the proxy I’m under at Uni so I had to grab the source and compile it:</p>
<p>Download – <a rel="nofollow" href="http://ffmpeg.org/releases/ffmpeg-0.5.tar.bz2">http://ffmpeg.org/releases/ffmpeg-0.5.tar.bz2</a></p>
<p>(skip the tar step if you svn the package)</p>
<p><code>tar -jxvf ffmpeg-0.5.tar.bz2</code></p>
<p>Configure and install ffmpeg</p>
<p><code>cd ffmpeg</code></p>
<p><code>./configure --enable-shared</code></p>
<p><code>make</code></p>
<p><code> </code></p>
<p><code>sudo make install</code></p>
<p>Next grab a copy of OpenCV (I used OpenCV-2.0.0.tar.bz2 in this guide)</p>
<p>Download – <a rel="nofollow" href="http://sourceforge.net/projects/opencvlibrary/files/opencv-unix/2.0/">http://sourceforge.net/projects/opencvlibrary/files/opencv-unix/2.0/</a></p>
<p><code>tar -jxvf OpenCV-2.0.0.tar.bz2</code></p>
<p><code>cd OpenCV-2.0.0</code></p>
<p><code>./configure --with-ffmpeg --with-gtk --with-quicktime=false</code></p>
<p><code>make</p>
<p></code></p>
<p><code>sudo make install</code></p>
<p>Now you should be setup, try running one of the sample programs to test it:</p>
<p><code>cd samples/c/</code></p>
<p><code>. build_all.sh</code></p>
<p><code> </code></p>
<p><code>./facedetect</code></p>
</div>
</td>
</tr>
</tbody>
</table>
</div>
]]></content:encoded>
			<wfw:commentRss>http://alexsleat.co.uk/2009/12/02/howto-install-opencv-in-ubuntu-karmic-9-10/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Problems Installing OpenCV in Ubuntu Karmic (9.10)</title>
		<link>http://alexsleat.co.uk/2009/12/01/problems-installing-opencv-in-ubuntu-karmic-9-10/</link>
		<comments>http://alexsleat.co.uk/2009/12/01/problems-installing-opencv-in-ubuntu-karmic-9-10/#comments</comments>
		<pubDate>Tue, 01 Dec 2009 10:03:52 +0000</pubDate>
		<dc:creator>Alex</dc:creator>
				<category><![CDATA[HowTo]]></category>
		<category><![CDATA[OpenCV]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[9.10]]></category>
		<category><![CDATA[how to]]></category>
		<category><![CDATA[install]]></category>
		<category><![CDATA[karmic]]></category>
		<category><![CDATA[problems]]></category>

		<guid isPermaLink="false">http://alexsleat.co.uk/?p=33</guid>
		<description><![CDATA[<br/>UPDATE I now have it working and wrote a guide of how I got it to work - http://alexsleat.com/2009/12/02/howto-install-opencv-in-ubuntu-karmic-9-10/ END UPDATE I found a great guide on getting OpenCV to install on Ubuntu Karmic (9.10) –http://ivkin.net/2009/11/installing-opencv-2-0-on-ubuntu-9-10-karmic-koala/ Most the comments show &#8230; <a href="http://alexsleat.co.uk/2009/12/01/problems-installing-opencv-in-ubuntu-karmic-9-10/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<br/><p><strong>UPDATE</strong></p>
<blockquote><p>I now have it working and wrote a guide of how I got it to work -</p>
<p><a href="http://alexsleat.com/2009/12/02/howto-install-opencv-in-ubuntu-karmic-9-10/">http://alexsleat.com/2009/12/02/howto-install-opencv-in-ubuntu-karmic-9-10/</a></p></blockquote>
<p><strong>END UPDATE</strong></p>
<p>I found a great guide on getting OpenCV to install on Ubuntu Karmic (9.10) –<a href="http://ivkin.net/2009/11/installing-opencv-2-0-on-ubuntu-9-10-karmic-koala/">http://ivkin.net/2009/11/installing-opencv-2-0-on-ubuntu-9-10-karmic-koala/</a></p>
<p>Most the comments show the guide works however I have a couple of problems:</p>
<p>Firstly when reloading the libraries to make opencv show up<br />
<code>ldconfig -v | grep opencv</code><br />
That results in the following output:<br />
<code>/sbin/ldconfig.real: Cannot stat /lib/i486-linux-gnu: No such file or directory<br />
/sbin/ldconfig.real: Cannot stat /lib64: No such file or directory<br />
/usr/local/opencv/lib:</code></p>
<p>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:<br />
<code>./facedetect<br />
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<br />
terminate called after throwing an instance of 'cv::Exception'<br />
Aborted</code></p>
<p>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.</p>
]]></content:encoded>
			<wfw:commentRss>http://alexsleat.co.uk/2009/12/01/problems-installing-opencv-in-ubuntu-karmic-9-10/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
