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

When building CoAcd can't link to the standard math library on Macos #27

Closed
fire opened this issue Oct 8, 2023 · 5 comments
Closed

Comments

@fire
Copy link
Contributor

fire commented Oct 8, 2023

Can't link to the standard math library on the mac machine or on the cloud.

https://github.com/fire/CoACD/actions/runs/6448697326/job/17506251288

-- ----------------------------------------------------
-- ----------- Configuring OpenVDBBinaries ------------
-- ----------------------------------------------------
-- Performing Test EIGEN_COMPILER_SUPPORT_CPP11
-- Performing Test EIGEN_COMPILER_SUPPORT_CPP11 - Failed
-- Performing Test COMPILER_SUPPORT_std=cpp03
-- Performing Test COMPILER_SUPPORT_std=cpp03 - Failed
-- Performing Test standard_math_library_linked_to_automatically
-- Performing Test standard_math_library_linked_to_automatically - Failed
-- Performing Test standard_math_library_linked_to_as_m
CMake Error at build/_deps/eigen-src/CMakeLists.txt:108 (message):
-- Performing Test standard_math_library_linked_to_as_m - Failed
  Can't link to the standard math library.  Please report to the Eigen
  developers, telling them about your platform.
-- Configuring incomplete, errors occurred!
@fire fire changed the title When building CoAcd can't link to the standard math library on MAC When building CoAcd can't link to the standard math library on Macos Oct 8, 2023
@eliphatfs
Copy link
Collaborator

It is due to cmake not finding <cmath> library.
Could you please check whether this snippet compiles with cmake or not in that environment?

#include<cmath>
int main(int argc, char **){
  return int(std::sin(double(argc)) + std::log(double(argc)));
}

@eliphatfs
Copy link
Collaborator

@fire
Copy link
Contributor Author

fire commented Oct 10, 2023

Can you pr the mac build to coacd? I would appreciate the work thanks!

@SarahWeiii
Copy link
Owner

It was merged into the main branch now

@fire
Copy link
Contributor Author

fire commented Oct 10, 2023

The github actions appear to be disabled.

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

3 participants