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

libpointmatcher library is not recognized #1248

Open
vanbacvb opened this issue Dec 2, 2024 · 1 comment
Open

libpointmatcher library is not recognized #1248

vanbacvb opened this issue Dec 2, 2024 · 1 comment

Comments

@vanbacvb
Copy link

vanbacvb commented Dec 2, 2024

I have installed the libpointmatcher library as shown in the image.
Screenshot from 2024-12-02 17-43-54

but when running "rosdep install --from-paths src --ignore-src -r -y". this library is still recognized.

reading in sources list data from /etc/ros/rosdep/sources.list.d
Hit file:///usr/share/python3-rosdep2/debian.yaml
Hit https://raw.githubusercontent.com/ros/rosdistro/master/rosdep/osx-homebrew.yaml
Hit https://raw.githubusercontent.com/ros/rosdistro/master/rosdep/base.yaml
Hit https://raw.githubusercontent.com/ros/rosdistro/master/rosdep/python.yaml
Hit https://raw.githubusercontent.com/ros/rosdistro/master/rosdep/ruby.yaml
Hit https://raw.githubusercontent.com/ros/rosdistro/master/releases/fuerte.yaml
Query rosdistro index https://raw.githubusercontent.com/ros/rosdistro/master/index-v4.yaml
Skip end-of-life distro "ardent"
Skip end-of-life distro "bouncy"
Skip end-of-life distro "crystal"
Skip end-of-life distro "dashing"
Add distro "debian"
Skip end-of-life distro "eloquent"
Skip end-of-life distro "foxy"
Skip end-of-life distro "galactic"
Skip end-of-life distro "groovy"
Add distro "humble"
Skip end-of-life distro "hydro"
Skip end-of-life distro "indigo"
Add distro "iron"
Skip end-of-life distro "jade"
Add distro "jazzy"
Skip end-of-life distro "kinetic"
Skip end-of-life distro "lunar"
Skip end-of-life distro "melodic"
Add distro "noetic"
Add distro "rolling"
updated cache in /home/sdv/.ros/rosdep/sources.cache
ERROR: the following packages/stacks could not have their rosdep keys resolved
to system dependencies:
rtabmap: No definition of [libpointmatcher] for OS version [Jammy Jellyfish]
Continuing to install resolvable dependencies...
#All required rosdeps installed successfully

I am installing rtabmap on :
ros 2 humble
ubuntu 22.04.5 LST
Plase help me, thank you!

@matlabbe
Copy link
Member

matlabbe commented Dec 3, 2024

If you have libpointmatcher installed locally, you may not want to install the humble binaries to avoid confusion. I would just skip the rosdep install thing, and install dependencies only if cmake/colcon fails to find some of them. rtabmap should be able to find libpointmatcher installed in /usr/local.

For the rosdep not finding libpointmatcher, you may need to update your rosdep config. On my system (Ubuntu 22.04/humble), rosdep can resolve libpointmatcher:

$ rosdep install --from-paths rtabmap --ignore-src -r -y
executing command [sudo -H apt-get install -y ros-humble-libpointmatcher]
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following NEW packages will be installed:
  ros-humble-libpointmatcher
0 upgraded, 1 newly installed, 0 to remove and 159 not upgraded.
Need to get 3,007 kB of archives.
After this operation, 25.2 MB of additional disk space will be used.
Get:1 http://packages.ros.org/ros2/ubuntu jammy/main amd64 ros-humble-libpointmatcher amd64 1.3.1-3jammy.20240728.194125 [3,007 kB]
Fetched 3,007 kB in 1s (2,945 kB/s)                   
Selecting previously unselected package ros-humble-libpointmatcher.
(Reading database ... 470296 files and directories currently installed.)
Preparing to unpack .../ros-humble-libpointmatcher_1.3.1-3jammy.20240728.194125_amd64.deb ...
Unpacking ros-humble-libpointmatcher (1.3.1-3jammy.20240728.194125) ...
Setting up ros-humble-libpointmatcher (1.3.1-3jammy.20240728.194125) ...
#All required rosdeps installed successfully

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

2 participants