<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Topics tagged with kinetic kinect]]></title><description><![CDATA[A list of topics that have been tagged with kinetic kinect]]></description><link>http://community.bwbot.org/tags/kinetic kinect</link><generator>RSS for Node</generator><lastBuildDate>Tue, 21 Apr 2026 01:29:28 GMT</lastBuildDate><atom:link href="http://community.bwbot.org/tags/kinetic kinect.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 24 Apr 2017 02:02:30 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[iai_kinect2 ros kinetic下编译错误的问题]]></title><description><![CDATA[<p dir="auto">在ROS kinetic 版本下编译iai_kinect2会存在下面的错误</p>
<pre><code>/opt/ros/kinetic/include/opencv-3.2.0-dev/opencv2/flann/saving.h:113:63: error: exception handling disabled, use -fexceptions to enable
throw FLANNException("Invalid index file, cannot read");
</code></pre>
<p dir="auto">出现这个问题的原因是kinetic版本默认使用的OpenCV-3.2。有一个编译选项在以前版本是没问题的，在OpenCV-3.2就有点问题。这就是<code>-fexceptions</code></p>
<h4>解决方法</h4>
<p dir="auto">把 <code>iai_kinect2/kinect2_registration/CMakeLists.txt</code>的66行删掉</p>
<pre><code>set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fno-exceptions")
</code></pre>
<p dir="auto">在官方的源上已经有人提出了这个<a href="https://github.com/code-iai/iai_kinect2/pull/397/files" target="_blank" rel="noopener noreferrer">pull request</a>, 然而官方还没有merge进去。希望以后能解决这个问题吧。</p>
]]></description><link>http://community.bwbot.org/topic/187/iai_kinect2-ros-kinetic下编译错误的问题</link><guid isPermaLink="true">http://community.bwbot.org/topic/187/iai_kinect2-ros-kinetic下编译错误的问题</guid><dc:creator><![CDATA[weijiz]]></dc:creator><pubDate>Mon, 24 Apr 2017 02:02:30 GMT</pubDate></item></channel></rss>