openframeworks / ofSite

openFrameworks web site
http://openframeworks.cc
159 stars 577 forks source link

Update emscripten setup guide to reflect the version needed. #716

Closed ofTheo closed 4 years ago

ofTheo commented 4 years ago

We should add setup instructions that include the right version of emscripten. This is a confirmed setup order from the forum. See: https://forum.openframeworks.cc/t/latest-emscripten-doesnt-work-on-examples/30463/15

./emsdk install emscripten-1.38.9
./emsdk install sdk-1.38.9-64bit
./emsdk install binaryen-tag-1.38.9-64bit
./emsdk install clang-e1.38.9-64bit

./emsdk activate emscripten-1.38.9
./emsdk activate sdk-1.38.9-64bit
./emsdk activate binaryen-tag-1.38.9-64bit
./emsdk activate clang-e1.38.9-64bit

source emsdk_env.sh
ofTheo commented 4 years ago

Actually this seems to work better for linux and macOS

git clone https://github.com/emscripten-core/emsdk
cd emsdk
./emsdk install sdk-incoming-64bit binaryen-master-64bit
./emsdk activate sdk-incoming-64bit binaryen-master-64bit
source ./emsdk_env.sh