mirror of
https://github.com/projectM-visualizer/projectm.git
synced 2026-03-01 21:16:01 +00:00
* add glm lib in vendor folder * fix makefile * add more help and context to emscripten readme * add correct output parameter to emcc * add how to restart the process to the readme * simplify emscripten compilation * apply patch * fix blur shaders to work with WebGL
28 lines
650 B
Plaintext
28 lines
650 B
Plaintext
Running on the web.
|
|
|
|
## Prepare
|
|
* Activate the emsdk (https://github.com/juj/emsdk#installation-instructions)
|
|
* Make sure you are in the root directory of this project
|
|
* On fresh repositories: `./autogen.sh`
|
|
|
|
## Compile
|
|
* `emconfigure ./configure --enable-emscripten`
|
|
* `emmake make`
|
|
|
|
## Create wasm & html files
|
|
* `cd src/projectM-emscripten`
|
|
* `make run`
|
|
|
|
## Troubleshooting
|
|
|
|
### General
|
|
|
|
Want to restart the process after pulling or changing config?
|
|
* `rm src/projectM-emscripten/projectW*`
|
|
* restart with emconfigure or emmake
|
|
|
|
### OS X troubleshooting:
|
|
|
|
#### `./autogen.sh: line 3: autoreconf: command not found`
|
|
fix via `brew install automake`
|