-
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
statically linking libheif #20
Comments
I'm afraid, I don't know how to do it. I've never done it before. |
I'm pretty new to rust but doesn't rust embed libraries in executable at build time? |
C libraries are manually dynamically linked. This has nothing to do with how rust crates work. |
How to support compiling into wasm? |
According to the Internet it is a very painful task. |
Also you have to consider that
Source - https://stackoverflow.com/a/10179181 |
@woelper Did you succeed in statically linking libheif ? |
Not completely. I managed to get some success on windows, but not on other platforms. |
I know this is not Rust, but someone got it working by compiling libheif to WASM using emscripten and running it that way https://github.com/jerbob92/goheif/blob/feature/webassembly/libde265/libde265.go Thanks to this guy, now my mom can access her photos |
@Cykooz, has the license changed since then, or did I miss something? C.f. libheif/README.md#license
|
GNU Lesser General Public License - LGPL. |
Hi, and thank you for this great library!
I am trying to statically link libheif to make distribution of my program easier and not have the user install libheif individually. Is there a recommended or even built-in way of doing so?
The text was updated successfully, but these errors were encountered: