I have been successfully compiling but I am facing an error on linking.
It's really hard to get to the reason because it just exits without any error message or meaningful log.
Here is how the command executed looks like :
"C:\Program Files\Emscripten\emscripten\1.35.0\emcc.bat" ../../asmjs/obj/Emscripten/Debug/toyobj/Modular.o ../../asmjs/obj/Emscripten/Debug/toyobj/Module.o ../../asmjs/obj/Emscripten/Debug/toyobj/Object.o ../../asmjs/obj/Emscripten/Debug/toyobj/Procedure.o ../../asmjs/obj/Emscripten/Debug/toyobj/Proto.o ../../asmjs/obj/Emscripten/Debug/toyobj/Ref.o ../../asmjs/obj/Emscripten/Debug/toyobj/Stem.o ../../asmjs/obj/Emscripten/Debug/toyobj/Type.o ../../asmjs/obj/Emscripten/Debug/toyobj/Typed.o ../../asmjs/obj/Emscripten/Debug/toyobj/Echo.o ../../asmjs/obj/Emscripten/Debug/toyobj/Imprint.o ../../asmjs/obj/Emscripten/Debug/toyobj/Injector.o ../../asmjs/obj/Emscripten/Debug/toyobj/Member.o ../../asmjs/obj/Emscripten/Debug/toyobj/Method.o ../../asmjs/obj/Emscripten/Debug/toyobj/Script.o ../../asmjs/obj/Emscripten/Debug/toyobj/String.o ../../asmjs/obj/Emscripten/Debug/toyobj/Colour.o ../../asmjs/obj/Emscripten/Debug/toyobj/GlobalType.o ../../asmjs/obj/Emscripten/Debug/toyobj/Stat.o ../../asmjs/obj/Emscripten/Debug/toyobj/Timer.o ../../asmjs/obj/Emscripten/Debug/toyobj/Updatable.o -o ../../asmjs/bin/toyobj_d.js -O0
The only feedback I get is :
1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Platforms\Emscripten\PlatformToolsets\emcc\Toolset.targets(88,5): error MSB6006: "C:\Program Files\Emscripten\emscripten\1.35.0\emcc.bat" exited with code -1073741701.
The really annoying thing is, when I just copy the command string, and go manually in the VS project folder and run the command, it just works ! Which means I have really no way to find what is causing the error since manually running it doesn't trigger the error :/