Robotics StackExchange | Archived questions

Hello, i am trying to do colcon build --symlink-install but getting following error. Any idea what is happening here?

Hello, i am trying to do colcon build --symlink-install but getting following error. Any idea what is happening here?

Starting >>> rosidl_generator_cpp                                               
[259.877s] ERROR:colcon.colcon_core.shell:Exception in shell extension 'sh': Expected ['.', '/home/saad/ros2_dashing/build/rosidl_generator_cpp/colcon_command_prefix_build.sh', '&&', 'env'] to pass: /bin/sh: 3: /home/saad/ros2_dashing/install/ament_cmake_core/share/ament_cmake_core/environment/ament_prefix_path: not found
/bin/sh: 2: /home/saad/ros2_dashing/install/ament_cmake_core/share/ament_cmake_core/environment/path.sh: copied: not found
/bin/sh: 3: /home/saad/ros2_dashing/install/ament_cmake_export_definitions/share/ament_cmake_export_defi: not foundironment/ament_prefix_path.sh: 
/bin/sh: 2: /home/saad/ros2_dashing/install/ament_cmake_export_definitions/share/ament_cmake_export_definitions/environment/path.sh: copied: not found
/bin/sh: 3: /home/saad/ros2_dashing/install/ament_cmake_export_include_directories/share/ament_cmake_exp: not found_directories/environment/ament_prefix_path.sh: 
/bin/sh: 2: /home/saad/ros2_dashing/install/ament_cmake_export_include_directories/share/ament_cmake_export_include_directories/environment/path.sh: copied: not found
/bin/sh: 3: /home/saad/ros2_dashing/install/ament_cmake_export_libraries/share/ament_cmake_export_librar: not foundment/ament_prefix_path.sh: 
/bin/sh: 2: /home/saad/ros2_dashing/install/ament_cmake_export_libraries/share/ament_cmake_export_libraries/environment/path.sh: copied: not found
/bin/sh: 3: /home/saad/ros2_dashing/install/ament_cmake_export_link_flags/share/ament_cmake_export_link_: not foundonment/ament_prefix_path.sh: 
/bin/sh: 2: /home/saad/ros2_dashing/install/ament_cmake_export_link_flags/share/ament_cmake_export_link_flags/environment/path.sh: copied: not found
/bin/sh: 3: /home/saad/ros2_dashing/install/ament_cmake_include_directories/share/ament_cmake_include_di: not foundnvironment/ament_prefix_path.sh: 
/bin/sh: 2: /home/saad/ros2_dashing/install/ament_cmake_include_directories/share/ament_cmake_include_directories/environment/path.sh: copied: not found
/bin/sh: 3: /home/saad/ros2_dashing/install/ament_cmake_libraries/share/ament_cmake_libraries/environmen: not foundfix_path.sh: 
/bin/sh: 2: /home/saad/ros2_dashing/install/ament_cmake_libraries/share/ament_cmake_libraries/environment/path.sh: copied: not found
/bin/sh: 3: /home/saad/ros2_dashing/install/ament_cmake_python/share/ament_cmake_python/environment/amen: not foundth.sh: 
/bin/sh: 2: /home/saad/ros2_dashing/install/ament_cmake_python/share/ament_cmake_python/environment/path.sh: copied: not found
/bin/sh: 3: /home/saad/ros2_dashing/install/ament_cmake_export_dependencies/share/ament_cmake_export_dep: not foundnvironment/ament_prefix_path.sh: 
/bin/sh: 2: /home/saad/ros2_dashing/install/ament_cmake_export_dependencies/share/ament_cmake_export_dependencies/environment/path.sh: copied: not found
/bin/sh: 3: /home/saad/ros2_dashing/install/ament_cmake_export_interfaces/share/ament_cmake_export_inter: not foundonment/ament_prefix_path.sh: 
/bin/sh: 2: /home/saad/ros2_dashing/install/ament_cmake_export_interfaces/share/ament_cmake_export_interfaces/environment/path.sh: copied: not found
/bin/sh: 3: /home/saad/ros2_dashing/install/ament_cmake_target_dependencies/share/ament_cmake_target_dep: not foundnvironment/ament_prefix_path.sh: 
/bin/sh: 2: /home/saad/ros2_dashing/install/ament_cmake_target_dependencies/share/ament_cmake_target_dependencies/environment/path.sh: copied: not found
/bin/sh: 3: /home/saad/ros2_dashing/install/ament_cmake_test/share/ament_cmake_test/environment/ament_pr: not foundh: 
/bin/sh: 2: /home/saad/ros2_dashing/install/ament_cmake_test/share/ament_cmake_test/environment/path.sh: copied: not found
/bin/sh: 3: /home/saad/ros2_dashing/install/ament_cmake/share/ament_cmake/environment/ament_prefix_path.: not found
/bin/sh: 2: /home/saad/ros2_dashing/install/ament_cmake/share/ament_cmake/environment/path.sh: copied: not found
/bin/sh: 3: /home/saad/ros2_dashing/install/ament_cmake_gtest/share/ament_cmake_gtest/environment/ament_: not found.sh: 
/bin/sh: 2: /home/saad/ros2_dashing/install/ament_cmake_gtest/share/ament_cmake_gtest/environment/path.sh: copied: not found
/bin/sh: 3: /home/saad/ros2_dashing/install/ament_lint_auto/share/ament_lint_auto/environment/ament_pref: not found 
/bin/sh: 2: /home/saad/ros2_dashing/install/ament_lint_auto/share/ament_lint_auto/environment/path.sh: copied: not found
/bin/sh: 3: /home/saad/ros2_dashing/install/ament_cmake_lint_cmake/share/ament_cmake_lint_cmake/environm: not foundrefix_path.sh: 
/bin/sh: 2: /home/saad/ros2_dashing/install/ament_cmake_lint_cmake/share/ament_cmake_lint_cmake/environment/path.sh: copied: not found
/bin/sh: 3: /home/saad/ros2_dashing/install/uncrustify_vendor/share/uncrustify_vendor/environment/ament_: not found.sh: 
/bin/sh: 2: /home/saad/ros2_dashing/install/uncrustify_vendor/share/uncrustify_vendor/environment/path.sh: copied: not found
/bin/sh: 3: /home/saad/ros2_dashing/install/ament_cmake_copyright/share/ament_cmake_copyright/environmen: not foundfix_path.sh: 
/bin/sh: 2: /home/saad/ros2_dashing/install/ament_cmake_copyright/share/ament_cmake_copyright/environment/path.sh: copied: not found
/bin/sh: 3: /home/saad/ros2_dashing/install/ament_cmake_cppcheck/share/ament_cmake_cppcheck/environment/: not foundx_path.sh: 
/bin/sh: 2: /home/saad/ros2_dashing/install/ament_cmake_cppcheck/share/ament_cmake_cppcheck/environment/path.sh: copied: not found
/bin/sh: 3: /home/saad/ros2_dashing/install/ament_cmake_cpplint/share/ament_cmake_cpplint/environment/am: not foundpath.sh: 
/bin/sh: 2: /home/saad/ros2_dashing/install/ament_cmake_cpplint/share/ament_cmake_cpplint/environment/path.sh: copied: not found
/bin/sh: 3: /home/saad/ros2_dashing/install/ament_cmake_flake8/share/ament_cmake_flake8/environment/amen: not foundth.sh: 
/bin/sh: 2: /home/saad/ros2_dashing/install/ament_cmake_flake8/share/ament_cmake_flake8/environment/path.sh: copied: not found
/bin/sh: 3: /home/saad/ros2_dashing/install/ament_cmake_pep257/share/ament_cmake_pep257/environment/amen: not foundth.sh: 
/bin/sh: 2: /home/saad/ros2_dashing/install/ament_cmake_pep257/share/ament_cmake_pep257/environment/path.sh: copied: not found
/bin/sh: 3: /home/saad/ros2_dashing/install/ament_cmake_uncrustify/share/ament_cmake_uncrustify/environm: not foundrefix_path.sh: 
/bin/sh: 2: /home/saad/ros2_dashing/install/ament_cmake_uncrustify/share/ament_cmake_uncrustify/environment/path.sh: copied: not found
/bin/sh: 3: /home/saad/ros2_dashing/install/ament_cmake_xmllint/share/ament_cmake_xmllint/environment/am: not foundpath.sh: 
/bin/sh: 2: /home/saad/ros2_dashing/install/ament_cmake_xmllint/share/ament_cmake_xmllint/environment/path.sh: copied: not found
/bin/sh: 3: /home/saad/ros2_dashing/install/ament_lint_common/share/ament_lint_common/environment/ament_: not found.sh: 
/bin/sh: 2: /home/saad/ros2_dashing/install/ament_lint_common/share/ament_lint_common/environment/path.sh: copied: not found
/bin/sh: 3: /home/saad/ros2_dashing/install/rosidl_adapter/share/rosidl_adapter/environment/ament_prefix: not found
/bin/sh: 2: /home/saad/ros2_dashing/install/rosidl_adapter/share/rosidl_adapter/environment/path.sh: copied: not found
/bin/sh: 3: /home/saad/ros2_dashing/install/rosidl_typesupport_interface/share/rosidl_typesupport_interf: not foundment/ament_prefix_path.sh: 
/bin/sh: 2: /home/saad/ros2_dashing/install/rosidl_typesupport_interface/share/rosidl_typesupport_interface/environment/path.sh: copied: not found
/bin/sh: 3: /home/saad/ros2_dashing/install/rosidl_parser/share/rosidl_parser/environment/ament_prefix_p: not found
/bin/sh: 2: /home/saad/ros2_dashing/install/rosidl_parser/share/rosidl_parser/environment/path.sh: copied: not found
/bin/sh: 3: /home/saad/ros2_dashing/install/rosidl_cmake/share/rosidl_cmake/environment/ament_prefix_pat: not found
/bin/sh: 2: /home/saad/ros2_dashing/install/rosidl_cmake/share/rosidl_cmake/environment/path.sh: copied: not found
/bin/sh: 3: /home/saad/ros2_dashing/install/rosidl_generator_c/share/rosidl_generator_c/environment/amen: not foundth.sh: 
/bin/sh: 2: /home/saad/ros2_dashing/install/rosidl_generator_c/share/rosidl_generator_c/environment/libr: not found: 
/bin/sh: 17: /home/saad/ros2_dashing/install/rosidl_generator_c/share/rosidl_generator_c/environment/library_path.sh: Syntax error: end of file unexpected (expecting "then")

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/colcon_core/shell/__init__.py", line 289, in get_command_environment
    task_name, Path(build_base), dependencies)
  File "/usr/lib/python3/dist-packages/colcon_core/shell/sh.py", line 130, in generate_command_environment
    env = await get_environment_variables(cmd, cwd=str(build_base))
  File "/usr/lib/python3/dist-packages/colcon_core/shell/__init__.py", line 325, in get_environment_variables
    output = await check_output(cmd, cwd=cwd, shell=shell)
  File "/usr/lib/python3/dist-packages/colcon_core/subprocess.py", line 110, in check_output
    'Expected {args} to pass: {stderr_data}'.format_map(locals())
