Search Unity

  1. We are migrating the Unity Forums to Unity Discussions. On July 12, the Unity Forums will become read-only. On July 15, Unity Discussions will become read-only until July 18, when the new design and the migrated forum contents will go live. Read our full announcement for more information and let us know if you have any questions.

Can't build ROS-TCP-CONNECTOR "cannot locate rosdep definition for [message_runtime]"

Discussion in 'Robotics' started by fruffers, Mar 4, 2023.

  1. fruffers

    fruffers

    Joined:
    Nov 23, 2020
    Posts:
    5
    Hello I am trying to build the ROS-TCP-CONNECTOR package in ROS2 foxy. I get a catkin error when I try to build it so I try running rosdep and get the error "cannot locate rosdep definition for [message_runtime]". Any idea what is wrong?

    Many thanks! :)
     
  2. seifmostafa7347

    seifmostafa7347

    Joined:
    Nov 2, 2021
    Posts:
    22
    I see that you are using ROS2 foxy , but mentioneted a "catkin" error if this was not a typo , check that the package you are trying to build is a ROS2 package
     
  3. fruffers

    fruffers

    Joined:
    Nov 23, 2020
    Posts:
    5
    Hi, you are using ROS2 but using a ROS1 branch of the repository likely. You need to switch to a ROS2 branch in the repository because the code is different. I had this same error and fixed it this way if you have made the mistake that I did. :)
     
  4. fruffers

    fruffers

    Joined:
    Nov 23, 2020
    Posts:
    5
    Oh, XD I made this thread... Whoops. Thought I was talking to someone else. But the problem is fixed. Haha.
     
    Envilon likes this.