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

A setup problem with ROS1-Noetic #207

Closed
clowz1 opened this issue Aug 21, 2024 · 7 comments
Closed

A setup problem with ROS1-Noetic #207

clowz1 opened this issue Aug 21, 2024 · 7 comments

Comments

@clowz1
Copy link

clowz1 commented Aug 21, 2024

When I run the rosdep command “rosdep install --from-paths ./ --ignore-src -y”, it shows the error that:

ERROR: the following packages/stacks could not have their rosdep keys resolvedto system dependences:XXXXXXX Cannot locate rosdep defintion for [ament_cmake]

I searched this error on the website, it means that I didn't install ament_cmake, but I can't install it with command, please tell me how to solve it, my ros version is noetic, thanks.

@gavanderhoorn
Copy link

ament_cmake is a package used in ROS 2.

Can you make sure you checked out the ros1 branch of this repository?

@clowz1
Copy link
Author

clowz1 commented Aug 21, 2024 via email

@gavanderhoorn
Copy link

What's the output of git rev-parse HEAD? Run it in your clone of this repository.

@clowz1
Copy link
Author

clowz1 commented Aug 21, 2024 via email

@gavanderhoorn
Copy link

That's HEAD on the ros2 branch: dc80337.

You need to git checkout ros1. Then try again.

@clowz1
Copy link
Author

clowz1 commented Aug 21, 2024 via email

@stefanscherzinger
Copy link
Contributor

Thanks @gavanderhoorn for taking care. @clowz1 Please re-open if still unclear.

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