PeterFWS / Structure-PLP-SLAM

[ICRA'23] The official Implementation of "Structure PLP-SLAM: Efficient Sparse Mapping and Localization using Point, Line and Plane for Monocular, RGB-D and Stereo Cameras"
GNU General Public License v3.0
394 stars 59 forks source link

‘runtime_error’ is not a member of ‘std’ #23

Open C-H-Chien opened 3 months ago

C-H-Chien commented 3 months ago

Hi,

An error was met during the compilation: Structure-PLP-SLAM/src/pangolin_viewer/color_scheme.cc:45:24: error: ‘runtime_error’ is not a member of ‘std’`

std::runtime_error is defined in the header <stdexcept> (according to this), so placing #include <stdexcept> in src/pangolin_viewer/color_scheme.h could solve the issue.