Giter Club home page Giter Club logo

gz_transport_vendor's People

Contributors

azeey avatar

Watchers

Geoffrey Biggs avatar  avatar Nate Koenig avatar  avatar

gz_transport_vendor's Issues

Target "CPPZMQ::CPPZMQ" not found

I just setup a new development docker with noble. I installed (amongst others) ros-rolling-ros-gz-sim as binary, pulled gz_ros2_control and ran rosdep.

$ rosdep install -riy --from-paths src
#All required rosdeps installed successfully

But I got this error

CMake Error at /opt/ros/rolling/opt/gz_transport_vendor/lib/cmake/gz-transport13/gz-transport13-targets.cmake:61 (set_target_properties):
  The link interface of target "gz-transport13::gz-transport13" contains:

    CPPZMQ::CPPZMQ

  but the target was not found.  Possible reasons include:

    * There is a typo in the target name.
    * A find_package call is missing for an IMPORTED target.
    * An ALIAS target is missing.

Call Stack (most recent call first):
  /opt/ros/rolling/opt/gz_transport_vendor/lib/cmake/gz-transport13/gz-transport13-config.cmake:127 (include)
  /opt/ros/rolling/opt/gz_sim_vendor/lib/cmake/gz-sim8/gz-sim8-config.cmake:94 (find_package)
  /opt/ros/rolling/opt/gz_sim_vendor/extra_cmake/lib/cmake/gz-sim/gz-sim-config.cmake:3 (find_package)
  CMakeLists.txt:28 (find_package)

installing cppzmq-dev solved this for me. Is there any dependency missing so that rosdep would install this automatically?

Missing dependency on `cppzmq-dev` when packaging?

I've been using rosdep to install a minimal set of required dependencies, including this package. However, it would seem that the released debian's of this package for ROS2 Jazzy are missing an transitive dependency for cppzmq-dev:

$ apt show ros-jazzy-gz-transport-vendor
Package: ros-jazzy-gz-transport-vendor
Version: 0.0.4-1noble.20240702.041717
Status: install ok installed
Priority: optional
Section: misc
Maintainer: Addisu Z. Taddese <[email protected]>
Installed-Size: 2267 kB
Depends: libc6 (>= 2.38), libgcc-s1 (>= 3.3.1), libprotobuf32t64 (>= 3.21.12), libsqlite3-0 (>= 3.5.9), libstdc++6 (>= 13.1), libuuid1 (>= 2.16), libzmq5 (>= 4.0.1+dfsg), ros-jazzy-gz-msgs-vendor, libprotobuf-dev, libprotoc-dev, libsqlite3-dev, libzmq3-dev, pkg-config, protobuf-compiler, pybind11-dev, python3-dev, python3-psutil, python3-pytest, ros-jazzy-gz-cmake-vendor, ros-jazzy-gz-math-vendor, ros-jazzy-gz-tools-vendor, ros-jazzy-gz-utils-vendor, uuid-dev, ros-jazzy-ros-workspace
Homepage: https://github.com/gazebosim/gz-transport
Download-Size: unknown
APT-Manual-Installed: yes
APT-Sources: /var/lib/dpkg/status
Description: Vendor package for: gz-transport13 13.2.0 Gazebo Transport: Provides fast and efficient asynchronous message passing, services, and data logging.

Resulting in downstream build errors when attempting to use the provided headers:

In file included from /opt/ros/jazzy/opt/gz_transport_vendor/include/gz/transport13/gz/transport/Discovery.hh:75,
                 from /opt/ros/jazzy/opt/gz_transport_vendor/include/gz/transport13/gz/transport.hh:26,
                 from /opt/auto_ws/src/auto-sandbox/src/gazebo/auto-gazebo-sim/dexory_gazebo/src/populate_world_node.cpp:10:
/opt/ros/jazzy/opt/gz_transport_vendor/include/gz/transport13/gz/transport/Helpers.hh:21:10: fatal error: zmq.hpp: No such file or directory
   21 | #include <zmq.hpp>
      |          ^~~~~~~~~
compilation terminated.
gmake[2]: *** [CMakeFiles/populate_world_node.dir/build.make:76: CMakeFiles/populate_world_node.dir/src/populate_world_node.cpp.o] Error 1
gmake[1]: *** [CMakeFiles/Makefile2:741: CMakeFiles/populate_world_node.dir/all] Error 2
gmake[1]: *** Waiting for unfinished jobs....

Related:

cc @azeey @nuclearsandwich

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.