在CMakeLists.txt 文件中增加一行:
add_definitions(-std=c++11)
增加eigen支持:
find_package(Eigen3 REQUIRED)
include_directories(${EIGEN3_INCLUDE_DIR})
在CMakeLists.txt 文件中增加一行:
add_definitions(-std=c++11)
增加eigen支持:
find_package(Eigen3 REQUIRED)
include_directories(${EIGEN3_INCLUDE_DIR})