<?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[编译moveit2报错]]></title><description><![CDATA[<p dir="auto">根据https://blog.csdn.net/qq_44940689/article/details/137968166操作，到编译那一步，报错如下：</p>
<h2>--- stderr: moveit_core<br />
/usr/bin/ld: CMakeFiles/test_all_valid.dir/test/test_all_valid.cpp.o: in function <code>AllValid_Instantiate_Test::TestBody()': test_all_valid.cpp:(.text+0x5ba): undefined reference to </code>collision_detection::CollisionEnvAllValid::CollisionEnvAllValid(std::shared_ptr&lt;moveit::core::RobotModel const&gt; const&amp;, double, double)'<br />
collect2: error: ld returned 1 exit status<br />
gmake[2]: *** [collision_detection/CMakeFiles/test_all_valid.dir/build.make:287: collision_detection/test_all_valid] Error 1<br />
gmake[1]: *** [CMakeFiles/Makefile2:2285: collision_detection/CMakeFiles/test_all_valid.dir/all] Error 2<br />
gmake: *** [Makefile:146: all] Error 2</h2>
<p dir="auto">Failed   &lt;&lt;&lt; moveit_core [1.12s, exited with code 2]<br />
Aborted  &lt;&lt;&lt; launch_param_builder [2.20s]</p>
<p dir="auto">Summary: 12 packages finished [3.00s]<br />
1 package failed: moveit_core<br />
1 package aborted: launch_param_builder<br />
1 package had stderr output: moveit_core<br />
42 packages not processed</p>
]]></description><link>https://fishros.org.cn/forum/topic/4722/编译moveit2报错</link><generator>RSS for Node</generator><lastBuildDate>Mon, 14 Sep 2026 07:50:33 GMT</lastBuildDate><atom:link href="https://fishros.org.cn/forum/topic/4722.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 09 Feb 2026 10:51:01 GMT</pubDate><ttl>60</ttl></channel></rss>