ntnu-arl / gbplanner_ros

Graph-based Exploration Planner for Subterranean Environments
BSD 3-Clause "New" or "Revised" License
690 stars 153 forks source link

Build bug #37

Closed lyf23333 closed 1 year ago

lyf23333 commented 1 year ago

Hi, thank you for sharing this great work! I would like to try on my machine, but I keep getting error when I run catkin build. After I searched, this should be a error due to C++, so I ran catkin build -DCMAKE_CXX_STANDARD=17. Still showing the same error. DO you have any idea why is that? Appreciate your help!

Screenshot from 2023-07-14 16-04-16

A-Nobel commented 1 week ago

Hello! Would you like to share the solution? Thanks a lot!

A-Nobel commented 1 week ago

add_definitions(-std=c++14) -> add_definitions(-std=c++17) image