Autoware.auto Master branch source code failed
Hi , I am facing make failed issue (as mentioned below) from autoware.auto 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: motiontesting
In file included from /home/rama/AutowareAuto/src/control/motiontesting/src/motiontesting/motiontesting.cpp:14:
/home/rama/AutowareAuto/src/control/motiontesting/include/motiontesting/motiontesting.hpp:18:10: fatal error: autowareautomsgs/msg/trajectory.hpp: No such file or directory
18 | #include <autowareautomsgs/msg/trajectory.hpp>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [CMakeFiles/motiontesting.dir/build.make:63: CMakeFiles/motiontesting.dir/src/motiontesting/motiontesting.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:130: CMakeFiles/motiontesting.dir/all] Error 2
make: *** [Makefile:141: all] Error 2
Asked by Ram on 2021-04-04 07:00:32 UTC
Answers
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 < autoware.auto.$ROS_DISTRO.repos
Regards Ram.
Asked by Ram on 2021-04-07 04:23:47 UTC
Comments
If you're after a stable version, you could use an official release rather than the master branch: https://gitlab.com/autowarefoundation/autoware.auto/AutowareAuto/-/releases
Asked by sgvandijk on 2021-04-07 05:07:55 UTC