You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Tried that and got new errors. BTW, changing FILESYSTEM also changes the error.
Note that in the minimal example above, it seems that, at least since v3.1.56, it's required to add -lEGL -lGL -lhtml5 although I'm not sure the docs mention -lhtml5 explicitly.
I've been unable to build with a similar setup since after v3.1.47 . Perhaps tests with strict and fine-tuned settings could be missing.
The requirement to explicitly add -lEGL -lGL -lhtml5 is because you are using -sSTRICT, and this sets -sAUTO_JS_LIBRARIES=0 which means you have to explicitly add those libraries, they don't get included automatically.
Version of emscripten/emsdk:
Failing command line in full:
main.c
Full link command and output with
-v
appended:Note that the above builds correctly on emsdk v3.1.47 (using
-sUSE_SDL=2
instead of--use-port=sdl2
)The text was updated successfully, but these errors were encountered: