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

Issues compiling (to wasm) #1431

Open
Klaasvaak opened this issue Dec 20, 2024 · 2 comments
Open

Issues compiling (to wasm) #1431

Klaasvaak opened this issue Dec 20, 2024 · 2 comments

Comments

@Klaasvaak
Copy link

I'm running into multiple issues when trying to compile this project on a mac.

When trying the compile steps as described here.

  • The cmake command it giving a lot of warning about missing packages.
  • ./configure does not exist

When compiling to wasm I'm getting the error:
nproc: command not found

Would it be possible to have a docker image to build this project instead? Then it should work on any platform and you don't need to support any OS documentation.

I'm running into issues in my application where I need a newer version of libheif-js but this package is still stuck on version 1.18.2

@farindk
Copy link
Contributor

farindk commented Jan 15, 2025

There is a script build-emscripten.sh in the repository, but I am not sure it runs on macOS without changes.

I've added pre-compiled JS files to the latest release:
https://github.com/strukturag/libheif/releases/tag/v1.19.5

@Klaasvaak
Copy link
Author

@farindk that's nice, thank you :) Will these be added to the new releases from now on? That could be useful (maybe also for the libheif-js repo)

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

2 participants