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

Target "CPPZMQ::CPPZMQ" not found #3

Closed
christophfroehlich opened this issue May 10, 2024 · 1 comment
Closed

Target "CPPZMQ::CPPZMQ" not found #3

christophfroehlich opened this issue May 10, 2024 · 1 comment

Comments

@christophfroehlich
Copy link

christophfroehlich commented May 10, 2024

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?

@azeey
Copy link
Collaborator

azeey commented Jul 16, 2024

This was also mentioned in #5. The rosdep key was updated in ros/rosdistro#41413 and new releases have been made, so this should be resolved now.

@azeey azeey closed this as completed Jul 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants