Back to Blog
Px4 cmake command not found6/17/2023 Users/user/Desktop/ros2_example_ws/build/examples_rclcpp_minimal_client/ament_cmake_package_templates/templates. Users/user/Desktop/ros2_example_ws/build/examples_rclcpp_minimal_composition/ament_cmake_package_templates/templates.cmake) Users/user/Desktop/ros2_example_ws/build/examples_rclcpp_minimal_action_client/ament_cmake_package_templates/templates.cmake) Users/user/ros2_eloquent/ros2-osx/share/ament_cmake/cmake/ament_cmakeConfig.cmake:38 (include) Users/user/ros2_eloquent/ros2-osx/share/ament_cmake/cmake/ament_cmake_export_dependencies-extras.cmake:15 (find_package) Users/user/ros2_eloquent/ros2-osx/share/ament_cmake_core/cmake/ament_cmake_coreConfig.cmake:38 (include) Users/user/Desktop/ros2_example_ws/build/examples_rclcpp_minimal_action_server/ament_cmake_package_templates/templates.cmake) Users/user/ros2_eloquent/ros2-osx/share/ament_cmake_core/cmake/package_templates/templates_2_cmake.py ModuleNotFoundError: No module named 'ament_package'ĬMake Error at /Users/user/ros2_eloquent/ros2-osx/share/ament_cmake_core/cmake/ament_cmake_package_templates-extras.cmake:41 (message): ![]() stderr: examples_rclcpp_minimal_action_serverįile "/Users/user/ros2_eloquent/ros2-osx/share/ament_cmake_core/cmake/package_templates/templates_2_cmake.py", line 21, in įrom ament_package.templates import get_environment_hook_template_path Starting > examples_rclcpp_minimal_composition ![]() Starting > examples_rclcpp_minimal_action_server The commands for running cmake and building the project should be something like this, assuming the developers have set it up in a reasonable way: mkdir build cd build cmake. Starting > examples_rclcpp_minimal_action_client If you ran CMake in a different environment, remove all the files it created. This fails after entering the colcon build -symlink-install command and I get this error message: ros2_example_ws % sudo colcon build -symlink-install
0 Comments
Read More
Leave a Reply. |