godotengine / godot-docs

Godot Engine official documentation
https://docs.godotengine.org
Other
3.97k stars 3.23k forks source link

'Compiling for the Web' section is outdated and confusing users #3900

Open capnm opened 4 years ago

capnm commented 4 years ago

Your Godot version: 3.2.x Issue description: The build structure or instructions of current emscripten changed, e.g the mentioned file .emscripten isn't involved any more.
https://emscripten.org/docs/getting_started/downloads.html

URL to the documentation page: https://docs.godotengine.org/en/latest/development/compiling/compiling_for_web.html

jeronimo-schreyer commented 3 years ago

I also tried latest emscripten version (2.0.9) on Linux and is not working with latest godot 3.2.4 version. so where it states that one should use emsdk activate latest you actually need to use emsdk activate 1.40.1 which is the latest 1.x version

Faless commented 3 years ago

I also tried latest emscripten version (2.0.9) on Linux and is not working with latest godot 3.2.4 version

Yeah, they broke compatibility in their latest version, the 2.0.8 should also work.

jeronimo-schreyer commented 3 years ago

tried version 2.0.8 and didn't work either. Checked the version using emsdk list, I'm also using precompiled node-12.18.1-64bit (don't know if that changes anything)

2.0.7 linked correctly though

I'm using target=release tools=no flags to build Godot