[ Install Issue ] Could not find C_MATH_LIBRARY using the following names: m
my os: win11
when i use pycharm to install , error like:
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.
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.
Thank you, I'll give it a try
Yの影子 @.***
------------------ 原始邮件 ------------------ 发件人: "isce-framework/snaphu-py" @.>; 发送时间: 2024年4月18日(星期四) 凌晨2:40 @.>; @.@.>; 主题: Re: [isce-framework/snaphu-py] [ Install Issue ] Could not find C_MATH_LIBRARY using the following names: m (Issue #60)
Yeah, 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.
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>
Thank you, I'll take a look
Yの影子 @.***
------------------ 原始邮件 ------------------ 发件人: "Scott @.>; 发送时间: 2024年4月17日(星期三) 晚上8:19 收件人: @.>; 抄送: @.>; @.>; 主题: Re: [isce-framework/snaphu-py] [ Install Issue ] Could not find C_MATH_LIBRARY using the following names: m (Issue #60)
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.
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>