AssertionError: Expected ['.', '/home/saad/ros2_dashing/build/rosidl_generator_cpp/colcon_command_prefix_build.sh', '&&', 'env'] to pass: /bin/sh: 3: /home/saad/ros2_dashing/install/ament_cmake_core/share/ame: not foundre/environment/ament_prefix_path.sh: 
/bin/sh: 2: /home/saad/ros2_dashing/install/ament_cmake_core/share/ament_cmake_core/environment/path.sh: copied: not found
/bin/sh: 3: /home/saad/ros2_dashing/install/ament_cmake_export_definitions/share/ament_cmake_export_defi: not foundironment/ament_prefix_path.sh: 
/bin/sh: 2: /home/saad/ros2_dashing/install/ament_cmake_export_definitions/share/ament_cmake_export_definitions/environment/path.sh: copied: not found
/bin/sh: 3: /home/saad/ros2_dashing/install/ament_cmake_export_include_directories/share/ament_cmake_exp: not found_directories/environment/ament_prefix_path.sh: 
/bin/sh: 2: /home/saad/ros2_dashing/install/ament_cmake_export_include_directories/share/ament_cmake_export_include_directories/environment/path.sh: copied: not found
/bin/sh: 3: /home/saad/ros2_dashing/install/ament_cmake_export_libraries/share/ament_cmake_export_librar: not foundment/ament_prefix_path.sh: 
/bin/sh: 2: /home/saad/ros2_dashing/install/ament_cmake_export_libraries/share/ament_cmake_export_libraries/environment/path.sh: copied: not found
/bin/sh: 3: /home/saad/ros2_dashing/install/ament_cmake_export_link_flags/share/ament_cmake_export_link_: not foundonment/ament_prefix_path.sh: 
/bin/sh: 2: /home/saad/ros2_dashing/install/ament_cmake_export_link_flags/share/ament_cmake_export_link_flags/environment/path.sh: copied: not found
/bin/sh: 3: /home/saad/ros2_dashing/install/ament_cmake_include_directories/share/ament_cmake_include_di: not foundnvironment/ament_prefix_path.sh: 
/bin/sh: 2: /home/saad/ros2_dashing/install/ament_cmake_include_directories/share/ament_cmake_include_directories/environment/path.sh: copied: not found
/bin/sh: 3: /home/saad/ros2_dashing/install/ament_cmake_libraries/share/ament_cmake_libraries/environmen: not foundfix_path.sh: 
/bin/sh: 2: /home/saad/ros2_dashing/install/ament_cmake_libraries/share/ament_cmake_libraries/environment/path.sh: copied: not found
/bin/sh: 3: /home/saad/ros2_dashing/install/ament_cmake_python/share/ament_cmake_python/environment/amen: not foundth.sh: 
/bin/sh: 2: /home/saad/ros2_dashing/install/ament_cmake_python/share/ament_cmake_python/environment/path.sh: copied: not found
/bin/sh: 3: /home/saad/ros2_dashing/install/ament_cmake_export_dependencies/share/ament_cmake_export_dep: not foundnvironment/ament_prefix_path.sh: 
/bin/sh: 2: /home/saad/ros2_dashing/install/ament_cmake_export_dependencies/share/ament_cmake_export_dependencies/environment/path.sh: copied: not found
/bin/sh: 3: /home/saad/ros2_dashing/install/ament_cmake_export_interfaces/share/ament_cmake_export_inter: not foundonment/ament_prefix_path.sh: 
/bin/sh: 2: /home/saad/ros2_dashing/install/ament_cmake_export_interfaces/share/ament_cmake_export_interfaces/environment/path.sh: copied: not found
/bin/sh: 3: /home/saad/ros2_dashing/install/ament_cmake_target_dependencies/share/ament_cmake_target_dep: not foundnvironment/ament_prefix_path.sh: 
/bin/sh: 2: /home/saad/ros2_dashing/install/ament_cmake_target_dependencies/share/ament_cmake_target_dependencies/environment/path.sh: copied: not found
/bin/sh: 3: /home/saad/ros2_dashing/install/ament_cmake_test/share/ament_cmake_test/environment/ament_pr: not foundh: 
/bin/sh: 2: /home/saad/ros2_dashing/install/ament_cmake_test/share/ament_cmake_test/environment/path.sh: copied: not found
/bin/sh: 3: /home/saad/ros2_dashing/install/ament_cmake/share/ament_cmake/environment/ament_prefix_path.: not found
/bin/sh: 2: /home/saad/ros2_dashing/install/ament_cmake/share/ament_cmake/environment/path.sh: copied: not found
/bin/sh: 3: /home/saad/ros2_dashing/install/ament_cmake_gtest/share/ament_cmake_gtest/environment/ament_: not found.sh: 
/bin/sh: 2: /home/saad/ros2_dashing/install/ament_cmake_gtest/share/ament_cmake_gtest/environment/path.sh: copied: not found
/bin/sh: 3: /home/saad/ros2_dashing/install/ament_lint_auto/share/ament_lint_auto/environment/ament_pref: not found 
/bin/sh: 2: /home/saad/ros2_dashing/install/ament_lint_auto/share/ament_lint_auto/environment/path.sh: copied: not found
/bin/sh: 3: /home/saad/ros2_dashing/install/ament_cmake_lint_cmake/share/ament_cmake_lint_cmake/environm: not foundrefix_path.sh: 
/bin/sh: 2: /home/saad/ros2_dashing/install/ament_cmake_lint_cmake/share/ament_cmake_lint_cmake/environment/path.sh: copied: not found
/bin/sh: 3: /home/saad/ros2_dashing/install/uncrustify_vendor/share/uncrustify_vendor/environment/ament_: not found.sh: 
/bin/sh: 2: /home/saad/ros2_dashing/install/uncrustify_vendor/share/uncrustify_vendor/environment/path.sh: copied: not found
/bin/sh: 3: /home/saad/ros2_dashing/install/ament_cmake_copyright/share/ament_cmake_copyright/environmen: not foundfix_path.sh: 
/bin/sh: 2: /home/saad/ros2_dashing/install/ament_cmake_copyright/share/ament_cmake_copyright/environment/path.sh: copied: not found
/bin/sh: 3: /home/saad/ros2_dashing/install/ament_cmake_cppcheck/share/ament_cmake_cppcheck/environment/: not foundx_path.sh: 
/bin/sh: 2: /home/saad/ros2_dashing/install/ament_cmake_cppcheck/share/ament_cmake_cppcheck/environment/path.sh: copied: not found
/bin/sh: 3: /home/saad/ros2_dashing/install/ament_cmake_cpplint/share/ament_cmake_cpplint/environment/am: not foundpath.sh: 
/bin/sh: 2: /home/saad/ros2_dashing/install/ament_cmake_cpplint/share/ament_cmake_cpplint/environment/path.sh: copied: not found
/bin/sh: 3: /home/saad/ros2_dashing/install/ament_cmake_flake8/share/ament_cmake_flake8/environment/amen: not foundth.sh: 
/bin/sh: 2: /home/saad/ros2_dashing/install/ament_cmake_flake8/share/ament_cmake_flake8/environment/path.sh: copied: not found
/bin/sh: 3: /home/saad/ros2_dashing/install/ament_cmake_pep257/share/ament_cmake_pep257/environment/amen: not foundth.sh: 
/bin/sh: 2: /home/saad/ros2_dashing/install/ament_cmake_pep257/share/ament_cmake_pep257/environment/path.sh: copied: not found
/bin/sh: 3: /home/saad/ros2_dashing/install/ament_cmake_uncrustify/share/ament_cmake_uncrustify/environm: not foundrefix_path.sh: 
/bin/sh: 2: /home/saad/ros2_dashing/install/ament_cmake_uncrustify/share/ament_cmake_uncrustify/environment/path.sh: copied: not found
/bin/sh: 3: /home/saad/ros2_dashing/install/ament_cmake_xmllint/share/ament_cmake_xmllint/environment/am: not foundpath.sh: 
/bin/sh: 2: /home/saad/ros2_dashing/install/ament_cmake_xmllint/share/ament_cmake_xmllint/environment/path.sh: copied: not found
/bin/sh: 3: /home/saad/ros2_dashing/install/ament_lint_common/share/ament_lint_common/environment/ament_: not found.sh: 
/bin/sh: 2: /home/saad/ros2_dashing/install/ament_lint_common/share/ament_lint_common/environment/path.sh: copied: not found
/bin/sh: 3: /home/saad/ros2_dashing/install/rosidl_adapter/share/rosidl_adapter/environment/ament_prefix: not found
/bin/sh: 2: /home/saad/ros2_dashing/install/rosidl_adapter/share/rosidl_adapter/environment/path.sh: copied: not found
/bin/sh: 3: /home/saad/ros2_dashing/install/rosidl_typesupport_interface/share/rosidl_typesupport_interf: not foundment/ament_prefix_path.sh: 
/bin/sh: 2: /home/saad/ros2_dashing/install/rosidl_typesupport_interface/share/rosidl_typesupport_interface/environment/path.sh: copied: not found
/bin/sh: 3: /home/saad/ros2_dashing/install/rosidl_parser/share/rosidl_parser/environment/ament_prefix_p: not found
/bin/sh: 2: /home/saad/ros2_dashing/install/rosidl_parser/share/rosidl_parser/environment/path.sh: copied: not found
/bin/sh: 3: /home/saad/ros2_dashing/install/rosidl_cmake/share/rosidl_cmake/environment/ament_prefix_pat: not found
/bin/sh: 2: /home/saad/ros2_dashing/install/rosidl_cmake/share/rosidl_cmake/environment/path.sh: copied: not found
/bin/sh: 3: /home/saad/ros2_dashing/install/rosidl_generator_c/share/rosidl_generator_c/environment/amen: not foundth.sh: 
/bin/sh: 2: /home/saad/ros2_dashing/install/rosidl_generator_c/share/rosidl_generator_c/environment/libr: not found: 
/bin/sh: 17: /home/saad/ros2_dashing/install/rosidl_generator_c/share/rosidl_generator_c/environment/library_path.sh: Syntax error: end of file unexpected (expecting "then")


