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

tesseract_qt: Cannot locate rosdep definition for [gz-math7] #919

Closed
serboba opened this issue Jul 25, 2023 · 5 comments
Closed

tesseract_qt: Cannot locate rosdep definition for [gz-math7] #919

serboba opened this issue Jul 25, 2023 · 5 comments

Comments

@serboba
Copy link

serboba commented Jul 25, 2023

Hi,

I'm following the Getting Started installation tutorial (https://tesseract-docs.readthedocs.io/en/latest/_source/intro/getting_started_doc.html) and get the following error at the step:

rosdep install -y --from-paths ~/tesseract_ws/src --ignore-src --rosdistro noetic

The error:
ERROR: the following packages/stacks could not have their rosdep keys resolved to system dependencies: tesseract_qt: Cannot locate rosdep definition for [gz-math7]

and also the step above with:
wstool init ~/tesseract_ws/src/ ~/tesseract_ws/src/tesseract_planning/dependencies.rosinstall

there is no file called dependencies.rosinstall but I assume dependencies.repos is meant.
For that I also opened a pull request:
tesseract-robotics/tesseract_docs#18

Many thanks in advance.

@Levi-Armstrong
Copy link
Contributor

Here is a script to add the necessary ppa. Then install the following libraries: libgz-rendering7-dev libgz-common5-dev libgz-math7-dev

@serboba
Copy link
Author

serboba commented Jul 27, 2023

Unfortunately it still doesn't work. The same error remains:
$ rosdep install -y --from-paths ~/tesseract_ws/src --ignore-src --rosdistro noetic ERROR: the following packages/stacks could not have their rosdep keys resolved to system dependencies: tesseract_qt: Cannot locate rosdep definition for [gz-math7]

I followed the instructions in the documentary 1 to 1 and also tried them on my other Ubuntu 20.04 laptop and inside a Ubuntu 20.04 docker container, but it didn't work. I also tried to delete the rosdep sources list and reinitialize it but it also didn't make any difference.

@Levi-Armstrong
Copy link
Contributor

When using rosdep you need to add the gazebo packages to the skip keys.

@rjoomen
Copy link
Contributor

rjoomen commented Jul 31, 2023

Or run rosdep with option -r, this ignores missed dependencies:

rosdep install --ignore-src --from-paths src -y -r

@serboba
Copy link
Author

serboba commented Aug 3, 2023

It worked, thanks a lot!!

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

3 participants