Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/smack0007/imgui-wasm
Dear ImGui compiled to wasm.
https://github.com/smack0007/imgui-wasm
Last synced: 20 days ago
JSON representation
Dear ImGui compiled to wasm.
- Host: GitHub
- URL: https://github.com/smack0007/imgui-wasm
- Owner: smack0007
- License: mit
- Created: 2022-09-20T19:22:14.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-10-04T20:15:49.000Z (over 2 years ago)
- Last Synced: 2024-11-07T11:47:50.046Z (2 months ago)
- Language: TypeScript
- Size: 401 KB
- Stars: 1
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.md
- License: LICENSE
Awesome Lists containing this project
README
# imgui-wasm
Dear ImGui compiled to wasm.
## Building
```bash
./update-submodules.sh
./download-wasi.sh
./build-wasm.sh
./build.sh
``````
wasm-ld: error: cannot open .../lib/wasi/libclang_rt.builtins-wasm32.a: No such file or directory
```See [this page](https://github.com/jedisct1/libclang_rt.builtins-wasm32.a) to fix the error related
to `libclang_rt.builtins-wasm32.a` is missing.## Credit
- [@rapodaca](https://github.com/rapodaca/) for the article on how to compile
to wasm using only clang: [Compiling C to WebAssembly and Running It - without Emscripten](https://depth-first.com/articles/2019/10/16/compiling-c-to-webassembly-and-running-it-without-emscripten/)