How do I fix rviz_ogre_vendor build failure on when install Eloquent on Mac?
Hi all,
I am trying to following these instruction to install ROS 2.0 Eloquent Elusor on my MacBook Pro:
https://index.ros.org/doc/ros2/Instal...
Unfortunately, the rviz_ogre_vendor package fails to build after running:
colcon build --symlink-install
I'm a bit unsure how to interpret the terminal output (pasted below) to try and solve this. Could anyone provide any guidance please?
Thanks!
colcon build --symlink-install
Starting >>> ament_package
Starting >>> ament_lint
Starting >>> fastcdr
Starting >>> foonathan_memory_vendor
Finished <<< foonathan_memory_vendor [1.56s]
Starting >>> poco_vendor
Finished <<< ament_package [1.66s]
--- stderr: fastcdr
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/userA/ros2_eloquent/install/fastcdr/lib/libfastcdr.1.0.10.dylib (for architecture x86_64) option "-add_rpath /Users/userA/ros2_eloquent/install/fastcdr/lib" would duplicate path, file already has LC_RPATH for: /Users/userA/ros2_eloquent/install/fastcdr/lib
---
Finished <<< fastcdr [1.71s]
Starting >>> ament_cmake_core
Starting >>> fastrtps
Finished <<< ament_lint [1.86s]
Starting >>> ament_flake8
Finished <<< poco_vendor [1.16s]
Starting >>> cyclonedds
Finished <<< ament_cmake_core [1.22s]
Starting >>> ament_cmake_libraries
Finished <<< ament_flake8 [1.52s]
Starting >>> ament_cmake_export_libraries
Finished <<< ament_cmake_libraries [0.53s]
Starting >>> ament_cmake_include_directories
--- stderr: cyclonedds
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: no LC_RPATH load command with path: /Users/userA/ros2_eloquent/build/cyclonedds/lib found in: /Users/userA/ros2_eloquent/install/cyclonedds/bin/pubsub (for architecture x86_64), required for specified option "-delete_rpath /Users/userA/ros2_eloquent/build/cyclonedds/lib"
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/userA/ros2_eloquent/install/cyclonedds/bin/pubsub (for architecture x86_64) option "-add_rpath @loader_path/../lib" would duplicate path, file already has LC_RPATH for: @loader_path/../lib
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: no LC_RPATH load command with path: /Users/userA/ros2_eloquent/build/cyclonedds/lib found in: /Users/userA/ros2_eloquent/install/cyclonedds/bin/ddsls (for architecture x86_64), required for specified option "-delete_rpath /Users/userA/ros2_eloquent/build/cyclonedds/lib"
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: for: /Users/userA/ros2_eloquent/install/cyclonedds/bin/ddsls (for architecture x86_64) option "-add_rpath @loader_path/../lib" would duplicate path, file already has LC_RPATH for: @loader_path/../lib
---
Finished <<< cyclonedds [1.07s]
Starting >>> ament_cmake_python
Finished <<< ament_cmake_export_libraries [0.79s]
Finished <<< ament_cmake_include_directories [0.72s]
Starting >>> ament_cmake_export_dependencies
Starting >>> ament_cmake_export_definitions
Finished <<< ament_cmake_python [0.64s]
Starting >>> ament_cmake_test
Finished <<< ament_cmake_export_dependencies [0.66s]
Starting >>> ament_cmake_export_include_directories
Finished <<< ament_cmake_export_definitions [0.70s]
Starting >>> ament_cmake_export_link_flags
Finished <<< ament_cmake_test [0.66s]
Starting >>> ament_cmake_version
Finished <<< ament_cmake_export_include_directories [0.72s]
Starting >>> ament_cmake_export_interfaces
Finished <<< ament_cmake_version [0.69s]
Finished <<< ament_cmake_export_link_flags [0.82s]
Starting >>> ament_cmake_target_dependencies
Starting >>> ament_pep257
Finished <<< ament_cmake_export_interfaces [1.27s]
Starting >>> ament_cppcheck
Finished <<< ament_cmake_target_dependencies [1.16s]
Starting >>> ament_cmake
Finished <<< ament_pep257 [2.08s]
Finished <<< fastrtps [6.31s]
Starting >>> ament_copyright
Starting >>> ament_index_python
Finished <<< ament_cppcheck [2.32s]
Starting >>> tinydir_vendor
Finished <<< ament_cmake [2.84s]
Starting >>> uncrustify_vendor
Finished <<< ament_copyright [2.04s]
Starting >>> ament_lint_cmake
Finished <<< ament_index_python [2.54s]
Starting >>> ament_xmllint
Finished <<< tinydir_vendor [1.55s]
Starting >>> ament_cpplint
Finished <<< uncrustify_vendor [1.57s]
Finished <<< ament_lint_cmake [1 ...
Hi, did you find any solution in regards to this issue? I also have the same issue.
Hi, since the new ROS 2.0 release on Nov 22nd I did have more luck installing using the binaries rather than from source, following these instructions: https://index.ros.org/doc/ros2/Instal.... Now I am able to verify the install by running the talker and listener demos. However, I have not quite figured out how to install RVIZ, which doesn’t appear to be included in the binaries, although I’ve not had time to try to solve this. This has meant that I am still getting errors relating to my original question.