[259.908s] ERROR:colcon.colcon_cmake.task.cmake.build:Could not find a shell extension for the command environment
Failed   <<< rosidl_generator_cpp [0.45s, exited with code 1]                   
Aborted  <<< class_loader [1min 6s]                                                        
Aborted  <<< rcutils [2min 8s]                                                             
Aborted  <<< fastrtps [12min 10s]                                            

Summary: 69 packages finished [13min 35s]
  1 package failed: rosidl_generator_cpp
  3 packages aborted: class_loader fastrtps rcutils
  8 packages had stderr output: ament_index_cpp class_loader cyclonedds fastcdr fastrtps osrf_testing_tools_cpp rcpputils rcutils
  197 packages not processed

Asked by Walter on 2021-05-13 13:45:22 UTC

Comments

Answers

That's quite a noisy output!

The words not found appear 120 times in that blurb. It looks like it's related specifically to /bin/sh which is just the basic Linux shell. The shell isn't finding most of that stuff which means this is probably related to a Linux PATH environment variable.

Did you source the ROS2 setup file beforehand? For Dashing I would expect it to be located somewhere like /opt/ros/dashing/setup.sh

I see a lot of references to your home directory. How have you installed ROS2? Do you have the /opt/ros2 directory? There is a separate archive of packages that the ROS2 "getting started" instructions tell everyone to install, but the intention for those, I think, is for you to install everything from that archive to /opt/ros2 using a few ROS2 and rosdep commands.

