ethz-asl / voxblox

A library for flexible voxel-based mapping, mainly focusing on truncated and Euclidean signed distance fields.
BSD 3-Clause "New" or "Revised" License
1.29k stars 350 forks source link

Catkin build fails for voxblox_ros:make and voxblox_ros packages. #374

Closed hamdaan19 closed 2 years ago

hamdaan19 commented 2 years ago

Hey guys,

I am trying to install voxblox on ROS Noetic. I followed all instructions as given in the installation page. But when I run catkin build voxblox_ros the build is failing. The following the output/error that I am getting. Would be great if anyone can help out.

/usr/include/pcl-1.10/pcl/common/io.h:65:9: note:   no known conversion for argument 1 from ‘const pcl::PCLPointField’ to ‘int’
make[2]: *** [CMakeFiles/voxblox_ros.dir/build.make:63: CMakeFiles/voxblox_ros.dir/src/esdf_server.cc.o] Error 1
make[2]: *** [CMakeFiles/voxblox_ros.dir/build.make:102: CMakeFiles/voxblox_ros.dir/src/intensity_server.cc.o] Error 1
make[2]: *** [CMakeFiles/voxblox_ros.dir/build.make:89: CMakeFiles/voxblox_ros.dir/src/simulation_server.cc.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:619: CMakeFiles/voxblox_ros.dir/all] Error 2
make: *** [Makefile:141: all] Error 2
cd /home/hamdaan/ROS/voxblox_ws/build/voxblox_ros; catkin build --get-env voxblox_ros | catkin env -si  /usr/bin/make --jobserver-auth=3,4; cd -

......................................................................................................................................................................................
Failed     << voxblox_ros:make                             [ Exited with code 2 ]                                                                                                     
Failed    <<< voxblox_ros                                  [ 13.9 seconds ]                                                                                                           
Abandoned <<< mav_voxblox_planning                         [ Unrelated job failed ]                                                                                                   
Abandoned <<< voxblox_planning_common                      [ Unrelated job failed ]                                                                                                   
Abandoned <<< voxblox_loco_planner                         [ Unrelated job failed ]                                                                                                   
Abandoned <<< mav_local_planner                            [ Unrelated job failed ]                                                                                                   
Abandoned <<< voxblox_rrt_planner                          [ Unrelated job failed ]                                                                                                   
Abandoned <<< voxblox_skeleton                             [ Unrelated job failed ]                                                                                                   
Abandoned <<< voxblox_skeleton_planner                     [ Unrelated job failed ]                                                                                                   
Abandoned <<< mav_planning_benchmark                       [ Unrelated job failed ]                                                                                                   
[build] Summary: 22 of 31 packages succeeded.                                                                                                                                         
[build]   Ignored:   5 packages were skipped or are blacklisted.                                                                                                                      
[build]   Warnings:  1 packages succeeded with warnings.                                                                                                                              
[build]   Abandoned: 8 packages were abandoned.                                                                                                                                       
[build]   Failed:    1 packages failed.                                                                                                                                               
[build] Runtime: 30.2 seconds total.   
tkazik commented 2 years ago

Duplicate of https://github.com/ethz-asl/voxblox/issues/370