The C++ version in the CMakeLists for direct download of the A-LOAM library is 11, as follows:
cmake_minimum_required(VERSION 2.8.3)
project(aloam_velodyne)
set(CMAKE_BUILD_TYPE "Release")
set(CMAKE_CXX_FLAGS "-std=c++11")
set(CMAKE_CXX_FLAGS_RELEASE "-O3 -Wall -g")
But Ceres 2.0 and above requires C++14 compiler, so you just need to change the C++ compiler to 14
cmake_minimum_required(VERSION 2.8.3)
project(aloam_velodyne)
set(CMAKE_BUILD_TYPE "Release")
set(CMAKE_CXX_FLAGS "-std=c++14")
set(CMAKE_CXX_FLAGS_RELEASE "-O3 -Wall -g")
‘
Read More:
- [Solved] A-LOAM Ceres Compile Error: error: ‘integer_sequence’ is not a member of ‘std‘
- [Solved] Data Set reproduct loam_velodyne Fully error: [multiscanregistration-1]
- How to Solve platformio adding library error
- Android: How to Solve libuv Compile Error
- How to Solve Archetype generate Error
- R language: How to Solve DMwR Install Error
- How to Solve Msys2/mingw64 Run cmake GUI Error
- How to Solve “/usr/bin/ld: skipping incompatible”
- How to Solve VScode 2022 error: msvcp110d.dll not found
- How to Solve Nginx cross compilation Error
- How to Solve Gradle Error: Plugin with id ‘jetty’ not found.
- [Solved] dyld: Library not loaded: /System/Library/Frameworks/Network.framework/Network
- How to Solve install dm.xmlsec.binding Error
- How to Solve Xcode M1 simulator Error
- How to Solve Project Upgrade to flutter2.5.0 Error
- How to Solve Error: “initializer element is not constant”
- How to Solve Cocoapods Installation Failure
- How to Solve [error] malformed \uxxxx encoding Error
- How to Solve UE5 Compile Error: Error MSB3073
- VScode: How to Solve golong plug-in install Error