The main component which failed here, rosidl_generator_cpp, is for creating custom messages. By default you have access to things like std_msgs (these), but if you wish to create your own you need to work with rosidl. You can find more information on the ROS2 Dashing docs website, "Expanding on ROS 2 interfaces"

Another question: Is there a specific reason you're using Dashing rather than Foxy?

Asked by Spectre on 2021-05-13 15:40:31 UTC

Comments

Clarification: I meant /opt/ros not /opt/ros2

Asked by Spectre on 2021-05-13 17:17:07 UTC

In /opt I have ros but because I am also using ros1, it has melodic in it, there is no ros2 in /opt. I was using ros2 eloquent but it didn't have a launch command to use with ros2.

Asked by Walter on 2021-05-13 16:56:10 UTC

Comments

I misspoke; I meant /opt/ros which would contain everything within distribution-specific subdirectories.

It sounds like you should be able to see /opt/ros/dashing, /opt/ros/eloquent, and /opt/ros/melodic. Is this correct?

For ROS2 the launch system has changed somewhat. Instead of an XML file, you must use a python script. For example, here is a link to ROS2 Foxy's launch file tutorial: https://docs.ros.org/en/foxy/Tutorials/Launch-Files/Creating-Launch-Files.html.

To run a launch file from a ROS2 package you must use this command:

