I have managed to build several WebGL applications but for a more complex project I’m getting the following errors:
Failed to run “C:\Program Files\Unity 5.0.0b9\Editor\Data\PlaybackEngines\webglsupport/BuildTools/Emscripten_Win/python/2.7.5.3_64bit/python.exe”
Program: “C:\Program Files\Unity 5.0.0b9\Editor\Data\PlaybackEngines\webglsupport/BuildTools/Emscripten_Win/python/2.7.5.3_64bit/python.exe” Args: “C:\Program Files\Unity 5.0.0b9\Editor\Data\PlaybackEngines\webglsupport/BuildTools/Emscripten/emcc” -Oz -std=c++11 -Wno-unused-value -Wno-invalid-offsetof -I-I"J:/Programming/Production/ElfaWebPlanner/Assets/…/Temp/StagingArea/Data\Libraries\bdwgc/include" -I"J:/Programming/Production/ElfaWebPlanner/Assets/…/Temp/StagingArea/Data\Libraries\libil2cpp/include" -I"J:/Programming/Production/ElfaWebPlanner/Assets/…/Temp/StagingArea/Data\il2cppOutput" -nostdinc -c @“C:\Users\sewi\AppData\Local\Temp\tmp3bd327a2.tmp”
WARNING: sanity check failed to run [Errno 13] Permission denied: 'C:\Program Files\Unity 5.0.0b9\Editor\Data\PlaybackEngines\webglsupport/BuildTools/emscripten.config_sanity’WARNING root: did not see a source tree above the LLVM root directory (guessing based on directory of C:\Program Files\Unity 5.0.0b9\Editor\Data\PlaybackEngines\webglsupport/BuildTools/Emscripten_FastComp_Win\llc), could not verify version numbers match
INFO root: (Emscripten: Running sanity checks)
WARNING root: java does not seem to exist, required for closure compiler, which is optional (define JAVA in ~/.emscripten if you want it)
WARNING root: -I or -L of an absolute path “-IJ:/Programming/Production/ElfaWebPlanner/Assets/…/Temp/StagingArea/Data\Libraries\libil2cpp/include” encountered. If this is to a local system header/library, it may cause problems (local system files make sense for compiling natively on your system, but not necessarily to JavaScript). Pass ‘-Wno-warn-absolute-paths’ to emcc to hide this warning.
In file included from J:/Programming/Production/ElfaWebPlanner/Assets/…/Temp/StagingArea/Data\il2cppOutput\Bulk_Arrays_0.cpp:15:
J:/Programming/Production/ElfaWebPlanner/Assets/…/Temp/StagingArea/Data\Libraries\libil2cpp/include\codegen/il2cpp-codegen.h:156:1: warning: function declared ‘noreturn’ should not return [-Winvalid-noreturn]
}
This code is protected code beloning to a client so I can’t submit it to the bugtracker. I am however eager to do whatever other tests necessary to solve this problem.