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

[ Install Issue ] Could not find C_MATH_LIBRARY using the following names: m #60

Open
Afei027 opened this issue Apr 17, 2024 · 4 comments

Comments

@Afei027
Copy link

Afei027 commented Apr 17, 2024

my os: win11
when i use pycharm to install , error like:
1713333534896
1713333578243

@scottstanie
Copy link
Contributor

The SNAPHU code from Stanford which this repository wraps does not compile on Windows. There have been some efforts to change the C code to make it work (e.g. https://github.com/PCIGeomatics/snaphu) but we haven't tried to incorporate that here.

@gmgunter
Copy link
Member

gmgunter commented Apr 17, 2024

Yeah, unfortunately the official SNAPHU releases only support Unix-like platforms. The specific build error that you're getting is saying that it can't find the C math library libm (which is typically packaged with your C distribution on Unix systems), but SNAPHU also relies on some POSIX header files that aren't available on Windows (as far as I'm aware).

You might be able to get it working if you trying installing under the WSL. I'd be interested to hear how it goes if you give it a try.

@Afei027
Copy link
Author

Afei027 commented Apr 18, 2024 via email

@Afei027
Copy link
Author

Afei027 commented Apr 18, 2024 via email

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