strasdat / Sophus

C++ implementation of Lie Groups using Eigen.
Other
2.07k stars 599 forks source link

Wrong compiler standard in CMakeLists.txt #511

Closed adryan1994 closed 5 months ago

adryan1994 commented 1 year ago

System information (version)

Multiple errors occurring during installation process because of C++14 compiler standard instead of C++17 in CMakeLists.txt file:

/usr/local/include/ceres/product_manifold.h:274:36: note: ‘std::void_t’ is only available from C++17 onwards

Solution:

Steps to Reproduce

  1. git clone https://github.com/strasdat/Sophus.git
  2. cd Sophus && mkdir build && cd build
  3. cmake ..
  4. make

Expected behavior Successful installation

Sophus version: commit hash

61f9a98

Alex-Beh commented 1 year ago

Hi, I am facing the same issue and managed to compile the project with your suggestion. I think it would be great if you can open an PR for this issue.

strasdat commented 5 months ago

538 updates to c++17 among other changes. Please re-open if more changes to the cmake file is needed.