Ask Your Question
0

Moveit! make Invoking "make -j4 -l4" failed

asked 2015-10-18 15:48:46 -0600

Adibot gravatar image

updated 2015-10-18 19:04:35 -0600

William gravatar image

I'm trying to install Moveit! as per http://moveit.ros.org/install/ for ROS Indigo on a 64bit system. I get the failed build error intermittently, but then it manages to overcome the issue and proceeds to further installation when i run catkin_make again - only to fail again. After multiple attempts it seem like the build fails at 82% i.e after moveit_move_group_interface_python.

Please help! Thank you.

####
#### Running command: "make -j4 -l4" in "/home/adi/moveit/build"
####
[  0%] Built target std_msgs_generate_messages_py

[  0%] Built target object_recognition_msgs_generate_messages_py

[  0%] Built target actionlib_msgs_generate_messages_py

[  0%] [  0%] Built target _moveit_msgs_generate_messages_check_deps_MotionPlanRequest
Built target _moveit_msgs_generate_messages_check_deps_GetPositionIK

[  0%] [  0%] Built target _moveit_msgs_generate_messages_check_deps_CollisionObject
Built target shape_msgs_generate_messages_py

[  0%] [  0%] Built target trajectory_msgs_generate_messages_py
Built target geometry_msgs_generate_messages_py

[  0%] Built target octomap_msgs_generate_messages_py

[  0%] Built target sensor_msgs_generate_messages_py

[  0%] [  0%] [  0%] Built target _moveit_msgs_generate_messages_check_deps_PickupActionGoal
Built target _moveit_msgs_generate_messages_check_deps_ExecuteKnownTrajectory
Built target _moveit_msgs_generate_messages_check_deps_MoveGroupResult

[  0%] Built target _moveit_msgs_generate_messages_check_deps_LoadMap

[  0%] Built target _moveit_msgs_generate_messages_check_deps_AttachedCollisionObject

[  0%] Built target _moveit_msgs_generate_messages_check_deps_VisibilityConstraint

[  0%] Built target _moveit_msgs_generate_messages_check_deps_SaveRobotStateToWarehouse

[  0%] Built target _moveit_msgs_generate_messages_check_deps_GetMotionPlan

[  0%] Built target _moveit_msgs_generate_messages_check_deps_PlaceActionGoal

[  0%] Built target _moveit_msgs_generate_messages_check_deps_AllowedCollisionMatrix

[  0%] Built target _moveit_msgs_generate_messages_check_deps_MoveItErrorCodes

[  0%] Built target _moveit_msgs_generate_messages_check_deps_MotionPlanResponse

[  0%] Built target _moveit_msgs_generate_messages_check_deps_Constraints

[  0%] Built target _moveit_msgs_generate_messages_check_deps_RenameRobotStateInWarehouse

[  0%] Built target _moveit_msgs_generate_messages_check_deps_PlanningScene

[  0%] Built target _moveit_msgs_generate_messages_check_deps_ContactInformation

[  0%] Built target _moveit_msgs_generate_messages_check_deps_JointLimits

[  0%] [  0%] Built target _moveit_msgs_generate_messages_check_deps_PickupGoal
Built target _moveit_msgs_generate_messages_check_deps_LinkPadding

[  0%] Built target _moveit_msgs_generate_messages_check_deps_GetRobotStateFromWarehouse

[  0%] Built target _moveit_msgs_generate_messages_check_deps_GetConstraintAwarePositionIK

[  0%] Built target _moveit_msgs_generate_messages_check_deps_GetCartesianPath

[  0%] Built target _moveit_msgs_generate_messages_check_deps_QueryPlannerInterfaces

[  0%] Built target _moveit_msgs_generate_messages_check_deps_MoveGroupGoal

[  0%] Built target _moveit_msgs_generate_messages_check_deps_MoveGroupAction

[  0%] Built target _moveit_msgs_generate_messages_check_deps_OrientedBoundingBox

