CMake Error at CMakeLists.txt:104 (message): Can't link to the standard math library. Please report to the Eigen developers, telling them about your platform.
Installing eigen fails due to the error:
CMake Error at CMakeLists.txt:104 (message):
Can't link to the standard math library. Please report to the Eigen
developers, telling them about your platform.
After removing ')' in line 28 and 29 in cmake/FindStandardMathLibrary.cmake, the installation succeeds:
` " #include
int main(int argc, char **argv) {
(void)std::sin(argc));
(void)std::log(argc));
return 0;
}")`