Skip to content
Advertisement

Tag: webassembly

Can’t compile to .wasm on Linux

Summary (Edit: removed all unnecessary information, added Windows10 experience, upgraded CLANG on Ubuntu to the same version, removed Debian10 due to old CLANG version) I’ve created a pretty simple WASM module, compiled on MacOS, works ✅, compiled on MS-Windows10, works ✅, compiled on Ubuntu21.10: produces 318 bytes of zeros ❌, Details Symptom On Ubuntu21, the linker produces the file with

WebAssembly emsdk installation fails

I want to install EMSDK for WASM compilation but EMSDK installation fails. I’ve already installed Cmake (3.14.0-rc1 also tried 3.5.2 then) on Ubuntu 16. When I run ./emsdk install sdk-incoming-64bit binaryen-master-64bit it fails: Answer You are probably missing make as cmake is complaining that there is no make program. Try sudo apt-get install build-essential

Advertisement