Open danoli3 opened 4 months ago
Added
<IfModule mod_headers.c>
Header set Cross-Origin-Embedder-Policy "require-corp"
Header set Cross-Origin-Opener-Policy "same-origin"
</IfModule>
Options Multiviews RemoveType .gz AddEncoding x-gzip .gz AddType application/wasm .wasm AddOutputFilterByType DEFLATE application/wasm
### Emscripten update TODO:a
- template shell html updated with new module code (slight differences in shell template currently causing issues)
- testing on Local runner
- testing on Apache
- nginix server config template added like apache
- copy template server file to output directory for website files
- JS check / library - for browser compatibility for **WASM**
- JS check / library - for browser compatibility for **pThreads** (if used)
- JS check / library - for browser compatibility for **memory64** (if used)
Currently working on getting Emscripten latest working as requirement for PirateJam is webgl submission https://itch.io/jam/pirate
I've been working on a GLFW binding as well rather than HTML5 context binding that is currently being used in ofxEmscriptenWindow.
With GLFW we get ability for multi window system i.e. many canvas
The simple and safe thing is to pass all -s flags at both compile and link time.
Latest Potions | Libraries:
EMSDK - 3.1.64 https://github.com/emscripten-core/emscripten/blob/main/ChangeLog.md
scripts/emscripten/download_latest_libs.sh
Alternative Apothecary Potions available
pThread on or off
memory64 enabled or standard https://github.com/openframeworks/apothecary/releases/tag/bleeding