Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Join us on Thursday, June 8, for a Q&A with Unity's Content Pipeline group here on the forum, and on the Unity Discord, and discuss topics around Content Build, Import Workflows, Asset Database, and Addressables!
    Dismiss Notice

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:
    4
    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:
    4
    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:
    4
    Oh, XD I made this thread... Whoops. Thought I was talking to someone else. But the problem is fixed. Haha.
     
    Envilon likes this.