Errors occur when installing moveit from source

asked 2017-10-26 20:48:14 -0600

pdmike gravatar image

updated 2017-10-26 20:50:49 -0600

Hello, I downloaded the source of moveit according tolink text (my ros version is indigo). When i used catkin build to compile the codes, some errors occurred image description . And i have installed the one of three dependencies, OMPL, and compiling is completed. Do you have any idea about the errors and should i install the rest 2 dependencies?

Errors     << moveit_ros_warehouse:make /home/aicrobo/depend/logs/moveit_ros_warehouse/build.make.005.log
/home/aicrobo/depend/devel/.private/moveit_ros_warehouse/lib/libmoveit_warehouse.so.0.7.3: undefined reference to `std::string mongo::integerToHex<int>(int)'
/home/aicrobo/depend/devel/.private/moveit_ros_warehouse/lib/libmoveit_warehouse.so.0.7.3: undefined reference to `mongo::logger::LogstreamBuilder::~LogstreamBuilder()'
/home/aicrobo/depend/devel/.private/moveit_ros_warehouse/lib/libmoveit_warehouse.so.0.7.3: undefined reference to `mongo::logger::LogstreamBuilder::LogstreamBuilder(mongo::logger::LogDomain<mongo::logger::MessageEventEphemeral>*, std::string const&, mongo::logger::LogSeverity)'
/home/aicrobo/depend/devel/.private/moveit_ros_warehouse/lib/libmoveit_warehouse.so.0.7.3: undefined reference to `mongo::logger::globalLogManager()'
/home/aicrobo/depend/devel/.private/moveit_ros_warehouse/lib/libmoveit_warehouse.so.0.7.3: undefined reference to `mongo::logger::LogstreamBuilder::makeStream()'
/home/aicrobo/depend/devel/.private/moveit_ros_warehouse/lib/libmoveit_warehouse.so.0.7.3: undefined reference to `mongo::invariantFailed(char const*, char const*, unsigned int)'
collect2: error: ld returned 1 exit status
make[2]: *** [/home/aicrobo/depend/devel/.private/moveit_ros_warehouse/lib/moveit_ros_warehouse/moveit_init_demo_warehouse] Error 1
make[1]: *** [warehouse/CMakeFiles/moveit_init_demo_warehouse.dir/all] Error 2
make: *** [all] Error 2
edit retag flag offensive close merge delete

Comments

I had errors with mongo, so I checked what is installed in my system, using synaptic, and removed all packages except "ros-indigo-warehouse-ros" and "ros-indigo-moveit-ros-warehouse" and recompiled and those errors disappeared. Another possibilities could be versions incompatibility.

ghanimmukhtar gravatar image ghanimmukhtar  ( 2017-12-04 09:57:46 -0600 )edit

As an example of error caused by incompatibility check this issue. It could give you an insight

ghanimmukhtar gravatar image ghanimmukhtar  ( 2017-12-04 10:11:13 -0600 )edit

Thank you for your reply and i will give you some feedback after trying it

pdmike gravatar image pdmike  ( 2017-12-05 19:47:50 -0600 )edit