-
Notifications
You must be signed in to change notification settings - Fork 11
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
Static build fail on Macbook ARM (Mx) #10
Comments
I'm afraid I can't reproduce this error - I don't have any Apple device. Did you try to find this error in the Internet? May be something like this will help you. |
Thanks for taking the time to reply. Unfortunately it did not help. Working well on windows not sure what is blocking on Mac. Seems there is an hard dependency somewhere to stdc++ which is not supported on modern Macs |
When i look at the build output of the libheif-sys i find that stdc++ linked (build finish without issues): (/Users/arnaud/Documents/dev/redseat-rust/target/debug/build/libheif-sys-a432f343eebbf632/output) ... Not sure where it's comming from... |
I have some suspicions that the default build configuration of I will try to find how to disable building these unnecessary things. |
Could you try to use |
Hey thanks! So I tried: libheif-sys = { git = "https://github.com/Cykooz/libheif-sys", features = ["compile-libheif", "embedded-libheif-plugins"], branch = "dev"} Nice find with the example! Would it help if i forked your dev code dans tried removing plugins from the build rs to isolate a problematic one? |
I think it will be useful if you try to find what plugin is responsible for the problem. |
I get the following error while trying to compile:
my cargo.toml is as follow:
I tried adding
to my cargo but to no effect
full error:
The text was updated successfully, but these errors were encountered: