slambook2 icon indicating copy to clipboard operation
slambook2 copied to clipboard

ch3 编译出错,请在CMakeLists.txt中加上c++11支持

Open cxzhp opened this issue 4 years ago • 2 comments

请把这行加在 ch3/CMakeLists.txt中,谢谢

set(CMAKE_CXX_FLAGS "-std=c++11")

cxzhp avatar Mar 10 '20 14:03 cxzhp

Close this issue?

collenjones avatar Jul 13 '20 04:07 collenjones

Try change the set(CMAKE_CXX_FLAGS "-std=c++11") as set(CMAKE_CXX_FLAGS "-std=c++14") for the CMkaeList.txt file in the visualizeGeometry folder. Enviroment: ubuntu 22.04 Solved the problem.

zahir-w avatar Mar 20 '23 02:03 zahir-w