[  0%] [  0%] Built target _moveit_msgs_generate_messages_check_deps_ObjectColor
Built target _moveit_msgs_generate_messages_check_deps_PlanningOptions

[  0%] Built target _moveit_msgs_generate_messages_check_deps_GetKinematicSolverInfo

[  0%] Built target _moveit_msgs_generate_messages_check_deps_MoveGroupActionFeedback

[  0%] Built target _moveit_msgs_generate_messages_check_deps_PickupActionResult

[  0%] Built target _moveit_msgs_generate_messages_check_deps_PositionIKRequest

[  0%] Built target _moveit_msgs_generate_messages_check_deps_PickupAction

[  0%] Built target _moveit_msgs_generate_messages_check_deps_Grasp

[  0%] Built target _moveit_msgs_generate_messages_check_deps_PlaceAction

[  0%] Built target _moveit_msgs_generate_messages_check_deps_ConstraintEvalResult

[  0%] Built target _moveit_msgs_generate_messages_check_deps_BoundingVolume

[  0%] Built target _moveit_msgs_generate_messages_check_deps_PickupActionFeedback

[  0%] Built target _moveit_msgs_generate_messages_check_deps_PlaceGoal

[  0%] Built target _moveit_msgs_generate_messages_check_deps_CheckIfRobotStateExistsInWarehouse

[  0%] Built target _moveit_msgs_generate_messages_check_deps_PlaceResult

[  0%] Built target _moveit_msgs_generate_messages_check_deps_WorkspaceParameters

[  0%] [  0%] Built target _moveit_msgs_generate_messages_check_deps_DeleteRobotStateFromWarehouse

Built target _moveit_msgs_generate_messages_check_deps_PickupFeedback

[  0%] Built target _moveit_msgs_generate_messages_check_deps_ListRobotStatesInWarehouse

[  0%] Built target _moveit_msgs_generate_messages_check_deps_PlaceActionResult

[  0%] [  0%] Built target _moveit_msgs_generate_messages_check_deps_GripperTranslation
Built target _moveit_msgs_generate_messages_check_deps_GetPositionFK

[  0%] Built target _moveit_msgs_generate_messages_check_deps_DisplayTrajectory

[  0%] Built target _moveit_msgs_generate_messages_check_deps_MoveGroupActionResult

[  0%] Built target _moveit_msgs_generate_messages_check_deps_RobotState

[  0%] Built target _moveit_msgs_generate_messages_check_deps_PickupResult

[  0%] Built target _moveit_msgs_generate_messages_check_deps_AllowedCollisionEntry

[  0%] Built target _moveit_msgs_generate_messages_check_deps_OrientationConstraint

[  0%] [  0%] Built target _moveit_msgs_generate_messages_check_deps_LinkScale
Built target _moveit_msgs_generate_messages_check_deps_PlaceFeedback

[  0%] Built target _moveit_msgs_generate_messages_check_deps_GetStateValidity

[  0%] Built target _moveit_msgs_generate_messages_check_deps_KinematicSolverInfo

[  0%] Built target _moveit_msgs_generate_messages_check_deps_MotionPlanDetailedResponse

[  0%] Built target _moveit_msgs_generate_messages_check_deps_GetPlanningScene

[  0%] Built target _moveit_msgs_generate_messages_check_deps_PlaceLocation

[  0%] Built target _moveit_msgs_generate_messages_check_deps_SaveMap

[  0%] Built target _moveit_msgs_generate_messages_check_deps_RobotTrajectory

[  0%] Built target _moveit_msgs_generate_messages_check_deps_MoveGroupFeedback

[  0%] Built target _moveit_msgs_generate_messages_check_deps_DisplayRobotState

[  0%] Built target _moveit_msgs_generate_messages_check_deps_PlanningSceneComponents

[  0%] Built target _moveit_msgs_generate_messages_check_deps_PlaceActionFeedback
[  0%] Built target _moveit_msgs_generate_messages_check_deps_TrajectoryConstraints