ros2 launch <pkg_name> <launch_file.py>

Asked by Spectre on 2021-05-13 17:22:55 UTC

No /opt/ros only contains melodic. Yes, I know about launch.py but the problem is in eloquent I don't have launch command with ros2. I have already uninstalled eloquent. I am following this link to build code for ROS2. https://docs.ros.org/en/dashing/Installation/Ubuntu-Development-Setup.html

Asked by Walter on 2021-05-13 17:44:59 UTC

Ahh I see. I avoided that page altogether and instead followed the "Installing Ros 2 on Ubuntu Linux" instructions page instead :)

The instructions just before running colcon build --symlink-install actually say to not source setup.bash, and to run the build in a fresh terminal.

It also says that you can tell colcon to ignore packages that are preventing you from successfully building everything else. Have you tried to do as it says with touch COLCON_IGNORE?

Technically by doing this you're just skipping the build problem rather than fixing it, but this might at least let you proceed. You can, if you wish, try to build rosidl_generators_cpp by itself and hopefully get some more information about why its build is failing.

Asked by Spectre on 2021-05-13 18:51:42 UTC

I tried to build in a new terminal, no success, and the same result. Also, I tried to build rosidl_generators_cpp individually which builds successfully. Yes by creating COLCON_IGNORE helps to ignore building rosidl_generators_cpp but again the same error comes up for rosidl_typesupport_introspection_c package. Is this package also for creating custom messages and can I ignore this one also? I feel isn't this error has to do something with AMENT_PREFIX_PATH.

Asked by Walter on 2021-05-14 05:48:03 UTC

Or what should I append to Linux PATH variable so that colcon can find shell extension for command environment?

Asked by Walter on 2021-05-14 06:06:05 UTC

(...) same error comes up for rosidl_typesupport_introspection_c package. Is this package also for creating custom messages and can I ignore this one also?

Yep! rosidl* anything will be related to those custom messages so for now you can probably ignore it too.

Or what should I append to Linux PATH variable so that colcon can find shell extension for command environment?

Honestly I'm not sure.

Asked by Spectre on 2021-05-15 14:23:33 UTC