ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0 Master branch source code failed

asked 2021-04-04 07:02:49 -0600

Ram gravatar image

Hi , I am facing make failed issue (as mentioned below) from master branch source code(Latest tags) in my PC when i given build cmd.

can you please suggest a version which can be used with out make issues.

--- stderr: motion_testing
In file included from /home/rama/AutowareAuto/src/control/motion_testing/src/motion_testing/motion_testing.cpp:14: /home/rama/AutowareAuto/src/control/motion_testing/include/motion_testing/motion_testing.hpp:18:10: fatal error: autoware_auto_msgs/msg/trajectory.hpp: No such file or directory 18 | #include <autoware_auto_msgs msg="" trajectory.hpp=""> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ compilation terminated. make[2]: * [CMakeFiles/motion_testing.dir/build.make:63: CMakeFiles/motion_testing.dir/src/motion_testing/motion_testing.cpp.o] Error 1 make[1]: * [CMakeFiles/Makefile2:130: CMakeFiles/motion_testing.dir/all] Error 2

make: * [Makefile:141: all] Error 2

edit retag flag offensive close merge delete


If you're after a stable version, you could use an official release rather than the master branch:

sgvandijk gravatar image sgvandijk  ( 2021-04-07 05:07:55 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2021-04-07 04:23:47 -0600

Ram gravatar image

Hi all, Above build issue is solved by following below steps:

Starting from a clean slate:-

Most issues with building Autoware.Auto are caused by out-of-date software or old build files. To update ade and the Docker containers it manages as well as clear old builds, run the following in your adehome/AutowareAuto folder:

$ ade stop $ sudo ade update-cli $ ade start --update --enter ade$ cd AutowareAuto ade$ rm -rf build/ install/ log/ src/external/ ade$ git pull ade$ vcs import <$ROS_DISTRO.repos

Regards Ram.

edit flag offensive delete link more

Question Tools



Asked: 2021-04-04 07:00:32 -0600

Seen: 1,409 times

Last updated: Apr 07 '21