I’m struggling right now to build the wasm-web version of the engine. I was able to build the PC version without issues (although I hadn’t tried swapping it out as I don’t have issues in my game with the PC version yet and hopefully won’t ) I am now trying to build the wasm-web version as I am trying to fix a crash which sprung up in my game recently while the PC version is still functional. When I run the command to install_ems I am receiving however the following printout/error:
$ ./scripts/build.py install_ems -–package-path=./packages/
[exec] git remote get-url origin
https://github.com/defold/defold.git
Usage: build.py [options] command(s)
Commands:
distclean - Removes the DYNAMO_HOME folder
install_ext - Install external packages
... (bunch of other commands listed)
Multiple commands can be specified
To pass on arbitrary options to waf: build.py OPTIONS COMMANDS -- WAF_OPTIONS
build.py: error: no such option: -û
I did have to workaround the package_emscripten.sh script because my platform was being discarded from the download link. However, I was able to create a emsdk-1.39.16-win32.tar.gz after manually doing the steps in the script in bash and then adding the win32 text to the filename (I know this is probably a bad idea, but the folder contains lots of exes so I assume it should be fine…) This file is 693,465 KB.