rsasaki0109 / lidarslam_ros2

ROS 2 package of 3D lidar slam using ndt/gicp registration and pose-optimization
BSD 2-Clause "Simplified" License
511 stars 121 forks source link

PCL Version #63

Closed remauxl closed 1 year ago

remauxl commented 1 year ago

Hello, after I successfully completed the requirements to build steps, I encountered the fault that is below in the last step which is for using to build. What should I do?

colcon build --cmake-args -DCMAKE_BUILD_TYPE=Release


user@ubuntu:~/ros2_ws$ colcon build --cmake-args -DCMAKE_BUILD_TYPE=Release

Starting >>> lidarslam_msgs
Starting >>> ndt_omp_ros2
Finished <<< lidarslam_msgs [0.72s]                                                             
--- stderr: ndt_omp_ros2                         
CMake Error at CMakeLists.txt:23 (find_package):
  Could not find a configuration file for package "PCL" that is compatible
  with requested version "1.12".

  The following configuration files were considered but not accepted:

    /usr/share/pcl-1.8/PCLConfig.cmake, version: 1.8.0

make: *** [Makefile:370: cmake_check_build_system] Error 1
---
Failed   <<< ndt_omp_ros2 [0.96s, exited with code 2]

Summary: 1 package finished [1.23s]
  1 package failed: ndt_omp_ros2
  1 package had stderr output: ndt_omp_ros2
  3 packages not processed
rsasaki0109 commented 1 year ago

What is your ros2 vesion? Maybe it is old. Depending on the version of ros2 (dashing/foxy/humble), you will need to switch branches for this package.

remauxl commented 1 year ago

It's 22.04 LTS Ubuntu and I installed the latest version of foxy from ros.org/en/foxy 2 days ago. Should I try with other distributions of ros2 ? image

rsasaki0109 commented 1 year ago

For foxy, it is the following branch. https://github.com/rsasaki0109/lidarslam_ros2/tree/foxy

rsasaki0109 commented 1 year ago

I'm closing this issue since we haven't seen any recent activity. If the problem comes up again, feel free to open a new issue at any time.