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

Error while installing dependencies: libabsl-dev not available #1726

Open
fjs-acc opened this issue Jul 3, 2022 · 6 comments
Open

Error while installing dependencies: libabsl-dev not available #1726

fjs-acc opened this issue Jul 3, 2022 · 6 comments

Comments

@fjs-acc
Copy link

fjs-acc commented Jul 3, 2022

I tried installing cartographer ros on a newly set up ubuntu system (20.04.4 LTS with ros noetic installed) and followed the following steps of the documentation:
sudo apt-get update
sudo apt-get install -y python3-wstool python3-rosdep ninja-build stow

mkdir catkin_ws
cd catkin_ws
wstool init src
wstool merge -t src https://raw.githubusercontent.com/cartographer-project/cartographer_ros/master/cartographer_ros.rosinstall
wstool update -t src

sudo rosdep init
rosdep update

Up until this point everything worked fine, but when I try the next step

rosdep install --from-paths src --ignore-src --rosdistro=${ROS_DISTRO} -y

I get the following error message:

ERROR: the following packages/stacks could not have their rosdep keys resolved to system dependencies: cartographer: [libabsl-dev] defined as "not available" for OS version [focal]

Does anyone know what is causing this issue and how I can fix it?

@uzdqm
Copy link

uzdqm commented Jul 4, 2022

I am facing the exact same problem.. Would appreciate if someone know how to solve this issue

@christopherbohn
Copy link

Same issue here - ROS noetic on Ubuntu 20.04.4 LTS

@fjs-acc fjs-acc closed this as completed Jul 4, 2022
@fjs-acc
Copy link
Author

fjs-acc commented Jul 4, 2022

Well, as it turns out that this dependency was added to the cartographer package roughly a week ago (as can be seen here https://github.com/cartographer-project/cartographer/pull/1875); removing the respective line from the package.xml and installing abseil via the command from the guide (ie. src/cartographer/scripts/install_abseil.sh) seems to have fixed the issue, atleast in so far as it allowed me to build and install cartographer ros.

I'm not 100% sure if it fixed the issue without creating new ones though.

PS: I accidentally closed the topic instead of simply posting a comment, so I've reopened it in case anyone else wants to contribute.

@fjs-acc fjs-acc reopened this Jul 4, 2022
@utkarsh-ctrlalt
Copy link

utkarsh-ctrlalt commented Jul 8, 2022

@fjs-acc -- I am facing the same issue. The link you have provided for pull request is not working. Can you tell me what do I need to change in the package.xml in order to install cartographer?

@joaopeixoto13
Copy link

joaopeixoto13 commented Jul 8, 2022

@suaveUT Remove the line:
<depend>libabsl-dev</depend>

@fjs-acc
Copy link
Author

fjs-acc commented Jul 8, 2022

@suaveUT I didn't format the link properly, put you can just copy and past the adress that's actually there to reach the issue i was trying to link to.

You have to remove (delete/comment out, whatever floats your goat) line 46 (<depend>libabsl-dev</depend>) from the package.xml file in the cartographer (not cartographer ros!) package.

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

5 participants