Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ros_gz_bridge build failed #33

Open
Seungjun80 opened this issue Aug 27, 2024 · 1 comment
Open

ros_gz_bridge build failed #33

Seungjun80 opened this issue Aug 27, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@Seungjun80
Copy link

Seungjun80 commented Aug 27, 2024

Environment

  • OS Version: Ubuntu 24.04
  • Source or binary build?
    binary build.
    gazebo harmonic
    ros2 jazzy

Steps to reproduce

I just follow the exact steps on the tutorial,
but ros_gz_bridge build failed.

Output

Starting >>> ros_gz_interfaces
Starting >>> ros_gz_sim
Starting >>> sdformat_test_files
Starting >>> ros_gz_example_description
Starting >>> ros_gz_example_application
Finished <<< ros_gz_example_description [0.18s]
Starting >>> ros_gz_example_gazebo
Finished <<< sdformat_test_files [0.20s]
Finished <<< ros_gz_example_application [0.20s]
Starting >>> sdformat_urdf
Finished <<< ros_gz_sim [0.29s]
Starting >>> ros_ign_gazebo
Finished <<< ros_gz_example_gazebo [0.23s]
Starting >>> ros_gz_example_bringup
Finished <<< ros_ign_gazebo [0.18s]
Finished <<< sdformat_urdf [0.29s]
Finished <<< ros_gz_example_bringup [0.12s]
Finished <<< ros_gz_interfaces [2.31s]
Starting >>> ros_gz_bridge
Starting >>> ros_ign_interfaces
Finished <<< ros_ign_interfaces [1.49s]
--- stderr: ros_gz_bridge
/usr/bin/ld: libros_gz_bridge.so: undefined reference to YAML::detail::memory::create_node()' /usr/bin/ld: libros_gz_bridge.so: undefined reference to vtable for YAML::InvalidNode'
/usr/bin/ld: libros_gz_bridge.so: undefined reference to YAML::detail::node_data::empty_scalar[abi:cxx11]()' /usr/bin/ld: libros_gz_bridge.so: undefined reference to YAML::detail::node_data::begin()'
/usr/bin/ld: libros_gz_bridge.so: undefined reference to vtable for YAML::BadSubscript' /usr/bin/ld: libros_gz_bridge.so: undefined reference to YAML::detail::node_data::set_null()'
/usr/bin/ld: libros_gz_bridge.so: undefined reference to YAML::detail::node_data::end()' /usr/bin/ld: libros_gz_bridge.so: undefined reference to typeinfo for YAML::BadConversion'
/usr/bin/ld: libros_gz_bridge.so: undefined reference to YAML::BadConversion::~BadConversion()' /usr/bin/ld: libros_gz_bridge.so: undefined reference to YAML::convert::decode(YAML::Node const&, bool&)'
/usr/bin/ld: libros_gz_bridge.so: undefined reference to typeinfo for YAML::InvalidNode' /usr/bin/ld: libros_gz_bridge.so: undefined reference to typeinfo for YAML::BadSubscript'
/usr/bin/ld: libros_gz_bridge.so: undefined reference to YAML::Load(std::istream&)' /usr/bin/ld: libros_gz_bridge.so: undefined reference to vtable for YAML::RepresentationException'
/usr/bin/ld: libros_gz_bridge.so: undefined reference to vtable for YAML::Exception' /usr/bin/ld: libros_gz_bridge.so: undefined reference to vtable for YAML::BadConversion'
/usr/bin/ld: libros_gz_bridge.so: undefined reference to YAML::detail::memory_holder::merge(YAML::detail::memory_holder&)' /usr/bin/ld: libros_gz_bridge.so: undefined reference to YAML::InvalidNode::~InvalidNode()'
/usr/bin/ld: libros_gz_bridge.so: undefined reference to YAML::BadSubscript::~BadSubscript()' /usr/bin/ld: libros_gz_bridge.so: undefined reference to YAML::detail::node_data::mark_defined()'
collect2: error: ld returned 1 exit status
gmake[2]: *** [CMakeFiles/static_bridge.dir/build.make:278: static_bridge] 오류 1
gmake[1]: *** [CMakeFiles/Makefile2:261: CMakeFiles/static_bridge.dir/all] 오류 2

...

Summary: 10 packages finished [17.0s]
1 package failed: ros_gz_bridge
1 package had stderr output: ros_gz_bridge
8 packages not processed

@Seungjun80 Seungjun80 added the bug Something isn't working label Aug 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants
@Seungjun80 and others