Why "colcon build" fails to build some of the Autoware.Auto packages?
Without using ADE
I am trying to install Autoware.Auto without using ADE. I installed ros-foxy-desktop
via Debian packages, i.e by typing sudo apt install ros-foxy-desktop
in terminal. I also installed all the dependencies as is written in the Installation document of Autoware.Auto.
The problem is that when I build the Autoware.Auto packages with colcon build --cmake-args -DCMAKE_BUILD_TYPE=RelWithDebInfo
some packages fail. At the end I see such a message:
Summary: 94 packages finished [4min 53s]
11 packages had stderr output: ament_acado autoware_auto_common lanelet2_global_planner mpc_controller ndt ndt_mapping_nodes ndt_nodes point_cloud_mapping rosapi spinnaker_camera_driver spinnaker_camera_nodes
To be more specific, here is the first stderr message:
--- stderr: autoware_auto_common
CMake Warning at CMakeLists.txt:53 (find_package):
Found package configuration file:
/opt/ros/foxy/share/ament_cmake_cpplint/cmake/ament_cmake_cpplintConfig.cmake
but it set ament_cmake_cpplint_FOUND to FALSE so package
"ament_cmake_cpplint" is considered to be NOT FOUND.
CMake Warning at CMakeLists.txt:58 (find_package):
Found package configuration file:
/opt/ros/foxy/share/ament_cmake_uncrustify/cmake/ament_cmake_uncrustifyConfig.cmake
but it set ament_cmake_uncrustify_FOUND to FALSE so package
"ament_cmake_uncrustify" is considered to be NOT FOUND.
---
Finished <<< autoware_auto_common [23.8s]
I am using ubuntu 20.04.
Inside ADE
I have to note that the same problem exists inside ADE. I use the installation guide and when I run build the project, I find similar errors.
Summary: 93 packages finished [2min 48s]
12 packages had stderr output: ament_acado autoware_auto_common had_map_utils lanelet2_global_planner mpc_controller ndt ndt_mapping_nodes ndt_nodes point_cloud_mapping rosapi spinnaker_camera_driver spinnaker_camera_nodes
My question is that why I see the above stderr? Does it mean that I missed some dependencies? By the way, I installed all dependencies from Autoware.Auto documentation. I appreciate any suggestion.
Are cpplint and uncrustify installed?
@jpace121 Yes they are installed but the same problem exist. I installed the cpplint via "pip install cpplint".
It's not actually failing though. It's a warning. Maybe just proceed with whatever you wanted to do and see if it works?
@christophebedard The functionalities that I want is not working. I do everything according to this documentation but it does not work. According to your answer I think there should be something missing in the documentation. Now, I am trying to find a solution.
I'd suggest you open a new question for that other problem.