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).
When I
catkin_make
, there are several errors raised:When compiling the C++ is using
add_compile_options(-std=c++11)
inCMakeLists.txt
oflivox_laser_simulation
, to fix this error, need change above 11 to 17add_compile_options(-std=c++17)
.For someone has meet same error.