libheif icon indicating copy to clipboard operation
libheif copied to clipboard

Issues compiling (to wasm)

Open Klaasvaak opened this issue 1 year ago • 2 comments

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

Klaasvaak avatar Dec 20 '24 13:12 Klaasvaak

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

farindk avatar Jan 15 '25 13:01 farindk

@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)

Klaasvaak avatar Jan 20 '25 16:01 Klaasvaak