Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wrong recommended Emscripten version for compiling web #8589

Closed
0MirageTank0 opened this issue Dec 8, 2023 · 4 comments · Fixed by godotengine/godot#87956 or #8905
Closed

Wrong recommended Emscripten version for compiling web #8589

0MirageTank0 opened this issue Dec 8, 2023 · 4 comments · Fixed by godotengine/godot#87956 or #8905
Labels

Comments

@0MirageTank0
Copy link

0MirageTank0 commented Dec 8, 2023

Your Godot version:
Godot 4.2
Issue description:
The recommended version in the document is Emscripten 1.39.9+,which will cause compilation errors. Too newer version will cause a LTO error, but an older version (Within the recommended version range) will cause a GL_WORKAROUND_SAFARI_GETCONTEXT_BUG not found error.
image

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

After my testing, Emscripten version 3.1.26 can perform compilation tasks correctly.

Production edit: corrected LTO typo

@AThousandShips

This comment was marked as outdated.

@0MirageTank0

This comment was marked as outdated.

@AThousandShips
Copy link
Member

Did you by any chance get the LTO issues with versions between 3.1.42 and 3.1.46? In that case see here

@adamscott
Copy link
Member

Reopened. A new PR will update the recommended Emscripten version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
3 participants