Skip to content

Conversation

@aryanpingle
Copy link
Contributor

No description provided.

aryanpingle and others added 5 commits September 4, 2023 13:47
Also adds an example.html to codecs/jxl
Compiles successfully
Finishes decoding successfully
Throws an error on returning from WASM to the JS glue code
Commented out lines 247 - 249 in codecs\jxl\node_modules\jxl\CMakeLists.txt
Compiles successfully
WASM decoding finishes successfully
Runs successfully
@aryanpingle aryanpingle changed the title JXL Stuff Update JXL to v0.7.0 Sep 4, 2023
@aryanpingle
Copy link
Contributor Author

This commit in the libjxl repo enables -pthread whenever Emscripten is detected.

On building this version of JXL, our WASM files are generated, the decoder finishes executing correctly (as seen in the console debug statement), but the JS glue code fails with the following error:

Without decode pthread

Commenting out the section in CMakeLists.txt where JXL enables -pthread fixes everything.

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

Successfully merging this pull request may close these issues.

2 participants