HKUST-Aerial-Robotics / VINS-Mono

A Robust and Versatile Monocular Visual-Inertial State Estimator
GNU General Public License v3.0
4.96k stars 2.09k forks source link

Build error ‘integer_sequence’ is not a member of ‘std’ #372

Open ghost opened 3 years ago

ghost commented 3 years ago

When I build this, it says

error: ‘integer_sequence’ is not a member of ‘std’

How can I fix it?

turinglife commented 3 years ago

set(CMAKE_CXX_STANDARD 14) set(CMAKE_CXX_STANDARD_REQUIRED ON)

Add the above instructions to the following CMakeLists.txt.

cd ~/catkin_ws/src & ls

ghost commented 3 years ago

@turinglife Thanks. Could you tell me in which CMakeLists.txt to set these?