Quantcast
Channel: Questions in topic: "webgl"
Viewing all articles
Browse latest Browse all 2390

WebGL and Python Building Errors

$
0
0
Whenever I build for WebGL it raises a few errors instead, and I can't fix them. I've already spent hours and hours looking for the answer but haven't had any success. The errors are as follows: Failed Running C:\Program Files\.../python.exe: Failed running "C:\Program Files\Unity\Editor\Data\PlaybackEngines\WebGLSupport/BuildTools/Emscripten_Win/python/2.7.5.3_64bit/python.exe" "C:\Program Files\Unity\Editor\Data\PlaybackEngines\WebGLSupport/BuildTools/Emscripten/emcc" -Oz -std=c++11 -Wno-unused-value -Wno-invalid-offsetof -I-I"C:/Users/Blake Abel/Google Drive/School/10th Grade/History/Trimester 3 - Global Issues/Creative Component/NuclearEnergy/Assets/../Temp/StagingArea/Data\Libraries\bdwgc/include" -I"C:/Users/Blake Abel/Google Drive/School/10th Grade/History/Trimester 3 - Global Issues/Creative Component/NuclearEnergy/Assets/../Temp/StagingArea/Data\Libraries\libil2cpp/include" -I"C:/Users/Blake Abel/Google Drive/School/10th Grade/History/Trimester 3 - Global Issues/Creative Component/NuclearEnergy/Assets/../Temp/StagingArea/Data\il2cppOutput" -nostdinc -c @"C:\Users\BLAKEA~1\AppData\Local\Temp\tmp56686dc6.tmp" WARNING root: -I or -L of an absolute path "-IC:/Users/Blake Abel/Google Drive/School/10th Grade/History/Trimester 3 - Global Issues/Creative Component/NuclearEnergy/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 C:/Users/Blake Abel/Google Drive/School/10th Grade/History/Trimester 3 - Global Issues/Creative Component/NuclearEnergy/Assets/../Temp/StagingArea/Data\il2cppOutput\Bulk_Generics_2.cpp:18: In file included from C:/Users/Blake Abel/Google Drive/School/10th Grade/History/Trimester 3 - Global Issues/Creative Component/NuclearEnergy/Assets/../Temp/StagingArea/Data\Libraries\libil2cpp/include\codegen/il2cpp-codegen.h:16: C:/Users/Blake Abel/Google Drive/School/10th Grade/History/Trimester 3 - Global Issues/Creative Component/NuclearEnergy/Assets/../Temp/StagingArea/Data\Libraries\libil2cpp/include\icallincludes.h:56:10: fatal error: 'icalls/mscorlib/System.Reflection.Emit/GenericTypeParameterBuilder.h' file not found #include "icalls/mscorlib/System.Reflection.Emit/GenericTypeParameterBuilder.h" ^ 1 error generated. ERROR root: compiler frontend failed to generate LLVM bitcode, halting UnityEngine.Debug:LogError(Object) NativeCompiler:RunProgram(ProcessStartInfo) (at C:/buildslave/unity/build/Editor/Mono/BuildPipeline/Il2Cpp/NativeCompiler.cs:60) NativeCompiler:Execute(String, String) (at C:/buildslave/unity/build/Editor/Mono/BuildPipeline/Il2Cpp/NativeCompiler.cs:26) UnityEditor.WebGL.Il2Cpp.c__AnonStorey1:<>m__13() And IL2CPP Compile failed: Exception: IL2CPP compile failed. NativeCompiler.RunProgram (System.Diagnostics.ProcessStartInfo startInfo) (at C:/buildslave/unity/build/Editor/Mono/BuildPipeline/Il2Cpp/NativeCompiler.cs:62) NativeCompiler.Execute (System.String arguments, System.String compilerPath) (at C:/buildslave/unity/build/Editor/Mono/BuildPipeline/Il2Cpp/NativeCompiler.cs:26) UnityEditor.WebGL.Il2Cpp.EmscriptenCompiler.LinkObjects (IEnumerable`1 sources, System.String outfile) (at /Users/builduser/buildslave/unity/build/PlatformDependent/WebGL/Extensions/Unity.WebGL.extensions/Il2Cpp/EmscriptenCompiler.cs:57) UnityEditor.WebGL.Il2Cpp.EmscriptenCompiler.MultiThreadedCompile (System.String outfile, IEnumerable`1 sources, IEnumerable`1 includePaths, Boolean exceptionSupport) (at /Users/builduser/buildslave/unity/build/PlatformDependent/WebGL/Extensions/Unity.WebGL.extensions/Il2Cpp/EmscriptenCompiler.cs:44) UnityEditor.WebGL.Il2Cpp.EmscriptenCompiler.CompileDynamicLibrary (System.String outFile, IEnumerable`1 sources, IEnumerable`1 includePaths, IEnumerable`1 libraries, IEnumerable`1 libraryPaths) (at /Users/builduser/buildslave/unity/build/PlatformDependent/WebGL/Extensions/Unity.WebGL.extensions/Il2Cpp/EmscriptenCompiler.cs:21) UnityEditorInternal.IL2CPPBuilder.Run () (at C:/buildslave/unity/build/Editor/Mono/BuildPipeline/Il2Cpp/IL2CPPUtils.cs:218) UnityEditorInternal.IL2CPPUtils.RunIl2Cpp (System.String stagingAreaData, IIl2CppPlatformProvider platformProvider, System.Action`1 modifyOutputBeforeCompile, UnityEditor.RuntimeClassRegistry runtimeClassRegistry, Boolean developmentBuild) (at C:/buildslave/unity/build/Editor/Mono/BuildPipeline/Il2Cpp/IL2CPPUtils.cs:135) UnityEditor.WebGL.WebGlBuildPostprocessor.PostProcess (BuildPostProcessArgs args) (at /Users/builduser/buildslave/unity/build/PlatformDependent/WebGL/Extensions/Unity.WebGL.extensions/BuildPostprocessor.cs:301) UnityEditor.PostprocessBuildPlayer.Postprocess (BuildTarget target, System.String installPath, System.String companyName, System.String productName, Int32 width, Int32 height, System.String downloadWebplayerUrl, System.String manualDownloadWebplayerUrl, BuildOptions options, UnityEditor.RuntimeClassRegistry usedClassRegistry) (at C:/buildslave/unity/build/Editor/Mono/BuildPipeline/PostprocessBuildPlayer.cs:316) UnityEditor.HostView:OnGUI() I've already tries running as administrator and building to a folder in documents instead of to Drive, and nothing's worked. I've updated Unity to the latest version I could find, 5.3.4p6, and reinstalled python 2.7.11. I have no clue what to do next. HELP!

Viewing all articles
Browse latest Browse all 2390

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>