Compiling Godot engine from source using emscripten and scons
Version: most recent
Hey guys, im attempting to compile the godot engine from source using emscripten and scons, but i am getting the following error. I am using the following command: scons platform=web target=template_release
error: failure to execute js library "/home/XXXX/godot/platform/web/js/libs/library_godot_audio.js": SyntaxError: Unexpected token '?',
error: use -s VERBOSE to see more details
Internal compiler error in src/compiler.js!
Please create a bug report at https://github.com/emscripten-core/emscripten/issues/
with a log of the build and the input files used to run. Exception message: "SyntaxError: Unexpected token '?'" | SyntaxError: Unexpected token '?'
at Object.load (eval at load (/usr/share/emscripten/src/compiler.js:38:8),
Does anyone know what is causing this?
Try https://github.com/godotengine/godot/issues if people there may have experienced this issue.