The WASM outputs sdfglyph.js
and sdfglyph.wasm
are not committed to git. To develop the web app locally download the compiled ones from GitHub pages:
If you want to compile the WebAssembly components from scratch, you'll need the following:
- The Emscripten SDK installed and activated on your machine (
emcc
on your path) - A boost installation on your machine
Clone this repository and all submodules with git clone --recursive
Use ./build_wasm.sh PATH_TO_INCLUDE_DIR
to build the WASM output, where PATH_TO_INCLUDE_DIR
is the directory of your local Boost install. example: ./build_wasm.sh /opt/local/include
cmake .
make