ETHZ-RobotX / SuperMegaBot

Main repository of the SuperMegaBot
19 stars 19 forks source link

Build failure for smb_slam #6

Closed pankhurivanjani closed 3 years ago

pankhurivanjani commented 3 years ago

Hello! I am setting up the system and building up packages for Robotics Summer School '21. I am getting this error while building the smb_slam

pankhuri@pankhuri-G5-5500:~/catkin_ws$ catkin build smb_slam 
-------------------------------------------------------------
Profile:                     default
Extending:        [explicit] /opt/ros/noetic
Workspace:                   /home/pankhuri/catkin_ws
-------------------------------------------------------------
Build Space:        [exists] /home/pankhuri/catkin_ws/build
Devel Space:        [exists] /home/pankhuri/catkin_ws/devel
Install Space:      [unused] /home/pankhuri/catkin_ws/install
Log Space:          [exists] /home/pankhuri/catkin_ws/logs
Source Space:       [exists] /home/pankhuri/catkin_ws/src
DESTDIR:            [unused] None
-------------------------------------------------------------
Devel Space Layout:          linked
Install Space Layout:        None
-------------------------------------------------------------
Additional CMake Args:       -DCMAKE_BUILD_TYPE=Release
Additional Make Args:        None
Additional catkin Make Args: None
Internal Make Job Server:    True
Cache Job Environments:      False
-------------------------------------------------------------
Whitelisted Packages:        None
Blacklisted Packages:        None
-------------------------------------------------------------
Workspace configuration appears valid.
-------------------------------------------------------------
[build] Found '54' packages in 0.0 seconds.                                                                                                                                                          
[build] Package table is up to date.                                                                                                                                                                 
Starting  >>> smb_slam                                                                                                                                                                               
_____________________________________________________________________________________________________________________________________________________________________________________________________
Errors     << smb_slam:cmake /home/pankhuri/catkin_ws/logs/smb_slam/build.cmake.004.log                                                                                                              
CMake Error at /home/pankhuri/catkin_ws/src/smb_common/smb_slam/CMakeLists.txt:20 (find_package):
  By not providing "Findlibpointmatcher.cmake" in CMAKE_MODULE_PATH this
  project has asked CMake to find a package configuration file provided by
  "libpointmatcher", but CMake did not find one.

  Could not find a package configuration file provided by "libpointmatcher"
  with any of the following names:

    libpointmatcherConfig.cmake
    libpointmatcher-config.cmake

  Add the installation prefix of "libpointmatcher" to CMAKE_PREFIX_PATH or
  set "libpointmatcher_DIR" to a directory containing one of the above files.
  If "libpointmatcher" provides a separate development package or SDK, be
  sure it has been installed.

cd /home/pankhuri/catkin_ws/build/smb_slam; catkin build --get-env smb_slam | catkin env -si  /usr/bin/cmake /home/pankhuri/catkin_ws/src/smb_common/smb_slam --no-warn-unused-cli -DCATKIN_DEVEL_PREFIX=/home/pankhuri/catkin_ws/devel/.private/smb_slam -DCMAKE_INSTALL_PREFIX=/home/pankhuri/catkin_ws/install -DCMAKE_BUILD_TYPE=Release; cd -
.....................................................................................................................................................................................................
Failed     << smb_slam:cmake          [ Exited with code 1 ]                                                                                                                                         
Failed    <<< smb_slam                [ 0.1 seconds ]                                                                                                                                                
[build] Summary: 0 of 1 packages succeeded.                                                                                                                                                          
[build]   Ignored:   53 packages were skipped or are blacklisted.                                                                                                                                    
[build]   Warnings:  None.                                                                                                                                                                           
[build]   Abandoned: None.                                                                                                                                                                           
[build]   Failed:    1 packages failed.                                                                                                                                                              
[build] Runtime: 0.2 seconds total.     

From the error, it seems like it is missing libpointmatcher package, is it this one ethz-asl /libpointmatcher or am I doing something wrong ?

daBaret commented 3 years ago

Hi, thank you for the message. We updated just today the repos. The command vcs import --recursive --input https://raw.githubusercontent.com/ETHZ-RobotX/SuperMegaBot/master/smb.repos . should solve the issue. Execute this command in the folder ~/catkin_ws/src

mantelt commented 3 years ago

I assume this issue is resolved by @daBaret's comment. Feel free to re-open when necessary.