ethz-asl / voxblox_ground_truth

Create ground truth voxblox maps from Gazebo worlds or .ply files
BSD 2-Clause "Simplified" License
83 stars 24 forks source link

Build error: user_interfaces/gazebo_plugin.cpp.o] Error 1 #14

Open droter opened 3 years ago

droter commented 3 years ago

I am getting this error:

Errors << voxblox_ground_truth:make /root/tractor_ws/logs/voxblox_ground_truth/build.make.000.log
/root/tractor_ws/src/voxblox_ground_truth/src/user_interfaces/gazebo_plugin.cpp: In member function ‘bool gazebo::VoxbloxGroundTruthPlugin::serviceCallback(voxblox_msgs::FilePath::Request&, voxblox_msgs::FilePath::Response&)’: /root/tractor_ws/src/voxblox_ground_truth/src/user_interfaces/gazebo_plugin.cpp:155:60: error: ‘class gazebo::physics::Shape’ has no member named ‘Scale’ geometry_size = collision->GetShape()->Scale(); ^ make[2]: [CMakeFiles/voxblox_ground_truth_plugin.dir/src/user_interfaces/gazebo_plugin.cpp.o] Error 1 make[1]: [CMakeFiles/voxblox_ground_truth_plugin.dir/all] Error 2 make[1]: Waiting for unfinished jobs.... make: [all] Error 2

This is on ROS kinetic and gazebo7.

Any ideas?

droter commented 3 years ago

Tried building on noetic:

I changed the CMakeLists.txt to use c++14

End of error message: /usr/include/boost/preprocessor/iteration/detail/local.hpp:34:9: required from here /usr/include/boost/iostreams/detail/select_bysize.hpp:96:54: fatal error: template instantiation depth exceeds maximum of 900 (use ‘-ftemplate-depth=’ to increase the maximum) 96 | template struct case { char c1; case_<N - 1> c2; }; | ^~ compilation terminated. make[2]: [CMakeFiles/voxblox_ground_truth_plugin.dir/build.make:63: CMakeFiles/voxblox_ground_truth_plugin.dir/src/user_interfaces/gazebo_plugin.cpp.o] Error 1 make[1]: [CMakeFiles/Makefile2:3680: CMakeFiles/voxblox_ground_truth_plugin.dir/all] Error 2 make: *** [Makefile:141: all] Error 2