JavaScript WASM compilation fails with yoga-3.2.0 and yoga-3.2.1
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 18.9k
- Forks
- 1.6k
- Avg merge
- 1m
- Merged PRs (30d)
- 1
Description
I downloaded the source and attempted to compile it on macOS, but encountered the following errors:
■ emcmake cmake -S . -B build -G Ninja
[11:25:06 AM] x Error detected while running '_wrapFunction'
[11:25:06 AM] x ------------------------------------
[11:25:06 AM] x Error: Command failed: /Users/.../yoga-3.2.0/javascript/.emsdk/upstream/emscripten/emcmake cmake -S . -B build -G Ninja
x ------------------------------------
[11:25:06 AM] x finished 'build' in 1101.29s with errors
[11:25:06 AM] x Error previously detected. See above for error messages.
npm ERR! Lifecycle script build failed with error:
npm ERR! Error: command failed
npm ERR! in workspace: yoga-layout@3.2.0
npm ERR! at location: /Users/chengfuchen/Downloads/yoga-3.2.0/javascript
Does anyone have any insight into these errors?
Appreciate any assistance on this
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start in the javascript workspace and reproduce the failure with emcmake cmake -S . -B build -G Ninja, using the Emscripten SDK path shown in the report. Read the complete _wrapFunction and CMake output to identify the failing build step; done means the JavaScript WASM build completes successfully for yoga-3.2.0 and yoga-3.2.1.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cmake, javascript, wasm
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100