[  0%] Built target _moveit_msgs_generate_messages_check_deps_PlanningSceneWorld
[  0%] Built target _moveit_msgs_generate_messages_check_deps_JointConstraint
[  0%] Built target _moveit_msgs_generate_messages_check_deps_PositionConstraint
[  0%] [  0%] Built target _moveit_msgs_generate_messages_check_deps_CostSource
Built target _moveit_msgs_generate_messages_check_deps_PlannerInterfaceDescription
[  0%] Built target std_msgs_generate_messages_cpp
[  0%] [  0%] Built target actionlib_msgs_generate_messages_cpp
Built target object_recognition_msgs_generate_messages_cpp
[  0%] Built target octomap_msgs_generate_messages_cpp
[  0%] Built target _moveit_msgs_generate_messages_check_deps_MoveGroupActionGoal
[  0%] Built target trajectory_msgs_generate_messages_cpp
[  0%] Built target sensor_msgs_generate_messages_cpp
[  0%] Built target geometry_msgs_generate_messages_cpp
[  0%] [  0%] Built target sensor_msgs_generate_messages_lisp
Built target shape_msgs_generate_messages_cpp
[  0%] Built target std_msgs_generate_messages_lisp
[  0%] Built target actionlib_msgs_generate_messages_lisp
[  0%] [  0%] Built target object_recognition_msgs_generate_messages_lisp
Built target trajectory_msgs_generate_messages_lisp
[  0%] Built target geometry_msgs_generate_messages_lisp
[  0%] Built target octomap_msgs_generate_messages_lisp
[  0%] [  0%] Built target shape_msgs_generate_messages_lisp
Built target moveit_version
[  0%] Built target moveit_exceptions
[  0%] Built target visualization_msgs_generate_messages_cpp
[  0%] Built target moveit_profiler
[  0%] Built ...
(more)
edit retag flag offensive close merge delete

Comments

Looks like someone else has similar issue with Boost static assert. http://stackoverflow.com/questions/31...

Adibot gravatar imageAdibot ( 2015-10-18 17:13:51 -0600 )edit

1 Answer

Sort by » oldest newest most voted
1

answered 2015-10-18 19:35:29 -0600

ahendrix gravatar image

If I'm reading the boost source correctly, the error message invalid application of ‘sizeof’ to incomplete type ‘boost::STATIC_ASSERTION_FAILURE<false>’ means that the BOOST_STATIC_ASSERT is failing.

For some reason the types in question no longer have equal sizes.

The only thing I can see is that kinematics::KinematicsQueryOptions contains two boolean types and an enum type, and the DummyKinematicsQueryOptions contains two booleans and an int. If ints and enums aren't the same size on your system, or if those structs are not packed the same way, both of those could cause this assert to fail.

It would also be worthwhile to enable the compiler option which keeps the preprocessed source files around, and read the preprocessor output for kinematic_options.cpp to confirm that it's actually generating the correct DummyKinematicsQueryOptions.

Relevant source files: https://github.com/ros-planning/movei... https://github.com/ros-planning/movei... https://github.com/ros-planning/movei...

edit flag offensive delete link more

Comments

gvdhoorn gravatar imagegvdhoorn ( 2015-10-19 02:59:02 -0600 )edit

Thanks @ahendrix for your answer- I tried running gcc -E < files_you_suggested (.h) / (.cpp) > and it failed to give me output for all three files. That said, I deleted 'moveit' dir from the failed installation and ran the installation all over again-
issues are now resolved and works just fine

Adibot gravatar imageAdibot ( 2015-10-20 20:01:09 -0600 )edit

I've gotten this build error when compiling a version of moveit_ros against a different version of moveit_core. Can you run "git pull" in both the moveit_ros and moveit_core directories and then try building again?

jbinney gravatar imagejbinney ( 2015-10-26 21:50:07 -0600 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

3 followers

Stats

Asked: 2015-10-18 15:48:46 -0600

Seen: 3,499 times

Last updated: Oct 18 '15