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

Errors which required C++17 when running with gazebo11 #4

Open
marshal-shi opened this issue Sep 7, 2021 · 0 comments
Open

Errors which required C++17 when running with gazebo11 #4

marshal-shi opened this issue Sep 7, 2021 · 0 comments

Comments

@marshal-shi
Copy link

marshal-shi commented Sep 7, 2021

When I catkin_make, there are several errors raised:

/usr/include/gazebo-11/gazebo/physics/PhysicsEngine.hh:274:45: error: ‘any’ is not a member of ‘std’
/usr/include/gazebo-11/gazebo/physics/PhysicsEngine.hh:274:45: note: ‘std::any’ is only available from C++17 onwards

When compiling the C++ is using add_compile_options(-std=c++11) in CMakeLists.txt of livox_laser_simulation, to fix this error, need change above 11 to 17 add_compile_options(-std=c++17).

For someone has meet same error.

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