Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Eigen requires C++14 to build #44

Open
codeinred opened this issue Jun 6, 2024 · 0 comments
Open

Eigen requires C++14 to build #44

codeinred opened this issue Jun 6, 2024 · 0 comments

Comments

@codeinred
Copy link

When attempting to build the library with Apple Clang, the build fails with the following error:

/Users/alecto/3rd/eigen/Eigen/src/Core/util/Macros.h:709:2: error: Eigen requires at least c++14 support.
#error Eigen requires at least c++14 support.
 ^

Current versions of gcc and llvm clang use C++17 by default, so CMake doesn't bother to pass the -std=c++11 flag, which is likely why this wasn't caught previously.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant