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

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

Open
droter opened this issue Dec 6, 2020 · 1 comment
Open

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

droter opened this issue Dec 6, 2020 · 1 comment

Comments

@droter
Copy link

droter commented Dec 6, 2020

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
Copy link
Author

droter commented Dec 6, 2020

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_by_size.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

@droter droter changed the title no member named ‘Scale’ geometry_size = collision->GetShape()->Scale(); Build error: no member named ‘Scale’ geometry_size = collision->GetShape()->Scale(); Dec 6, 2020
@droter droter changed the title Build error: no member named ‘Scale’ geometry_size = collision->GetShape()->Scale(); Build error: user_interfaces/gazebo_plugin.cpp.o] Error 1 Dec 6, 2020
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

1 participant