<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: OpenCV 2.0 on SnowLeopard 64bit via MacPorts</title>
	<atom:link href="http://blog.mgrundmann.com/?feed=rss2&#038;p=5" rel="self" type="application/rss+xml" />
	<link>http://blog.mgrundmann.com/?p=5</link>
	<description></description>
	<lastBuildDate>Tue, 16 Feb 2010 23:34:50 -0500</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.5</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Xavi</title>
		<link>http://blog.mgrundmann.com/?p=5&#038;cpage=1#comment-101</link>
		<dc:creator>Xavi</dc:creator>
		<pubDate>Tue, 16 Feb 2010 23:34:50 +0000</pubDate>
		<guid isPermaLink="false">http://blog.mgrundmann.com/2009/10/26/opencv-20-on-snowleopard-64bit-via-macports/#comment-101</guid>
		<description>Thanks a lot,
after a small twick it compiled perfectly. Basically, I am using ffmpeg-deve for some projects and it does not coexists well with ffmpeg. Given that I just need opencv for some of the functions in the libraries (and not for input/output of video) I just deleted the reference to ffmpeg in the Portfile and all compiled like a charm.</description>
		<content:encoded><![CDATA[<p>Thanks a lot,<br />
after a small twick it compiled perfectly. Basically, I am using ffmpeg-deve for some projects and it does not coexists well with ffmpeg. Given that I just need opencv for some of the functions in the libraries (and not for input/output of video) I just deleted the reference to ffmpeg in the Portfile and all compiled like a charm.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Cary</title>
		<link>http://blog.mgrundmann.com/?p=5&#038;cpage=1#comment-73</link>
		<dc:creator>Cary</dc:creator>
		<pubDate>Fri, 05 Feb 2010 20:08:31 +0000</pubDate>
		<guid isPermaLink="false">http://blog.mgrundmann.com/2009/10/26/opencv-20-on-snowleopard-64bit-via-macports/#comment-73</guid>
		<description>you rock</description>
		<content:encoded><![CDATA[<p>you rock</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Christy</title>
		<link>http://blog.mgrundmann.com/?p=5&#038;cpage=1#comment-72</link>
		<dc:creator>Christy</dc:creator>
		<pubDate>Fri, 05 Feb 2010 09:50:20 +0000</pubDate>
		<guid isPermaLink="false">http://blog.mgrundmann.com/2009/10/26/opencv-20-on-snowleopard-64bit-via-macports/#comment-72</guid>
		<description>Thanks Mattias.  it worked for me with a slight variation.  

I substituted 
--with-swig** 
for 
--with-python.

So the bottom of Portfile (as it exists on my computer) reads:

variant python_support description {Enables python support} {
configure.args-append –with-swig
}

And I installed as directed with:

sudo port install opencv +sl_64bit +python_support

To test the installation I found and ran the sample script &quot;morphology.py&quot; located under:
/Applications/OpenCV/build/OpenCV-2.0.0/samples/swig_python
on my computer.  it worked :)

-------------------------
** SWIG was downloaded from http://sourceforge.net/projects/swig/ and installed according to the instructions in the accompanying README file.

I also added the following line to my .bash_profile 

export PYTHONPATH=$PYTHONPATH:/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages:/opt/local/lib/python2.6/site-packages:/Library/Python/2.6/site-packages:/System/Library/Frameworks/Python.framework/Versions/2.6/Extras/lib/python/py2app/recipes/

... and sourced the newly edited file (i.e. &gt; source ~/.bash_profile)</description>
		<content:encoded><![CDATA[<p>Thanks Mattias.  it worked for me with a slight variation.  </p>
<p>I substituted<br />
&#8211;with-swig**<br />
for<br />
&#8211;with-python.</p>
<p>So the bottom of Portfile (as it exists on my computer) reads:</p>
<p>variant python_support description {Enables python support} {<br />
configure.args-append –with-swig<br />
}</p>
<p>And I installed as directed with:</p>
<p>sudo port install opencv +sl_64bit +python_support</p>
<p>To test the installation I found and ran the sample script &#8220;morphology.py&#8221; located under:<br />
/Applications/OpenCV/build/OpenCV-2.0.0/samples/swig_python<br />
on my computer.  it worked <img src='http://www.mgrundmann.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
** SWIG was downloaded from <a href="http://sourceforge.net/projects/swig/" rel="nofollow">http://sourceforge.net/projects/swig/</a> and installed according to the instructions in the accompanying README file.</p>
<p>I also added the following line to my .bash_profile </p>
<p>export PYTHONPATH=$PYTHONPATH:/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages:/opt/local/lib/python2.6/site-packages:/Library/Python/2.6/site-packages:/System/Library/Frameworks/Python.framework/Versions/2.6/Extras/lib/python/py2app/recipes/</p>
<p>&#8230; and sourced the newly edited file (i.e. &gt; source ~/.bash_profile)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Matthias</title>
		<link>http://blog.mgrundmann.com/?p=5&#038;cpage=1#comment-71</link>
		<dc:creator>Matthias</dc:creator>
		<pubDate>Fri, 05 Feb 2010 05:59:10 +0000</pubDate>
		<guid isPermaLink="false">http://blog.mgrundmann.com/2009/10/26/opencv-20-on-snowleopard-64bit-via-macports/#comment-71</guid>
		<description>Sure, download the Portfile and add this to the end of the file:

variant python_support description {Enables python support} {
	configure.args-append --with_python
}

Save and install via
sudo port install opencv +sl_64bit +python_support

Hope this helps.</description>
		<content:encoded><![CDATA[<p>Sure, download the Portfile and add this to the end of the file:</p>
<p>variant python_support description {Enables python support} {<br />
	configure.args-append &#8211;with_python<br />
}</p>
<p>Save and install via<br />
sudo port install opencv +sl_64bit +python_support</p>
<p>Hope this helps.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Christy</title>
		<link>http://blog.mgrundmann.com/?p=5&#038;cpage=1#comment-70</link>
		<dc:creator>Christy</dc:creator>
		<pubDate>Fri, 05 Feb 2010 04:58:22 +0000</pubDate>
		<guid isPermaLink="false">http://blog.mgrundmann.com/2009/10/26/opencv-20-on-snowleopard-64bit-via-macports/#comment-70</guid>
		<description>Hi, 

Thank you for providing these instructions.  I want to use your method to install OpenCV on Snow Leopard with the portfile you supply, but would also like to enable support for the OpenCV Python Interface.  According to the following page, http://www.tsd.net.au/blog/opencv-python-bindings-macports , python support can be enabled by installing openCV with &quot;cmake&quot; and the -D option:

    cmake ...  -D BUILD_PYTHON_SUPPORT=ON ...

Is there a way to enable python support via a macports install?

Thank you.</description>
		<content:encoded><![CDATA[<p>Hi, </p>
<p>Thank you for providing these instructions.  I want to use your method to install OpenCV on Snow Leopard with the portfile you supply, but would also like to enable support for the OpenCV Python Interface.  According to the following page, <a href="http://www.tsd.net.au/blog/opencv-python-bindings-macports" rel="nofollow">http://www.tsd.net.au/blog/opencv-python-bindings-macports</a> , python support can be enabled by installing openCV with &#8220;cmake&#8221; and the -D option:</p>
<p>    cmake &#8230;  -D BUILD_PYTHON_SUPPORT=ON &#8230;</p>
<p>Is there a way to enable python support via a macports install?</p>
<p>Thank you.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: zigazou</title>
		<link>http://blog.mgrundmann.com/?p=5&#038;cpage=1#comment-60</link>
		<dc:creator>zigazou</dc:creator>
		<pubDate>Wed, 27 Jan 2010 06:13:28 +0000</pubDate>
		<guid isPermaLink="false">http://blog.mgrundmann.com/2009/10/26/opencv-20-on-snowleopard-64bit-via-macports/#comment-60</guid>
		<description>When you still get error messages when building OpenCV, you should try &quot;sudo port clean OpenCV&quot; and start again.</description>
		<content:encoded><![CDATA[<p>When you still get error messages when building OpenCV, you should try &#8220;sudo port clean OpenCV&#8221; and start again.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Matthias</title>
		<link>http://blog.mgrundmann.com/?p=5&#038;cpage=1#comment-45</link>
		<dc:creator>Matthias</dc:creator>
		<pubDate>Sun, 17 Jan 2010 20:35:50 +0000</pubDate>
		<guid isPermaLink="false">http://blog.mgrundmann.com/2009/10/26/opencv-20-on-snowleopard-64bit-via-macports/#comment-45</guid>
		<description>Where does the segfault happen? I had problems with cvCalcOpticalFlowPyrLK in OpencV 2.0 and traced it back to openmp related calls. I recompiled it without openmp support which prevents the segfault. I added a new version of the Portfile with a &quot;+disable_openmp&quot; variant to the post. Let me know if that solves your problem.</description>
		<content:encoded><![CDATA[<p>Where does the segfault happen? I had problems with cvCalcOpticalFlowPyrLK in OpencV 2.0 and traced it back to openmp related calls. I recompiled it without openmp support which prevents the segfault. I added a new version of the Portfile with a &#8220;+disable_openmp&#8221; variant to the post. Let me know if that solves your problem.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Daniel</title>
		<link>http://blog.mgrundmann.com/?p=5&#038;cpage=1#comment-44</link>
		<dc:creator>Daniel</dc:creator>
		<pubDate>Sun, 17 Jan 2010 08:14:27 +0000</pubDate>
		<guid isPermaLink="false">http://blog.mgrundmann.com/2009/10/26/opencv-20-on-snowleopard-64bit-via-macports/#comment-44</guid>
		<description>Anybody got cvHaarDetectObjects running in 64bit mode? I&#039;ve the same problem as Nick with segfault in cvHaarDetect</description>
		<content:encoded><![CDATA[<p>Anybody got cvHaarDetectObjects running in 64bit mode? I&#8217;ve the same problem as Nick with segfault in cvHaarDetect</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: szibis</title>
		<link>http://blog.mgrundmann.com/?p=5&#038;cpage=1#comment-41</link>
		<dc:creator>szibis</dc:creator>
		<pubDate>Thu, 07 Jan 2010 12:32:43 +0000</pubDate>
		<guid isPermaLink="false">http://blog.mgrundmann.com/2009/10/26/opencv-20-on-snowleopard-64bit-via-macports/#comment-41</guid>
		<description>I have same problem with frei0r-plugins, and too solve the problem I get the source of OpenCV 2.0 from distfiles to /usr/src/, untar, and then run ./configure --prefix=/op/local, just like installer from port do.

Then configure creates cvconfig.h, and then i copy this header into includes of opencv after normal port install opencv from user profile.

remove the sources from /us/src/, and it&#039;s clean.

Then, when it&#039;s done i run again frei0r-plugins install, and it&#039;s works :)</description>
		<content:encoded><![CDATA[<p>I have same problem with frei0r-plugins, and too solve the problem I get the source of OpenCV 2.0 from distfiles to /usr/src/, untar, and then run ./configure &#8211;prefix=/op/local, just like installer from port do.</p>
<p>Then configure creates cvconfig.h, and then i copy this header into includes of opencv after normal port install opencv from user profile.</p>
<p>remove the sources from /us/src/, and it&#8217;s clean.</p>
<p>Then, when it&#8217;s done i run again frei0r-plugins install, and it&#8217;s works <img src='http://www.mgrundmann.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: luisrpp</title>
		<link>http://blog.mgrundmann.com/?p=5&#038;cpage=1#comment-36</link>
		<dc:creator>luisrpp</dc:creator>
		<pubDate>Mon, 28 Dec 2009 18:49:31 +0000</pubDate>
		<guid isPermaLink="false">http://blog.mgrundmann.com/2009/10/26/opencv-20-on-snowleopard-64bit-via-macports/#comment-36</guid>
		<description>Hi Matthias,

Thanks for sharing this. I finally got OpenCV 2.0 working in Snow Leopard with FFMpeg support.

The only thing that is not working is the iSight Camera.

Do you know how to fix this?

Thanks &amp; Regards,
Luis</description>
		<content:encoded><![CDATA[<p>Hi Matthias,</p>
<p>Thanks for sharing this. I finally got OpenCV 2.0 working in Snow Leopard with FFMpeg support.</p>
<p>The only thing that is not working is the iSight Camera.</p>
<p>Do you know how to fix this?</p>
<p>Thanks &#038; Regards,<br />
Luis</p>
]]></content:encoded>
	</item>
</channel>
</rss>
