UnrealEngineHTML5 / Documentation

533 stars 183 forks source link

Build HTML5 Error #5

Open pavel663 opened 4 years ago

pavel663 commented 4 years ago

Hello!

I created simple 3rd Person project and then launch build HTML5. After cook, the engine produced such an error:

[2020.01.19-07.57.14:747][371]UATHelper: Packaging (HTML5): [506/507] UE4Game.js [2020.01.19-07.57.14:747][371]UATHelper: Packaging (HTML5): shared:ERROR: E:\UE_Bin\ue4-r424-html5\Engine\Platforms\HTML5\Source\ThirdParty\PhysX3\PhysX_3.4\lib-1.39.0-fc-mt\LowLevel_O2.bc: No such file or directory ("E:\UE_Bin\ue4-r424-html5\Engine\Platforms\HTML5\Source\ThirdParty\PhysX3\PhysX_3.4\lib-1.39.0-fc-mt\LowLevel_O2.bc" was expected to be an input file, based on the commandline arguments provided) [2020.01.19-07.57.14:747][371]UATHelper: Packaging (HTML5): Took 823,4844917s to run UnrealBuildTool.exe, ExitCode=5 [2020.01.19-07.57.14:747][371]UATHelper: Packaging (HTML5): UnrealBuildTool failed. See log for more details. (E:\UE_Bin\ue4-r424-html5\Engine\Programs\AutomationTool\Saved\Logs\UBT-UE4Game-HTML5-Development.txt) [2020.01.19-07.57.14:747][371]UATHelper: Packaging (HTML5): AutomationTool exiting with ExitCode=5 (5) [2020.01.19-07.57.14:747][371]PackagingResults: Error: E:\UE_Bin\ue4-r424-html5\Engine\Platforms\HTML5\Source\ThirdParty\PhysX3\PhysX_3.4\lib-1.39.0-fc-mt\LowLevel_O2.bc: No such file or directory ("E:\UE_Bin\ue4-r424-html5\Engine\Platforms\HTML5\Source\ThirdParty\PhysX3\PhysX_3.4\lib-1.39.0-fc-mt\LowLevel_O2.bc" was expected to be an input file, based on the commandline arguments provided) [2020.01.19-07.57.15:080][372]UATHelper: Packaging (HTML5): BUILD FAILED

What do I need to do to fix this error? Thanks a lot.

pavel663 commented 4 years ago

Warnings before error:

[2020.01.19-07.43.31:161][676]UATHelper: Packaging (HTML5): Running: E:\UE_Bin\ue4-r424-html5\Engine\Binaries\DotNET\UnrealBuildTool.exe UE4Game HTML5 Development -NoUBTMakefiles -remoteini="D:\UE_Tests\HTML5_424_2" -skipdeploy -Manifest=E:\UE_Bin\ue4-r424-html5\Engine\Intermediate\Build\Manifest.xml -NoHotReload -log="E:\UE_Bin\ue4-r424-html5\Engine\Programs\AutomationTool\Saved\Logs\UBT-UE4Game-HTML5-Development.txt" [2020.01.19-07.43.31:479][714]UATHelper: Packaging (HTML5): Using 'git status' to determine working set for adaptive non-unity build (E:\UE_Bin\ue4-r424-html5). [2020.01.19-07.43.31:968][772]UATHelper: Packaging (HTML5): WARNING: Library 'E:\UE_Bin\ue4-r424-html5\Engine\Platforms\HTML5\Source\ThirdParty\ICU\icu4c-64_1\lib-1.39.0-fc-mt\libicu_O2.bc' was not resolvable to a file when used in Module 'ICU', assuming it is a filename and will search library paths for it. This is slow and dependency checking will not work for it. Please update reference to be fully qualified alternatively use PublicSystemLibraryPaths if you do intended to use this slow path to suppress this warning. [2020.01.19-07.43.31:968][772]PackagingResults: Warning: Library 'E:\UE_Bin\ue4-r424-html5\Engine\Platforms\HTML5\Source\ThirdParty\ICU\icu4c-64_1\lib-1.39.0-fc-mt\libicu_O2.bc' was not resolvable to a file when used in Module 'ICU', assuming it is a filename and will search library paths for it. This is slow and dependency checking will not work for it. Please update reference to be fully qualified alternatively use PublicSystemLibraryPaths if you do intended to use this slow path to suppress this warning. [2020.01.19-07.43.31:993][775]UATHelper: Packaging (HTML5): WARNING: Library 'E:\UE_Bin\ue4-r424-html5\Engine\Platforms\HTML5\Source\ThirdParty\FreeType2\FreeType2-2.10.0\lib-1.39.0-fc-mt\libfreetype_O2.bc' was not resolvable to a file when used in Module 'FreeType2', assuming it is a filename and will search library paths for it. This is slow and dependency checking will not work for it. Please update reference to be fully qualified alternatively use PublicSystemLibraryPaths if you do intended to use this slow path to suppress this warning. [2020.01.19-07.43.31:993][775]PackagingResults: Warning: Library 'E:\UE_Bin\ue4-r424-html5\Engine\Platforms\HTML5\Source\ThirdParty\FreeType2\FreeType2-2.10.0\lib-1.39.0-fc-mt\libfreetype_O2.bc' was not resolvable to a file when used in Module 'FreeType2', assuming it is a filename and will search library paths for it. This is slow and dependency checking will not work for it. Please update reference to be fully qualified alternatively use PublicSystemLibraryPaths if you do intended to use this slow path to suppress this warning. [2020.01.19-07.43.31:997][776]UATHelper: Packaging (HTML5): WARNING: Library 'E:\UE_Bin\ue4-r424-html5\Engine\Platforms\HTML5\Source\ThirdParty\HarfBuzz\harfbuzz-2.4.0\lib-1.39.0-fc-mt\libharfbuzz_O2.bc' was not resolvable to a file when used in Module 'HarfBuzz', assuming it is a filename and will search library paths for it. This is slow and dependency checking will not work for it. Please update reference to be fully qualified alternatively use PublicSystemLibraryPaths if you do intended to use this slow path to suppress this warning. [2020.01.19-07.43.32:001][776]PackagingResults: Warning: Library 'E:\UE_Bin\ue4-r424-html5\Engine\Platforms\HTML5\Source\ThirdParty\HarfBuzz\harfbuzz-2.4.0\lib-1.39.0-fc-mt\libharfbuzz_O2.bc' was not resolvable to a file when used in Module 'HarfBuzz', assuming it is a filename and will search library paths for it. This is slow and dependency checking will not work for it. Please update reference to be fully qualified alternatively use PublicSystemLibraryPaths if you do intended to use this slow path to suppress this warning. [2020.01.19-07.43.32:026][779]UATHelper: Packaging (HTML5): WARNING: Library 'E:\UE_Bin\ue4-r424-html5\Engine\Platforms\HTML5\Source\ThirdParty\PhysX3\PhysX_3.4\lib-1.39.0-fc-mt\LowLevel_O2.bc' was not resolvable to a file when used in Module 'PhysX', assuming it is a filename and will search library paths for it. This is slow and dependency checking will not work for it. Please update reference to be fully qualified alternatively use PublicSystemLibraryPaths if you do intended to use this slow path to suppress this warning. [2020.01.19-07.43.32:026][779]UATHelper: Packaging (HTML5): WARNING: Library 'E:\UE_Bin\ue4-r424-html5\Engine\Platforms\HTML5\Source\ThirdParty\PhysX3\PhysX_3.4\lib-1.39.0-fc-mt\LowLevelAABB_O2.bc' was not resolvable to a file when used in Module 'PhysX', assuming it is a filename and will search library paths for it. This is slow and dependency checking will not work for it. Please update reference to be fully qualified alternatively use PublicSystemLibraryPaths if you do intended to use this slow path to suppress this warning. [2020.01.19-07.43.32:026][779]UATHelper: Packaging (HTML5): WARNING: Library 'E:\UE_Bin\ue4-r424-html5\Engine\Platforms\HTML5\Source\ThirdParty\PhysX3\PhysX_3.4\lib-1.39.0-fc-mt\LowLevelCloth_O2.bc' was not resolvable to a file when used in Module 'PhysX', assuming it is a filename and will search library paths for it. This is slow and dependency checking will not work for it. Please update reference to be fully qualified alternatively use PublicSystemLibraryPaths if you do intended to use this slow path to suppress this warning. [2020.01.19-07.43.32:026][779]UATHelper: Packaging (HTML5): WARNING: Library 'E:\UE_Bin\ue4-r424-html5\Engine\Platforms\HTML5\Source\ThirdParty\PhysX3\PhysX_3.4\lib-1.39.0-fc-mt\LowLevelDynamics_O2.bc' was not resolvable to a file when used in Module 'PhysX', assuming it is a filename and will search library paths for it. This is slow and dependency checking will not work for it. Please update reference to be fully qualified alternatively use PublicSystemLibraryPaths if you do intended to use this slow path to suppress this warning. [2020.01.19-07.43.32:026][779]UATHelper: Packaging (HTML5): WARNING: Library 'E:\UE_Bin\ue4-r424-html5\Engine\Platforms\HTML5\Source\ThirdParty\PhysX3\PhysX_3.4\lib-1.39.0-fc-mt\LowLevelParticles_O2.bc' was not resolvable to a file when used in Module 'PhysX', assuming it is a filename and will search library paths for it. This is slow and dependency checking will not work for it. Please update reference to be fully qualified alternatively use PublicSystemLibraryPaths if you do intended to use this slow path to suppress this warning. [2020.01.19-07.43.32:026][779]UATHelper: Packaging (HTML5): WARNING: Library 'E:\UE_Bin\ue4-r424-html5\Engine\Platforms\HTML5\Source\ThirdParty\PhysX3\PhysX_3.4\lib-1.39.0-fc-mt\PhysX3_O2.bc' was not resolvable to a file when used in Module 'PhysX', assuming it is a filename and will search library paths for it. This is slow and dependency checking will not work for it. Please update reference to be fully qualified alternatively use PublicSystemLibraryPaths if you do intended to use this slow path to suppress this warning. [2020.01.19-07.43.32:026][779]UATHelper: Packaging (HTML5): WARNING: Library 'E:\UE_Bin\ue4-r424-html5\Engine\Platforms\HTML5\Source\ThirdParty\PhysX3\PhysX_3.4\lib-1.39.0-fc-mt\PhysX3CharacterKinematic_O2.bc' was not resolvable to a file when used in Module 'PhysX', assuming it is a filename and will search library paths for it. This is slow and dependency checking will not work for it. Please update reference to be fully qualified alternatively use PublicSystemLibraryPaths if you do intended to use this slow path to suppress this warning. [2020.01.19-07.43.32:026][779]UATHelper: Packaging (HTML5): WARNING: Library 'E:\UE_Bin\ue4-r424-html5\Engine\Platforms\HTML5\Source\ThirdParty\PhysX3\PhysX_3.4\lib-1.39.0-fc-mt\PhysX3Common_O2.bc' was not resolvable to a file when used in Module 'PhysX', assuming it is a filename and will search library paths for it. This is slow and dependency checking will not work for it. Please update reference to be fully qualified alternatively use PublicSystemLibraryPaths if you do intended to use this slow path to suppress this warning. [2020.01.19-07.43.32:026][779]UATHelper: Packaging (HTML5): WARNING: Library 'E:\UE_Bin\ue4-r424-html5\Engine\Platforms\HTML5\Source\ThirdParty\PhysX3\PhysX_3.4\lib-1.39.0-fc-mt\PhysX3Extensions_O2.bc' was not resolvable to a file when used in Module 'PhysX', assuming it is a filename and will search library paths for it. This is slow and dependency checking will not work for it. Please update reference to be fully qualified alternatively use PublicSystemLibraryPaths if you do intended to use this slow path to suppress this warning. [2020.01.19-07.43.32:026][779]UATHelper: Packaging (HTML5): WARNING: Library 'E:\UE_Bin\ue4-r424-html5\Engine\Platforms\HTML5\Source\ThirdParty\PhysX3\PhysX_3.4\lib-1.39.0-fc-mt\SceneQuery_O2.bc' was not resolvable to a file when used in Module 'PhysX', assuming it is a filename and will search library paths for it. This is slow and dependency checking will not work for it. Please update reference to be fully qualified alternatively use PublicSystemLibraryPaths if you do intended to use this slow path to suppress this warning. [2020.01.19-07.43.32:027][779]UATHelper: Packaging (HTML5): WARNING: Library 'E:\UE_Bin\ue4-r424-html5\Engine\Platforms\HTML5\Source\ThirdParty\PhysX3\PhysX_3.4\lib-1.39.0-fc-mt\SimulationController_O2.bc' was not resolvable to a file when used in Module 'PhysX', assuming it is a filename and will search library paths for it. This is slow and dependency checking will not work for it. Please update reference to be fully qualified alternatively use PublicSystemLibraryPaths if you do intended to use this slow path to suppress this warning. [2020.01.19-07.43.32:027][779]UATHelper: Packaging (HTML5): WARNING: Library 'E:\UE_Bin\ue4-r424-html5\Engine\Platforms\HTML5\Source\ThirdParty\PhysX3\PhysX_3.4\lib-1.39.0-fc-mt\PxFoundation_O2.bc' was not resolvable to a file when used in Module 'PhysX', assuming it is a filename and will search library paths for it. This is slow and dependency checking will not work for it. Please update reference to be fully qualified alternatively use PublicSystemLibraryPaths if you do intended to use this slow path to suppress this warning. [2020.01.19-07.43.32:027][779]UATHelper: Packaging (HTML5): WARNING: Library 'E:\UE_Bin\ue4-r424-html5\Engine\Platforms\HTML5\Source\ThirdParty\PhysX3\PhysX_3.4\lib-1.39.0-fc-mt\PxPvdSDK_O2.bc' was not resolvable to a file when used in Module 'PhysX', assuming it is a filename and will search library paths for it. This is slow and dependency checking will not work for it. Please update reference to be fully qualified alternatively use PublicSystemLibraryPaths if you do intended to use this slow path to suppress this warning. [2020.01.19-07.43.32:027][779]UATHelper: Packaging (HTML5): WARNING: Library 'E:\UE_Bin\ue4-r424-html5\Engine\Platforms\HTML5\Source\ThirdParty\PhysX3\PhysX_3.4\lib-1.39.0-fc-mt\PxTask_O2.bc' was not resolvable to a file when used in Module 'PhysX', assuming it is a filename and will search library paths for it. This is slow and dependency checking will not work for it. Please update reference to be fully qualified alternatively use PublicSystemLibraryPaths if you do intended to use this slow path to suppress this warning. [2020.01.19-07.43.32:027][779]UATHelper: Packaging (HTML5): WARNING: Library 'E:\UE_Bin\ue4-r424-html5\Engine\Platforms\HTML5\Source\ThirdParty\PhysX3\PhysX_3.4\lib-1.39.0-fc-mt\PsFastXml_O2.bc' was not resolvable to a file when used in Module 'PhysX', assuming it is a filename and will search library paths for it. This is slow and dependency checking will not work for it. Please update reference to be fully qualified alternatively use PublicSystemLibraryPaths if you do intended to use this slow path to suppress this warning. [2020.01.19-07.43.32:027][779]PackagingResults: Warning: Library 'E:\UE_Bin\ue4-r424-html5\Engine\Platforms\HTML5\Source\ThirdParty\PhysX3\PhysX_3.4\lib-1.39.0-fc-mt\LowLevel_O2.bc' was not resolvable to a file when used in Module 'PhysX', assuming it is a filename and will search library paths for it. This is slow and dependency checking will not work for it. Please update reference to be fully qualified alternatively use PublicSystemLibraryPaths if you do intended to use this slow path to suppress this warning. [2020.01.19-07.43.32:027][779]PackagingResults: Warning: Library 'E:\UE_Bin\ue4-r424-html5\Engine\Platforms\HTML5\Source\ThirdParty\PhysX3\PhysX_3.4\lib-1.39.0-fc-mt\LowLevelAABB_O2.bc' was not resolvable to a file when used in Module 'PhysX', assuming it is a filename and will search library paths for it. This is slow and dependency checking will not work for it. Please update reference to be fully qualified alternatively use PublicSystemLibraryPaths if you do intended to use this slow path to suppress this warning. [2020.01.19-07.43.32:027][779]PackagingResults: Warning: Library 'E:\UE_Bin\ue4-r424-html5\Engine\Platforms\HTML5\Source\ThirdParty\PhysX3\PhysX_3.4\lib-1.39.0-fc-mt\LowLevelCloth_O2.bc' was not resolvable to a file when used in Module 'PhysX', assuming it is a filename and will search library paths for it. This is slow and dependency checking will not work for it. Please update reference to be fully qualified alternatively use PublicSystemLibraryPaths if you do intended to use this slow path to suppress this warning. [2020.01.19-07.43.32:027][779]PackagingResults: Warning: Library 'E:\UE_Bin\ue4-r424-html5\Engine\Platforms\HTML5\Source\ThirdParty\PhysX3\PhysX_3.4\lib-1.39.0-fc-mt\LowLevelDynamics_O2.bc' was not resolvable to a file when used in Module 'PhysX', assuming it is a filename and will search library paths for it. This is slow and dependency checking will not work for it. Please update reference to be fully qualified alternatively use PublicSystemLibraryPaths if you do intended to use this slow path to suppress this warning. [2020.01.19-07.43.32:027][779]PackagingResults: Warning: Library 'E:\UE_Bin\ue4-r424-html5\Engine\Platforms\HTML5\Source\ThirdParty\PhysX3\PhysX_3.4\lib-1.39.0-fc-mt\LowLevelParticles_O2.bc' was not resolvable to a file when used in Module 'PhysX', assuming it is a filename and will search library paths for it. This is slow and dependency checking will not work for it. Please update reference to be fully qualified alternatively use PublicSystemLibraryPaths if you do intended to use this slow path to suppress this warning. [2020.01.19-07.43.32:027][779]PackagingResults: Warning: Library 'E:\UE_Bin\ue4-r424-html5\Engine\Platforms\HTML5\Source\ThirdParty\PhysX3\PhysX_3.4\lib-1.39.0-fc-mt\PhysX3_O2.bc' was not resolvable to a file when used in Module 'PhysX', assuming it is a filename and will search library paths for it. This is slow and dependency checking will not work for it. Please update reference to be fully qualified alternatively use PublicSystemLibraryPaths if you do intended to use this slow path to suppress this warning. [2020.01.19-07.43.32:027][779]PackagingResults: Warning: Library 'E:\UE_Bin\ue4-r424-html5\Engine\Platforms\HTML5\Source\ThirdParty\PhysX3\PhysX_3.4\lib-1.39.0-fc-mt\PhysX3CharacterKinematic_O2.bc' was not resolvable to a file when used in Module 'PhysX', assuming it is a filename and will search library paths for it. This is slow and dependency checking will not work for it. Please update reference to be fully qualified alternatively use PublicSystemLibraryPaths if you do intended to use this slow path to suppress this warning. [2020.01.19-07.43.32:027][779]PackagingResults: Warning: Library 'E:\UE_Bin\ue4-r424-html5\Engine\Platforms\HTML5\Source\ThirdParty\PhysX3\PhysX_3.4\lib-1.39.0-fc-mt\PhysX3Common_O2.bc' was not resolvable to a file when used in Module 'PhysX', assuming it is a filename and will search library paths for it. This is slow and dependency checking will not work for it. Please update reference to be fully qualified alternatively use PublicSystemLibraryPaths if you do intended to use this slow path to suppress this warning. [2020.01.19-07.43.32:027][779]PackagingResults: Warning: Library 'E:\UE_Bin\ue4-r424-html5\Engine\Platforms\HTML5\Source\ThirdParty\PhysX3\PhysX_3.4\lib-1.39.0-fc-mt\PhysX3Extensions_O2.bc' was not resolvable to a file when used in Module 'PhysX', assuming it is a filename and will search library paths for it. This is slow and dependency checking will not work for it. Please update reference to be fully qualified alternatively use PublicSystemLibraryPaths if you do intended to use this slow path to suppress this warning. [2020.01.19-07.43.32:027][779]PackagingResults: Warning: Library 'E:\UE_Bin\ue4-r424-html5\Engine\Platforms\HTML5\Source\ThirdParty\PhysX3\PhysX_3.4\lib-1.39.0-fc-mt\SceneQuery_O2.bc' was not resolvable to a file when used in Module 'PhysX', assuming it is a filename and will search library paths for it. This is slow and dependency checking will not work for it. Please update reference to be fully qualified alternatively use PublicSystemLibraryPaths if you do intended to use this slow path to suppress this warning. [2020.01.19-07.43.32:027][779]PackagingResults: Warning: Library 'E:\UE_Bin\ue4-r424-html5\Engine\Platforms\HTML5\Source\ThirdParty\PhysX3\PhysX_3.4\lib-1.39.0-fc-mt\SimulationController_O2.bc' was not resolvable to a file when used in Module 'PhysX', assuming it is a filename and will search library paths for it. This is slow and dependency checking will not work for it. Please update reference to be fully qualified alternatively use PublicSystemLibraryPaths if you do intended to use this slow path to suppress this warning. [2020.01.19-07.43.32:027][779]PackagingResults: Warning: Library 'E:\UE_Bin\ue4-r424-html5\Engine\Platforms\HTML5\Source\ThirdParty\PhysX3\PhysX_3.4\lib-1.39.0-fc-mt\PxFoundation_O2.bc' was not resolvable to a file when used in Module 'PhysX', assuming it is a filename and will search library paths for it. This is slow and dependency checking will not work for it. Please update reference to be fully qualified alternatively use PublicSystemLibraryPaths if you do intended to use this slow path to suppress this warning. [2020.01.19-07.43.32:027][779]PackagingResults: Warning: Library 'E:\UE_Bin\ue4-r424-html5\Engine\Platforms\HTML5\Source\ThirdParty\PhysX3\PhysX_3.4\lib-1.39.0-fc-mt\PxPvdSDK_O2.bc' was not resolvable to a file when used in Module 'PhysX', assuming it is a filename and will search library paths for it. This is slow and dependency checking will not work for it. Please update reference to be fully qualified alternatively use PublicSystemLibraryPaths if you do intended to use this slow path to suppress this warning. [2020.01.19-07.43.32:027][779]PackagingResults: Warning: Library 'E:\UE_Bin\ue4-r424-html5\Engine\Platforms\HTML5\Source\ThirdParty\PhysX3\PhysX_3.4\lib-1.39.0-fc-mt\PxTask_O2.bc' was not resolvable to a file when used in Module 'PhysX', assuming it is a filename and will search library paths for it. This is slow and dependency checking will not work for it. Please update reference to be fully qualified alternatively use PublicSystemLibraryPaths if you do intended to use this slow path to suppress this warning. [2020.01.19-07.43.32:027][779]PackagingResults: Warning: Library 'E:\UE_Bin\ue4-r424-html5\Engine\Platforms\HTML5\Source\ThirdParty\PhysX3\PhysX_3.4\lib-1.39.0-fc-mt\PsFastXml_O2.bc' was not resolvable to a file when used in Module 'PhysX', assuming it is a filename and will search library paths for it. This is slow and dependency checking will not work for it. Please update reference to be fully qualified alternatively use PublicSystemLibraryPaths if you do intended to use this slow path to suppress this warning. [2020.01.19-07.43.32:044][780]UATHelper: Packaging (HTML5): WARNING: Library 'E:\UE_Bin\ue4-r424-html5\Engine\Platforms\HTML5\Source\ThirdParty\libOpus\opus-1.1\lib-1.39.0-fc-mt\libopus_O2.bc' was not resolvable to a file when used in Module 'libOpus', assuming it is a filename and will search library paths for it. This is slow and dependency checking will not work for it. Please update reference to be fully qualified alternatively use PublicSystemLibraryPaths if you do intended to use this slow path to suppress this warning. [2020.01.19-07.43.32:044][780]UATHelper: Packaging (HTML5): WARNING: Library 'E:\UE_Bin\ue4-r424-html5\Engine\Platforms\HTML5\Source\ThirdParty\libOpus\opus-1.1\lib-1.39.0-fc-mt\libspeex_resampler_O2.bc' was not resolvable to a file when used in Module 'libOpus', assuming it is a filename and will search library paths for it. This is slow and dependency checking will not work for it. Please update reference to be fully qualified alternatively use PublicSystemLibraryPaths if you do intended to use this slow path to suppress this warning. [2020.01.19-07.43.32:044][780]PackagingResults: Warning: Library 'E:\UE_Bin\ue4-r424-html5\Engine\Platforms\HTML5\Source\ThirdParty\libOpus\opus-1.1\lib-1.39.0-fc-mt\libopus_O2.bc' was not resolvable to a file when used in Module 'libOpus', assuming it is a filename and will search library paths for it. This is slow and dependency checking will not work for it. Please update reference to be fully qualified alternatively use PublicSystemLibraryPaths if you do intended to use this slow path to suppress this warning. [2020.01.19-07.43.32:044][780]PackagingResults: Warning: Library 'E:\UE_Bin\ue4-r424-html5\Engine\Platforms\HTML5\Source\ThirdParty\libOpus\opus-1.1\lib-1.39.0-fc-mt\libspeex_resampler_O2.bc' was not resolvable to a file when used in Module 'libOpus', assuming it is a filename and will search library paths for it. This is slow and dependency checking will not work for it. Please update reference to be fully qualified alternatively use PublicSystemLibraryPaths if you do intended to use this slow path to suppress this warning. [2020.01.19-07.43.32:082][785]UATHelper: Packaging (HTML5): WARNING: Library 'E:\UE_Bin\ue4-r424-html5\Engine\Platforms\HTML5\Source\ThirdParty\PhysX3\PhysX_3.4\lib-1.39.0-fc-mt\PhysX3Vehicle_O2.bc' was not resolvable to a file when used in Module 'PhysXVehicleLib', assuming it is a filename and will search library paths for it. This is slow and dependency checking will not work for it. Please update reference to be fully qualified alternatively use PublicSystemLibraryPaths if you do intended to use this slow path to suppress this warning. [2020.01.19-07.43.32:082][785]PackagingResults: Warning: Library 'E:\UE_Bin\ue4-r424-html5\Engine\Platforms\HTML5\Source\ThirdParty\PhysX3\PhysX_3.4\lib-1.39.0-fc-mt\PhysX3Vehicle_O2.bc' was not resolvable to a file when used in Module 'PhysXVehicleLib', assuming it is a filename and will search library paths for it. This is slow and dependency checking will not work for it. Please update reference to be fully qualified alternatively use PublicSystemLibraryPaths if you do intended to use this slow path to suppress this warning. [2020.01.19-07.43.32:087][785]UATHelper: Packaging (HTML5): WARNING: Library 'E:\UE_Bin\ue4-r424-html5\Engine\Platforms\HTML5\Source\ThirdParty\PhysX3\PhysX_3.4\lib-1.39.0-fc-mt\PhysX3Cooking_O2.bc' was not resolvable to a file when used in Module 'PhysXCookingLib', assuming it is a filename and will search library paths for it. This is slow and dependency checking will not work for it. Please update reference to be fully qualified alternatively use PublicSystemLibraryPaths if you do intended to use this slow path to suppress this warning. [2020.01.19-07.43.32:087][785]PackagingResults: Warning: Library 'E:\UE_Bin\ue4-r424-html5\Engine\Platforms\HTML5\Source\ThirdParty\PhysX3\PhysX_3.4\lib-1.39.0-fc-mt\PhysX3Cooking_O2.bc' was not resolvable to a file when used in Module 'PhysXCookingLib', assuming it is a filename and will search library paths for it. This is slow and dependency checking will not work for it. Please update reference to be fully qualified alternatively use PublicSystemLibraryPaths if you do intended to use this slow path to suppress this warning.

nickshinpho commented 4 years ago

it looks like your "thirdparty libraries" was not built for some reason. these are built when running HTML5Setup.sh -- see line 251 and 296:

double check to see if you see *.bc files in:

the easiest way to rebuild them is to just re-run the HTML5Setup.sh script. keep an eye out for any errors during the run. the build script should "quit running on any error" condition or "errors during builds" will be printed at the end.

nickshinpho commented 4 years ago

scan the build logs for errors in:

the following lines attempts to will help you do this:

but, manually visually inspect those files and see if there are any errors that the build script didn't pick up.

pavel663 commented 4 years ago

it looks like your "thirdparty libraries" was not built for some reason. these are built when running HTML5Setup.sh -- see line 251 and 296:

double check to see if you see *.bc files in:

  • E:\UE_Bin\ue4-r424-html5\Engine\Platforms\HTML5\Source\ThirdParty\*\*\*.bc

the easiest way to rebuild them is to just re-run the HTML5Setup.sh script. keep an eye out for any errors during the run. the build script should "quit running on any error" condition or "errors during builds" will be printed at the end.

Found 87 files.

scan the build logs for errors in:

  • Engine/Platforms/HTML5/Build/BatchFiles/ThirdParty/.../BUILD_{0..3}/zzz_buildlog*.log

the following lines attempts to will help you do this:

but, manually visually inspect those files and see if there are any errors that the build script didn't pick up.

Found 43 files.

I saved log after buld HTML5Setup.sh.

Some errors:

CMake Error: failed to create symbolic link 'lib/libpng.pc': operation not permitted CMake Error: failed to create symbolic link 'libpng.pc': operation not permitted CMake Error: failed to create symbolic link 'lib/libpng-config': operation not permitted CMake Error: failed to create symbolic link 'libpng-config': operation not permitted CMake Error: failed to create symbolic link 'lib/libpng.bc': operation not permitted CMake Error: failed to create symbolic link 'libpng.bc': operation not permitted

3 times.

IOError: [Errno 28] No space left on device

27 times.

pavel663 commented 4 years ago

Can you give a link to your archive folder "HTML5"? Maybe this will work?

nickshinpho commented 4 years ago

it seems you are out of hard drive space -- how much free space do you have left on your E:\ drive?

note: giving you a copy of my HTML5 libraries will not help you when you start to try packaging a UE4 game with low hard drive space. that is going to chew up a lot more hard drive space than this setup.

pavel663 commented 4 years ago

I have 446Gb free on E:\

Your copy of HTML5 can help me solve this problem.

nickshinpho commented 4 years ago

i am wondering about:

IOError: [Errno 28] No space left on device

can you give context here?

nickshinpho commented 4 years ago

closing due to inactivity

rafacp commented 4 years ago

I'm getting a similar problem. Running /UnrealEngine/Engine/Platforms/HTML5/HTML5Setup.sh with line 5 uncommented I got (errors start from this part):

D:\ue4-r424-html5-2\UnrealEngine\Engine\Platforms\HTML5\Build\emsdk\emsdk-1.39.0-fastcomp\fastcomp\emscripten\emcc.bat -DHAVE_LRINTF -DOPUS_BUILD -DUSE_ALLOCA @CMakeFiles/opus.dir/includes_C.rsp -O2 -DNDEBUG -s WASM=1 -Wno-implicit-function-declaration -Wall -Wextra -Wcast-align -Wnested-externs -Wshadow -Wstrict-prototypes -o CMakeFiles\opus.dir\silk\lin2log.c.o -c D:\ue4-r424-html5-2\UnrealEngine\Engine\Source\ThirdParty\libOpus\opus-1.1\silk\lin2log.c D:\ue4-r424-html5-2\UnrealEngine\Engine\Platforms\HTML5\Build\emsdk\emsdk-1.39.0-fastcomp\fastcomp\emscripten\emcc.bat -DHAVE_LRINTF -DOPUS_BUILD -DUSE_ALLOCA @CMakeFiles/opus.dir/includes_C.rsp -O2 -DNDEBUG -s WASM=1 -Wno-implicit-function-declaration -Wall -Wextra -Wcast-align -Wnested-externs -Wshadow -Wstrict-prototypes -o CMakeFiles\opus.dir\silk\resampler_down2.c.o -c D:\ue4-r424-html5-2\UnrealEngine\Engine\Source\ThirdParty\libOpus\opus-1.1\silk\resampler_down2.c CMakeFiles\opus.dir\build.make:1762: recipe for target 'CMakeFiles/opus.dir/silk/float/pitch_analysis_core_FLP.c.o' failed mingw32-make.exe[3]: [CMakeFiles/opus.dir/silk/float/pitch_analysis_core_FLP.c.o] Error 120 mingw32-make.exe[3]: Deleting file 'CMakeFiles/opus.dir/silk/float/pitch_analysis_core_FLP.c.o' mingw32-make.exe[3]: Waiting for unfinished jobs.... CMakeFiles\opus.dir\build.make:1944: recipe for target 'CMakeFiles/opus.dir/src/mlp.c.o' failed mingw32-make.exe[3]: [CMakeFiles/opus.dir/src/mlp.c.o] Error 120 mingw32-make.exe[3]: Deleting file 'CMakeFiles/opus.dir/src/mlp.c.o' D:\ue4-r424-html5-2\UnrealEngine\Engine\Platforms\HTML5\Build\emsdk\emsdk-1.39.0-fastcomp\fastcomp\emscripten\emcc.bat -DHAVE_LRINTF -DOPUS_BUILD -DUSE_ALLOCA @CMakeFiles/opus.dir/includes_C.rsp -O2 -DNDEBUG -s WASM=1 -Wno-implicit-function-declaration -Wall -Wextra -Wcast-align -Wnested-externs -Wshadow -Wstrict-prototypes -o CMakeFiles\opus.dir\silk\stereo_encode_pred.c.o -c D:\ue4-r424-html5-2\UnrealEngine\Engine\Source\ThirdParty\libOpus\opus-1.1\silk\stereo_encode_pred.c D:\ue4-r424-html5-2\UnrealEngine\Engine\Platforms\HTML5\Build\emsdk\emsdk-1.39.0-fastcomp\fastcomp\emscripten\emcc.bat -DHAVE_LRINTF -DOPUS_BUILD -DUSE_ALLOCA @CMakeFiles/opus.dir/includes_C.rsp -O2 -DNDEBUG -s WASM=1 -Wno-implicit-function-declaration -Wall -Wextra -Wcast-align -Wnested-externs -Wshadow -Wstrict-prototypes -o CMakeFiles\opus.dir\silk\resampler_down2_3.c.o -c D:\ue4-r424-html5-2\UnrealEngine\Engine\Source\ThirdParty\libOpus\opus-1.1\silk\resampler_down2_3.c CMakeFiles\opus.dir\build.make:1706: recipe for target 'CMakeFiles/opus.dir/silk/float/inner_product_FLP.c.o' failed mingw32-make.exe[3]: [CMakeFiles/opus.dir/silk/float/inner_product_FLP.c.o] Error 120 mingw32-make.exe[3]: Deleting file 'CMakeFiles/opus.dir/silk/float/inner_product_FLP.c.o' CMakeFiles\opus.dir\build.make:1790: recipe for target 'CMakeFiles/opus.dir/silk/float/scale_vector_FLP.c.o' failed mingw32-make.exe[3]: [CMakeFiles/opus.dir/silk/float/scale_vector_FLP.c.o] Error 120 mingw32-make.exe[3]: Deleting file 'CMakeFiles/opus.dir/silk/float/scale_vector_FLP.c.o' CMakeFiles\opus.dir\build.make:1692: recipe for target 'CMakeFiles/opus.dir/silk/float/energy_FLP.c.o' failed mingw32-make.exe[3]: [CMakeFiles/opus.dir/silk/float/energy_FLP.c.o] Error 120 mingw32-make.exe[3]: Deleting file 'CMakeFiles/opus.dir/silk/float/energy_FLP.c.o' CMakeFiles\opus.dir\build.make:1720: recipe for target 'CMakeFiles/opus.dir/silk/float/k2a_FLP.c.o' failed mingw32-make.exe[3]: [CMakeFiles/opus.dir/silk/float/k2a_FLP.c.o] Error 120 mingw32-make.exe[3]: Deleting file 'CMakeFiles/opus.dir/silk/float/k2a_FLP.c.o' CMakeFiles\opus.dir\build.make:1804: recipe for target 'CMakeFiles/opus.dir/silk/float/schur_FLP.c.o' failed mingw32-make.exe[3]: [CMakeFiles/opus.dir/silk/float/schur_FLP.c.o] Error 120 mingw32-make.exe[3]: Deleting file 'CMakeFiles/opus.dir/silk/float/schur_FLP.c.o' CMakeFiles\opus.dir\build.make:1930: recipe for target 'CMakeFiles/opus.dir/src/analysis.c.o' failed mingw32-make.exe[3]: [CMakeFiles/opus.dir/src/analysis.c.o] Error 120 mingw32-make.exe[3]: Deleting file 'CMakeFiles/opus.dir/src/analysis.c.o' CMakeFiles\opus.dir\build.make:1776: recipe for target 'CMakeFiles/opus.dir/silk/float/scale_copy_vector_FLP.c.o' failed mingw32-make.exe[3]: [CMakeFiles/opus.dir/silk/float/scale_copy_vector_FLP.c.o] Error 120 mingw32-make.exe[3]: Deleting file 'CMakeFiles/opus.dir/silk/float/scale_copy_vector_FLP.c.o' CMakeFiles\opus.dir\build.make:1832: recipe for target 'CMakeFiles/opus.dir/src/opus.c.o' failed mingw32-make.exe[3]: [CMakeFiles/opus.dir/src/opus.c.o] Error 120 mingw32-make.exe[3]: Deleting file 'CMakeFiles/opus.dir/src/opus.c.o' CMakeFiles\opus.dir\build.make:1916: recipe for target 'CMakeFiles/opus.dir/src/repacketizer.c.o' failed mingw32-make.exe[3]: [CMakeFiles/opus.dir/src/repacketizer.c.o] Error 120 mingw32-make.exe[3]: Deleting file 'CMakeFiles/opus.dir/src/repacketizer.c.o' CMakeFiles\opus.dir\build.make:1874: recipe for target 'CMakeFiles/opus.dir/src/opus_multistream.c.o' failed mingw32-make.exe[3]: [CMakeFiles/opus.dir/src/opus_multistream.c.o] Error 120 emcc:INFO: emcc step "parse arguments and setup" took 0.48 seconds mingw32-make.exe[3]: Deleting file 'CMakeFiles/opus.dir/src/opus_multistream.c.o' CMakeFiles\opus.dir\build.make:1902: recipe for target 'CMakeFiles/opus.dir/src/opus_multistream_decoder.c.o' failed mingw32-make.exe[3]: [CMakeFiles/opus.dir/src/opus_multistream_decoder.c.o] Error 120 mingw32-make.exe[3]: Deleting file 'CMakeFiles/opus.dir/src/opus_multistream_decoder.c.o' CMakeFiles\opus.dir\build.make:1818: recipe for target 'CMakeFiles/opus.dir/silk/float/sort_FLP.c.o' failed mingw32-make.exe[3]: [CMakeFiles/opus.dir/silk/float/sort_FLP.c.o] Error 120 mingw32-make.exe[3]: Deleting file 'CMakeFiles/opus.dir/silk/float/sort_FLP.c.o' CMakeFiles\opus.dir\build.make:1846: recipe for target 'CMakeFiles/opus.dir/src/opus_decoder.c.o' failed mingw32-make.exe[3]: [CMakeFiles/opus.dir/src/opus_decoder.c.o] Error 120 mingw32-make.exe[3]: Deleting file 'CMakeFiles/opus.dir/src/opus_decoder.c.o' CMakeFiles\opus.dir\build.make:1734: recipe for target 'CMakeFiles/opus.dir/silk/float/levinsondurbin_FLP.c.o' failed mingw32-make.exe[3]: [CMakeFiles/opus.dir/silk/float/levinsondurbin_FLP.c.o] Error 120 mingw32-make.exe[3]: Deleting file 'CMakeFiles/opus.dir/silk/float/levinsondurbin_FLP.c.o' CMakeFiles\opus.dir\build.make:1664: recipe for target 'CMakeFiles/opus.dir/silk/float/burg_modified_FLP.c.o' failed mingw32-make.exe[3]: [CMakeFiles/opus.dir/silk/float/burg_modified_FLP.c.o] Error 120 mingw32-make.exe[3]: Deleting file 'CMakeFiles/opus.dir/silk/float/burg_modified_FLP.c.o' CMakeFiles\opus.dir\build.make:1748: recipe for target 'CMakeFiles/opus.dir/silk/float/LPC_inv_pred_gain_FLP.c.o' failed mingw32-make.exe[3]: [CMakeFiles/opus.dir/silk/float/LPC_inv_pred_gain_FLP.c.o] Error 120 mingw32-make.exe[3]: Deleting file 'CMakeFiles/opus.dir/silk/float/LPC_inv_pred_gain_FLP.c.o' CMakeFiles\opus.dir\build.make:1888: recipe for target 'CMakeFiles/opus.dir/src/opus_multistream_encoder.c.o' failed mingw32-make.exe[3]: [CMakeFiles/opus.dir/src/opus_multistream_encoder.c.o] Error 120 CMakeFiles\opus.dir\build.make:1594: recipe for target 'CMakeFiles/opus.dir/silk/float/residual_energy_FLP.c.o' failed mingw32-make.exe[3]: [CMakeFiles/opus.dir/silk/float/residual_energy_FLP.c.o] Error 120 mingw32-make.exe[3]: Deleting file 'CMakeFiles/opus.dir/silk/float/residual_energy_FLP.c.o' CMakeFiles\opus.dir\build.make:1678: recipe for target 'CMakeFiles/opus.dir/silk/float/bwexpander_FLP.c.o' failed mingw32-make.exe[3]: [CMakeFiles/opus.dir/silk/float/bwexpander_FLP.c.o] Error 120 mingw32-make.exe[3]: Deleting file 'CMakeFiles/opus.dir/silk/float/bwexpander_FLP.c.o' CMakeFiles\opus.dir\build.make:1580: recipe for target 'CMakeFiles/opus.dir/silk/float/regularize_correlations_FLP.c.o' failed mingw32-make.exe[3]: [CMakeFiles/opus.dir/silk/float/regularize_correlations_FLP.c.o] Error 120 mingw32-make.exe[3]: Deleting file 'CMakeFiles/opus.dir/silk/float/regularize_correlations_FLP.c.o' CMakeFiles\opus.dir\build.make:1608: recipe for target 'CMakeFiles/opus.dir/silk/float/solve_LS_FLP.c.o' failed mingw32-make.exe[3]: [CMakeFiles/opus.dir/silk/float/solve_LS_FLP.c.o] Error 120 mingw32-make.exe[3]: Deleting file 'CMakeFiles/opus.dir/silk/float/solve_LS_FLP.c.o' CMakeFiles\opus.dir\build.make:1650: recipe for target 'CMakeFiles/opus.dir/silk/float/autocorrelation_FLP.c.o' failed mingw32-make.exe[3]: [CMakeFiles/opus.dir/silk/float/autocorrelation_FLP.c.o] Error 120 mingw32-make.exe[3]: Deleting file 'CMakeFiles/opus.dir/silk/float/autocorrelation_FLP.c.o' CMakeFiles\opus.dir\build.make:1860: recipe for target 'CMakeFiles/opus.dir/src/opus_encoder.c.o' failed mingw32-make.exe[3]: [CMakeFiles/opus.dir/src/opus_encoder.c.o] Error 120 mingw32-make.exe[3]: Deleting file 'CMakeFiles/opus.dir/src/opus_encoder.c.o' CMakeFiles\opus.dir\build.make:1622: recipe for target 'CMakeFiles/opus.dir/silk/float/warped_autocorrelation_FLP.c.o' failed mingw32-make.exe[3]: [CMakeFiles/opus.dir/silk/float/warped_autocorrelation_FLP.c.o] Error 120 mingw32-make.exe[3]: Deleting file 'CMakeFiles/opus.dir/silk/float/warped_autocorrelation_FLP.c.o' CMakeFiles\opus.dir\build.make:1538: recipe for target 'CMakeFiles/opus.dir/silk/float/noise_shape_analysis_FLP.c.o' failed mingw32-make.exe[3]: [CMakeFiles/opus.dir/silk/float/noise_shape_analysis_FLP.c.o] Error 120 mingw32-make.exe[3]: Deleting file 'CMakeFiles/opus.dir/silk/float/noise_shape_analysis_FLP.c.o' CMakeFiles\opus.dir\build.make:1566: recipe for target 'CMakeFiles/opus.dir/silk/float/process_gains_FLP.c.o' failed mingw32-make.exe[3]: [CMakeFiles/opus.dir/silk/float/process_gains_FLP.c.o] Error 120 mingw32-make.exe[3]: Deleting file 'CMakeFiles/opus.dir/silk/float/process_gains_FLP.c.o' CMakeFiles\opus.dir\build.make:1552: recipe for target 'CMakeFiles/opus.dir/silk/float/prefilter_FLP.c.o' failed mingw32-make.exe[3]: [CMakeFiles/opus.dir/silk/float/prefilter_FLP.c.o] Error 120 mingw32-make.exe[3]: Deleting file 'CMakeFiles/opus.dir/silk/float/prefilter_FLP.c.o' CMakeFiles\opus.dir\build.make:1636: recipe for target 'CMakeFiles/opus.dir/silk/float/wrappers_FLP.c.o' failed mingw32-make.exe[3]: [CMakeFiles/opus.dir/silk/float/wrappers_FLP.c.o] Error 120 mingw32-make.exe[3]: Deleting file 'CMakeFiles/opus.dir/silk/float/wrappers_FLP.c.o' CMakeFiles\opus.dir\build.make:1468: recipe for target 'CMakeFiles/opus.dir/silk/float/find_pitch_lags_FLP.c.o' failed mingw32-make.exe[3]: [CMakeFiles/opus.dir/silk/float/find_pitch_lags_FLP.c.o] Error 120 mingw32-make.exe[3]: Deleting file 'CMakeFiles/opus.dir/silk/float/find_pitch_lags_FLP.c.o' CMakeFiles\opus.dir\build.make:1496: recipe for target 'CMakeFiles/opus.dir/silk/float/LPC_analysis_filter_FLP.c.o' failed mingw32-make.exe[3]: [CMakeFiles/opus.dir/silk/float/LPC_analysis_filter_FLP.c.o] Error 120 mingw32-make.exe[3]: Deleting file 'CMakeFiles/opus.dir/silk/float/LPC_analysis_filter_FLP.c.o' CMakeFiles\opus.dir\build.make:1524: recipe for target 'CMakeFiles/opus.dir/silk/float/LTP_scale_ctrl_FLP.c.o' failed mingw32-make.exe[3]: [CMakeFiles/opus.dir/silk/float/LTP_scale_ctrl_FLP.c.o] Error 120 emcc:INFO: emcc step "parse arguments and setup" took 0.14 seconds emcc:INFO: emcc step "parse arguments and setup" took 0.14 seconds --- Logging error --- Traceback (most recent call last): File "D:\obj\windows-release\37amd64_Release\msi_python\zip_amd64__init.py", line 1029, in emit File "D:\obj\windows-release\37amd64_Release\msi_python\zip_amd64__init.py", line 1009, in flush OSError: [Errno 28] No space left on device Call stack: File "D:\ue4-r424-html5-2\UnrealEngine\Engine\Platforms\HTML5\Build\emsdk\emsdk-1.39.0-fastcomp\fastcomp\emscripten\emcc.py", line 3715, in sys.exit(run(sys.argv)) File "D:\ue4-r424-html5-2\UnrealEngine\Engine\Platforms\HTML5\Build\emsdk\emsdk-1.39.0-fastcomp\fastcomp\emscripten\emcc.py", line 1879, in run log_time('parse arguments and setup') File "D:\ue4-r424-html5-2\UnrealEngine\Engine\Platforms\HTML5\Build\emsdk\emsdk-1.39.0-fastcomp\fastcomp\emscripten\emcc.py", line 218, in log_time logger.info('emcc step "%s" took %.2f seconds', name, now - TimeLogger.last) File "D:\obj\windows-release\37amd64_Release\msi_python\zip_amd64__init.py", line 1378, in info File "D:\obj\windows-release\37amd64_Release\msi_python\zip_amd64__init.py", line 1514, in _log File "D:\obj\windows-release\37amd64_Release\msi_python\zip_amd64\init__.py", line 1524, in handle File "D:\obj\windows-release\37amd64_Release\msi_python\zip_amd64\init__.py", line 1586, in callHandlers File "D:\obj\windows-release\37amd64_Release\msi_python\zip_amd64\init__.py", line 894, in handle File "D:\obj\windows-release\37amd64_Release\msi_python\zip_amd64\init__.py", line 1033, in emit Message: 'emcc step "%s" took %.2f seconds' Arguments: ('parse arguments and setup', 0.1380002498626709) emcc:INFO: emcc step "compile inputs" took 0.17 seconds CMakeFiles\Makefile2:94: recipe for target 'CMakeFiles/opus.dir/all' failed mingw32-make.exe[2]: [CMakeFiles/opus.dir/all] Error -1073741819 mingw32-make.exe[2]: Leaving directory 'D:/ue4-r424-html5-2/UnrealEngine/Engine/Platforms/HTML5/Intermediate/1.39.0-fc/opus-1.1/BUILD_O2' CMakeFiles\Makefile2:101: recipe for target 'CMakeFiles/opus.dir/rule' failed mingw32-make.exe[1]: [CMakeFiles/opus.dir/rule] Error 2 mingw32-make.exe[1]: Leaving directory 'D:/ue4-r424-html5-2/UnrealEngine/Engine/Platforms/HTML5/Intermediate/1.39.0-fc/opus-1.1/BUILD_O2' Makefile:137: recipe for target 'opus' failed mingw32-make.exe: [opus] Error 2 emcc:INFO: emcc step "parse arguments and setup" took 0.14 seconds --- Logging error --- Traceback (most recent call last): File "D:\obj\windows-release\37amd64_Release\msi_python\zip_amd64__init.py", line 1029, in emit File "D:\obj\windows-release\37amd64_Release\msi_python\zip_amd64__init.py", line 1009, in flush OSError: [Errno 28] No space left on device Call stack: File "D:\ue4-r424-html5-2\UnrealEngine\Engine\Platforms\HTML5\Build\emsdk\emsdk-1.39.0-fastcomp\fastcomp\emscripten\emcc.py", line 3715, in sys.exit(run(sys.argv)) File "D:\ue4-r424-html5-2\UnrealEngine\Engine\Platforms\HTML5\Build\emsdk\emsdk-1.39.0-fastcomp\fastcomp\emscripten\emcc.py", line 1879, in run log_time('parse arguments and setup') File "D:\ue4-r424-html5-2\UnrealEngine\Engine\Platforms\HTML5\Build\emsdk\emsdk-1.39.0-fastcomp\fastcomp\emscripten\emcc.py", line 218, in log_time logger.info('emcc step "%s" took %.2f seconds', name, now - TimeLogger.last) File "D:\obj\windows-release\37amd64_Release\msi_python\zip_amd64__init.py", line 1378, in info File "D:\obj\windows-release\37amd64_Release\msi_python\zip_amd64__init.py", line 1514, in _log File "D:\obj\windows-release\37amd64_Release\msi_python\zip_amd64__init.py", line 1524, in handle File "D:\obj\windows-release\37amd64_Release\msi_python\zip_amd64__init.py", line 1586, in callHandlers File "D:\obj\windows-release\37amd64_Release\msi_python\zip_amd64__init.py", line 894, in handle File "D:\obj\windows-release\37amd64_Release\msi_python\zip_amd64__init__.py", line 1033, in emit Message: 'emcc step "%s" took %.2f seconds' Arguments: ('parse arguments and setup', 0.1380002498626709) emcc:INFO: emcc step "compile inputs" took 0.17 seconds --- Logging error --- Traceback (most recent call last): File "D:\obj\windows-release\37amd64_Release\msi_python\zip_amd64\init__.py", line 1029, in emit File "D:\obj\windows-release\37amd64_Release\msi_python\zip_amd64\init__.py", line 1009, in flush OSError: [Errno 28] No space left on device Call stack: File "D:\ue4-r424-html5-2\UnrealEngine\Engine\Platforms\HTML5\Build\emsdk\emsdk-1.39.0-fastcomp\fastcomp\emscripten\emcc.py", line 3715, in sys.exit(run(sys.argv)) File "D:\ue4-r424-html5-2\UnrealEngine\Engine\Platforms\HTML5\Build\emsdk\emsdk-1.39.0-fastcomp\fastcomp\emscripten\emcc.py", line 2012, in run log_time('compile inputs') File "D:\ue4-r424-html5-2\UnrealEngine\Engine\Platforms\HTML5\Build\emsdk\emsdk-1.39.0-fastcomp\fastcomp\emscripten\emcc.py", line 218, in log_time logger.info('emcc step "%s" took %.2f seconds', name, now - TimeLogger.last) File "D:\obj\windows-release\37amd64_Release\msi_python\zip_amd64\init__.py", line 1378, in info File "D:\obj\windows-release\37amd64_Release\msi_python\zip_amd64\init.py", line 1514, in _log File "D:\obj\windows-release\37amd64_Release\msi_python\zip_amd64\init__.py", line 1524, in handle File "D:\obj\windows-release\37amd64_Release\msi_python\zip_amd64\init__.py", line 1586, in callHandlers File "D:\obj\windows-release\37amd64_Release\msi_python\zip_amd64\init__.py", line 894, in handle File "D:\obj\windows-release\37amd64_Release\msi_python\zip_amd64\init__.py", line 1033, in emit Message: 'emcc step "%s" took %.2f seconds' Arguments: ('compile inputs', 0.17000031471252441) emcc:INFO: emcc step "process inputs" took 0.05 seconds

  • '[' 2 == 0 ']'
  • cp libopus.bc /d/ue4-r424-html5-2/UnrealEngine/Engine/Platforms/HTML5/Build/BatchFiles/../../Source/ThirdParty/libOpus/opus-1.1/lib-1.39.0-fc/libopus_O2.bc cp: cannot stat 'libopus.bc': No such file or directory

How did you fix this on your side @pavel663 ?

nickshinpho commented 4 years ago

reopening this since another developer on UDN is having this exact problem.

@rafacp, can you see if manually deleting the Engine/Platforms/HTML5/Intermediate folder and then re-running the HTML5Setup.sh script fixes this issue?

the mingw32-make.exe[3]: *** Deleting file XXX failed lines of error i making me think there's a problem on windows that's either locking up those files or something... i would like to see if manually deleting the folder will solve this issue.

rafacp commented 4 years ago

reopening this since another developer on UDN is having this exact problem.

@rafacp, can you see if manually deleting the Engine/Platforms/HTML5/Intermediate folder and then re-running the HTML5Setup.sh script fixes this issue?

the mingw32-make.exe[3]: *** Deleting file XXX failed lines of error i making me think there's a problem on windows that's either locking up those files or something... i would like to see if manually deleting the folder will solve this issue.

I did it and got the same error. I've deleted the folder again and I tried to run git-bash as administrator, but the error persists.

nickshinpho commented 4 years ago

@rafacp i see:

"D:\obj\windows-release\37amd64_Release\msi_python\zip_amd64_init_.py

where did this python come from?

can you see if the following issue helps corrects this: https://github.com/UnrealEngineHTML5/Documentation/issues/11

i think if you remove your current python from your PATH and use the one from python.org this should work for you.

corneel commented 4 years ago

I am about to try some of the advice on this thread but I believe the following approach might also help us to avoid this issue:

  1. Create our own tmp directory in the beginning of HTML5 script.
  2. Do an EXPORT to point bash to this tmp directory.
  3. Break up the HTML5 script into multiple steps.
  4. In the beginning of each step we first clear the tmp directory.
corneel commented 4 years ago

Nick,

I just tried the option of deleting the Intermediate folder and running the script again but I got the same failure.

rafacp commented 4 years ago

@rafacp i see:

"D:\obj\windows-release\37amd64_Release\msi_python\zip_amd64_init_.py

where did this python come from?

can you see if the following issue helps corrects this: #11

i think if you remove your current python from your PATH and use the one from python.org this should work for you.

I'm using the python.org version. Had my Environment Variables checked and removed the Windows Apps folder, so no interference from that. I'm using the Python 3.8 version... Should I use the 3.7 version as recommended here?

nickshinpho commented 4 years ago

@corneel to set your own temp path (for the purpose of building the "third party libraries"):

as for breaking up the HTML5 setup into multiple setup, you can do that in:

anyways, putting this all together, back in Build_All_HTML5_libs.sh (or in the respective 3rd party libs build_html5_*.sh)

hope this helps!

nickshinpho commented 4 years ago

@rafacp -- ah, i see -- i have not gotten around to testing python 3.8 yet.

but, seeing as how when EMSDK is also just pulling down python 3.7.4 -- i suspect there might be an issue with 3.8... (or, that's what they've deemed working with emscripten 1.39.0)

i hope to upgrade the emscripten toolchain version -- but, i'll try doing that in the 4.25 branch...

nickshin commented 4 years ago

@corneel has found a pretty good reason why he was running out of disk space on his rig and i wanted to share his finding here:

This issue is caused by a lack of Inodes on the logical drive. I did the following command on my logical drive using git bash:

for i in /d/*; do echo $i; find $i |wc -l; done output: /d/ue4-r424-html5 277979

The HTML5Setup script fails if there is any other directory on the same logical drive with a lot of files... like another copy of the Unreal Engine.

I am going to delete my other instance of Unreal Engine and try again but it is a concern that there is such an artificial limit.

See this article for reference: https://natwebsolutions.com/how-to-fix-no-space-left-on-device-when-disk-is-not-full/

Thanks. Corneel.

this is fantastic investigation and i will be putting some of this information in the FAQ section.

corneel commented 4 years ago

You are welcome, I would add one more thing - clear the /tmp directory before starting the script. The jury is still out on whether it is caused by lack of inodes, or the number of files in /tmp, or a combination. There is also a ghost in the machine that once it has failed it is very difficult to get it to work again. Lastly, I have had better results when I run bash in authorized mode vs. just right-clicking and entering bash from explorer. I am hoping that we can eventually get more clarity as we try different options.

nickshin commented 4 years ago

@pavel663 @rafacp (and others) can you post how your drives are:

list volume
echo “hello” > blocksize.txt
du -h blocksize.txt
chkdsk /v

and, just in case you're on mac or linux -- here are their equivalent:

# formatted
mount | awk '{ print $1 " " $3 " " $5; } '

# block size
echo “hello” > blocksize.txt
du -h blocksize.txt

# number of files
df -i

note to self:

https://docs.microsoft.com/en-us/previous-versions/windows/it-pro/windows-server-2003/cc781134(v=ws.10)?redirectedfrom=MSDN#limitations-of-cluster-sizes-on-an-ntfs-volume

https://superuser.com/a/446284

https://support.microsoft.com/en-us/help/140365/default-cluster-size-for-ntfs-fat-and-exfat

corneel commented 4 years ago

Ok here are my results. In my case, the disk where HTML5 resides is "D". Btw I have another version of Unreal I am testing something with so that would explain the number of files.

listvolume

blocksize

chkdsk

rafacp commented 4 years ago

I've formatted my machine and retried the process from the start, but got stuck with another problem. I'll try again and return the data requested.

LTorrao commented 4 years ago

thank you @nickshinpho, here it goes :)

(the source lives in D, and that is all in that drive)

`DISKPART> list volume

  Volume ###  Ltr  Label        Fs     Type        Size     Status     Info
  ----------  ---  -----------  -----  ----------  -------  ---------  --------
  Volume 0     D   SSD256       NTFS   Partition    238 GB  Healthy
  Volume 1         Recovery     NTFS   Partition    529 MB  Healthy
  Volume 2     C                NTFS   Partition    475 GB  Healthy    Boot
  Volume 3                      NTFS   Partition    585 MB  Healthy
  Volume 4                      FAT32  Partition    100 MB  Healthy    System
`

$ du -h blocksize.txt 1.0K blocksize.txt

D:\>chkdsk /v
Access Denied as you do not have sufficient privileges or
the disk may be locked by another process.
You have to invoke this utility running in elevated mode
and make sure the disk is unlocked.

Now, CMD as admin:

`D:\>chkdsk /v
The type of the file system is NTFS.
Volume label is SSD256.

WARNING!  /F parameter not specified.
Running CHKDSK in read-only mode.

Stage 1: Examining basic file system structure ...
  333056 file records processed.
File verification completed.
 Phase duration (File record verification): 3.47 seconds.
  256 large file records processed.
 Phase duration (Orphan file record recovery): 0.00 milliseconds.
  0 bad file records processed.
 Phase duration (Bad file record checking): 0.42 milliseconds.

Stage 2: Examining file name linkage ...
  7 reparse records processed.
  408164 index entries processed.
Index verification completed.
 Phase duration (Index verification): 8.77 seconds.
  0 unindexed files scanned.
 Phase duration (Orphan reconnection): 335.28 milliseconds.
  0 unindexed files recovered to lost and found.
 Phase duration (Orphan recovery to lost and found): 0.39 milliseconds.
  7 reparse records processed.
 Phase duration (Reparse point and Object ID verification): 4.06 milliseconds.

Stage 3: Examining security descriptors ...
Security descriptor verification completed.
 Phase duration (Security descriptor verification): 4.68 milliseconds.
  37554 data files processed.
 Phase duration (Data attribute verification): 2.63 milliseconds.

Windows has scanned the file system and found no problems.
No further action is required.

 250041343 KB total disk space.
 120577208 KB in 295102 files.
     72312 KB in 37556 indexes.
         0 KB in bad sectors.
    406679 KB in use by the system.
     65536 KB occupied by the log file.
 128985144 KB available on disk.

      4096 bytes in each allocation unit.
  62510335 total allocation units on disk.
  32246286 allocation units available on disk.
Total duration: 12.60 seconds (12604 ms).`
nickshinpho commented 4 years ago

(thanks you @LTorrao for the admin CMD tip! -- and i see that you're D: drive is SSD...)

@pavel663 @rafacp @corneel are your UE4 files on solid-state or mechanical-spindle drives?

this is a shot in the dark -- but, i'm wondering if you all are using SSD as well -- and am thinking that your SSD device just might be hitting the "flash/ssd endurance exceeding 90%" or exhausting the "wear level" table due to many writes. if you're getting this on an HDD... then i need more drive usage/settings to help figure this out... (which we can try to find next if this is the case...)

LTorrao commented 4 years ago

@nickshinpho, I have an external drive that is HDD, would it be useful if I connected it and tried running the source there?

corneel commented 4 years ago

Hello yes the disk I tried this on is two different partitions of the same SSD

LTorrao commented 4 years ago

@nickshinpho

Here's what I did:

1) Connected external HDD to usb 2) Copied the source as it was on SSD* 3) Ran ./HTML5Setup.sh 4) Still getting plenty OSError: [Errno 28] No space left on device

*NOTE that I haven't git cloned all over again, I just copied the folder from the SSD to the external HDD

Thinking about this... I have no idea, but it feels like its predicting it will have to store a very large file, and so it says it will not have enough space in disk... is it maybe there the error? Maybe somehow the estimation of the filesize is way over the true size? This could be as simple as a typo on the source, but I am still NULL on python to figure out, unfortunately :)

rafacp commented 4 years ago

I was trying on the HDD drive before formatting and changed to the SSD drive after.

DISKPART> list volume

  Volume ###  Ltr  Label        Fs     Type        Size     Status     Info
  ----------  ---  -----------  -----  ----------  -------  ---------  --------
  Volume 0     F                       DVD-ROM         0 B  No Media
  Volume 1     C                NTFS   Partition    446 GB  Healthy    Boot
  Volume 2                      NTFS   Partition    505 MB  Healthy
  Volume 3                      FAT32  Partition    100 MB  Healthy    System
  Volume 4     D   2TB          NTFS   Partition   1863 GB  Healthy

Drive C (SSD)

$ du -h blocksize.txt
1.0K    blocksize.txt
C:\>chkdsk /v
The type of the file system is NTFS.

WARNING!  /F parameter not specified.
Running CHKDSK in read-only mode.

Stage 1: Examining basic file system structure ...
  473600 file records processed.
File verification completed.
 Phase duration (File record verification): 4.52 seconds.
  3468 large file records processed.
 Phase duration (Orphan file record recovery): 0.00 milliseconds.
  0 bad file records processed.
 Phase duration (Bad file record checking): 0.68 milliseconds.

Stage 2: Examining file name linkage ...
  161 reparse records processed.
  624862 index entries processed.
Index verification completed.
 Phase duration (Index verification): 15.73 seconds.
  0 unindexed files scanned.
 Phase duration (Orphan reconnection): 670.34 milliseconds.
  0 unindexed files recovered to lost and found.
 Phase duration (Orphan recovery to lost and found): 0.54 milliseconds.
  161 reparse records processed.
 Phase duration (Reparse point and Object ID verification): 3.06 milliseconds.

Stage 3: Examining security descriptors ...
Security descriptor verification completed.
 Phase duration (Security descriptor verification): 21.93 milliseconds.
  75632 data files processed.
 Phase duration (Data attribute verification): 0.41 milliseconds.
CHKDSK is verifying Usn Journal...
  37637792 USN bytes processed.
Usn Journal verification completed.
 Phase duration (USN journal verification): 236.83 milliseconds.

Windows has scanned the file system and found no problems.
No further action is required.

 468211770 KB total disk space.
  94727392 KB in 394315 files.
    211052 KB in 75633 indexes.
         0 KB in bad sectors.
    594050 KB in use by the system.
     65536 KB occupied by the log file.
 372679276 KB available on disk.

      4096 bytes in each allocation unit.
 117052942 total allocation units on disk.
  93169819 allocation units available on disk.
Total duration: 21.19 seconds (21197 ms).

Drive D (HDD)

$ du -h blocksize.txt
1.0K    blocksize.txt
D:\>chkdsk /v
The type of the file system is NTFS.
Volume label is 2TB.

WARNING!  /F parameter not specified.
Running CHKDSK in read-only mode.

Stage 1: Examining basic file system structure ...
  1359616 file records processed.
File verification completed.
 Phase duration (File record verification): 13.10 seconds.
  1948 large file records processed.
 Phase duration (Orphan file record recovery): 0.00 milliseconds.
  0 bad file records processed.
 Phase duration (Bad file record checking): 0.90 milliseconds.

Stage 2: Examining file name linkage ...
  9962 reparse records processed.
  1540710 index entries processed.
Index verification completed.
 Phase duration (Index verification): 1.81 minutes.
  0 unindexed files scanned.
 Phase duration (Orphan reconnection): 2.82 seconds.
  0 unindexed files recovered to lost and found.
 Phase duration (Orphan recovery to lost and found): 0.47 milliseconds.
  9962 reparse records processed.
 Phase duration (Reparse point and Object ID verification): 60.49 milliseconds.

Stage 3: Examining security descriptors ...
Security descriptor verification completed.
 Phase duration (Security descriptor verification): 115.82 milliseconds.
  90548 data files processed.
 Phase duration (Data attribute verification): 2.71 milliseconds.
CHKDSK is verifying Usn Journal...
  35410144 USN bytes processed.
Usn Journal verification completed.
 Phase duration (USN journal verification): 184.91 milliseconds.

Windows has scanned the file system and found no problems.
No further action is required.

1953497087 KB total disk space.
1285365180 KB in 693808 files.
    198736 KB in 90549 indexes.
         0 KB in bad sectors.
   1520643 KB in use by the system.
     65536 KB occupied by the log file.
 666412528 KB available on disk.

      4096 bytes in each allocation unit.
 488374271 total allocation units on disk.
 166603132 allocation units available on disk.
Total duration: 2.08 minutes (125076 ms).
nickshinpho commented 4 years ago

@LTorrao -- your errors are interesting when you've just copied it over to a HDD -- which leads me to believe there might be a permissions settings (guessing) in a folder that the build is trying to work on.

@ "everyone", in order to help hunt this down -- i've created a small subset of the "UE4 ThirdPary Libraries" used with HTML5 builds here:

if someone can build this on both SSD vs HDD and diff the two clones -- that would be really helpful to figure out what's going on here.

nickshinpho commented 4 years ago

I was trying on the HDD drive before formatting and changed to the SSD drive after.

@rafacp -- so the error you got before was on the HDD? -- can you also try a smaller "UE4 ThirdParty Library" build i mentioned above. i'd like to get more data on why this is failing.

can everyone also tell me what version of cmake and python3 they are using (before the one in emscripten is used).

LTorrao commented 4 years ago
`C:\>cmake --version
cmake version 3.17.3

C:\>python --version
Python 3.7.4`

@nickshinpho I have two branches on my fork (to compare between external HDD and internal SSD): https://github.com/LTorrao/UE4-HTML5-TPS

I hope this helps :)

nickshinpho commented 4 years ago

@LTorrao after upgrading my cmake to match your version and installed your version of python to my machine -- i am able to compile to completion.

diff'ing your build logs with my build (and scrubbing the paths to match yours) all seem to look ok.

so, looking closely at your error message again, i see you also have the exact same errors @rafacp has:

"D:\obj\windows-release\37amd64_Release\msi_python\zip_amd64_init_.py"

can you both tell me which installer you've used? it's going to be one of either:

Windows x86-64 embeddable zip file
Windows x86-64 executable installer
Windows x86-64 web-based installer

i use the "executable installer"

googling "msi_python zip_amd64" it seem that there are number of issues with embedded python users...

i'm going to halt debugging this issue on my end. i cannot spend too much time on this... i will have to ask you all to try working this out on your end.

LTorrao commented 4 years ago

@nickshinpho, I used the executable one.

Do you suggest any way to get past this issue whilst is not fixed? I need to try to builld a project of my own for HTML5 asap.

nickshinpho commented 4 years ago

@LTorrao , i have no idea why your python installer is looking at:

D:\obj\windows-release\37amd64_Release\msi_python

that makes no sense to me...

if this helps, on my system my git-bash $PATH is quite small:

$ cat ~/.bashrc

alias addpy27='export PATH=$PATH:/c/Python27'
alias addpy36='export PATH=$PATH:/c/Python36'
alias addpy37='export PATH=$PATH:/c/Python37'
alias addpy38='export PATH=$PATH:/c/Python38'

export PATH=/c/Users/nshin/bin:/mingw64/bin:/usr/local/bin:/usr/bin:/bin/c/Windows/system32:/c/Windows:/c/Program\ Files/Perforce:/cmd:/usr/bin/vendor_perl:/usr/bin/core_perl:/c/nodejs:/c/nodejs/node_modules/npm/bin:/c/Users/nshin/.cargo/bin:/c/Go/bin:/c/Program\ Files/CMake/bin

when i need to switch python versions -- i open a new git-bash window and just add which ever python path i needed (note: i only had 2 before all of this... just 2.7 and 3.6). and, using the aliases allows me to pick between them when i need to work with a particular version (just like this test today when i did not have 3.7)...

also, just in case your wondering why/how my python "links" are located in the C:\ path -- this was done when 2.7 was originally put on C:\ (i blame C:\Go for starting that... ^ _ ^) -- and to help me remember where MSVS put it's python.. i made a link to it...

$ cd /c
$ ls -dl Python*
drwxr-xr-x 1 nshin 197121  0 Apr 13  2019 Python27/
lrwxrwxrwx 1 nshin 197121 65 Jan 23  2019 Python36 -> '/c/Program Files (x86)/Microsoft Visual Studio/Shared/Python36_64'/
lrwxrwxrwx 1 nshin 197121 53 Jun 10 15:55 Python37 -> /c/Users/nshin/AppData/Local/Programs/Python/Python37/
lrwxrwxrwx 1 nshin 197121 53 Mar 11 11:06 Python38 -> /c/Users/nshin/AppData/Local/Programs/Python/Python38/

but! this may also help "shorten" the python executable path too. i know windows has a pretty short "command path" limit... and i have been using these "short symlinks" to help fix these kinds of issues...

hope this helps!

ZeusLT commented 4 years ago

@nickshinpho, I used the executable one.

Do you suggest any way to get past this issue whilst is not fixed? I need to try to builld a project of my own for HTML5 asap.

You could copy files from 4.23 launcher version(not sure if they are completely compatible, but for me it managed to compile at least), or ask someone to upload these files compiled. I've tried to compile "UE4-HTML5-TPS" on my home pc, with latest python and cmake, worked fine. It was on sata ssd. While on other computer with m.2 ssd html5 on from main branch failed to generate some of the physx ".bc" files.

ZeusLT commented 4 years ago

here is a temp link containing compiled .bc files for physx3 to help you continue your work @LTorrao - https://we.tl/t-pW62RxlY6B

LTorrao commented 4 years ago

thank you @nickshinpho and @ZeusLT

Indeed there was something about the paths

I had another computer with a fresh windows installation. I just did this:

https://stackoverflow.com/questions/56974927/permission-denied-trying-to-run-python-on-windows-10

And then installed latest Python, Cmake and git.

It just worked, this time :) I have just now played on the browser.

I will try this on the laptop I was on initially and let you know if it worked there too.

nickshinpho commented 4 years ago

PLEASE be careful when mixing binaries (i.e. thirdparty libraries) made with DIFFERENT emscripten toolchain VERSION. these sometimes (if not usually) will have bad mismatched runtime binaries leading to spectacular crashes.

nickshinpho commented 4 years ago

@LTorrao -- thank you for finding that interesting python and windows issue. that is a very useful bit of information i will need to put in the FAQ. (which will be in for the 4.25 update...) ^ _ ^

FOlivaInvelon commented 4 years ago

Hi everyone, just a quick observation.

I'm also getting errors at D:\obj\windows-release\37amd64_Release\msi_python\ and no space left on device.

The thing is, my D: drive is a DVD drive with no disk. I have a C: and an E: drive, both SSDs, and I'm building from E

Maybe this can can help a bit.

nickshinpho commented 4 years ago

@FOlivaInvelon - can you do the following in git-bash:

# see what version of python you are running with
python -VV

# where does your build environment currently see python is located at
which python

# need to see if you have multiple versions of python installed and you're not using the expected on
echo $PATH

# looking at your storage space usage
df -h

(you can scrub your $PATH of any proprietary and/or personal information)

FOlivaInvelon commented 4 years ago

$ python -VV Python 3.7.7 (tags/v3.7.7:d7c567b08f, Mar 10 2020, 10:41:24) [MSC v.1900 64 bit (AMD64)]

$ which python /c/Users/foliv/AppData/Local/Programs/Python/Python37/python

$ echo $PATH /c/Users/foliv/bin:/mingw64/bin:/usr/local/bin:/usr/bin:/bin:/mingw64/bin:/usr/bin:/c/Users/foliv/bin:/c/Program Files/Oculus/Support/oculus-runtime:/c/windows/system32:/c/windows:/c/windows/System32/Wbem:/c/windows/System32/WindowsPowerShell/v1.0:/c/windows/System32/OpenSSH:/c/WINDOWS/system32:/c/WINDOWS:/c/WINDOWS/System32/Wbem:/c/WINDOWS/System32/WindowsPowerShell/v1.0:/c/WINDOWS/System32/OpenSSH:/c/Program Files/NVIDIA Corporation/NVIDIA NvDLISR:/c/Program Files (x86)/Insta360Stitcher/tools/proStitcher:/c/Program Files (x86)/Intel/Intel(R) Management Engine Components/DAL:/c/Program Files/Intel/Intel(R) Management Engine Components/DAL:/c/Program Files/Microsoft SQL Server/120/Tools/Binn:/c/Program Files/Perforce:/c/Program Files/dotnet:/c/Program Files (x86)/NVIDIA Corporation/PhysX/Common:/c/WINDOWS/system32:/c/WINDOWS:/c/WINDOWS/System32/Wbem:/c/WINDOWS/System32/WindowsPowerShell/v1.0:/c/WINDOWS/System32/OpenSSH:/c/Program Files/CMake/bin:/cmd:/c/Program Files (x86)/IncrediBuild:/c/Program Files/Common Files/Autodesk Shared:/c/Users/foliv/AppData/Local/Programs/Python/Python37/Scripts:/c/Users/foliv/AppData/Local/Programs/Python/Python37:/c/Users/foliv/AppData/Local/Android/Sdk/platform-tools:/c/Users/foliv/AppData/Local/Android/Sdk/tools:/c/Users/foliv/AppData/Local/Programs/Microsoft VS Code/bin:/c/Program Files (x86)/Insta360Stitcher/tools/proStitcher:/usr/bin/vendor_perl:/usr/bin/core_perl

$ df -h Filesystem Size Used Avail Use% Mounted on C:/Program Files/Git 476G 417G 60G 88% / E: 932G 858G 74G 93% /e

ZeusLT commented 4 years ago

If I comment out all library scripts like this in Build_All_HTML5_libs.sh :

#cd "$TPS_HTML5_SCRIPTS"/zlib;      ./build_html5_zlib.sh
#cd "$TPS_HTML5_SCRIPTS"/libPNG;    ./build_html5_libPNG.sh
#cd "$TPS_HTML5_SCRIPTS"/Ogg;       ./build_html5_Ogg.sh
#cd "$TPS_HTML5_SCRIPTS"/Vorbis;    ./build_html5_Vorbis.sh
#cd "$TPS_HTML5_SCRIPTS"/libOpus;   ./build_html5_libOpus.sh
#cd "$TPS_HTML5_SCRIPTS"/ICU;       ./build_html5_ICU.sh
#cd "$TPS_HTML5_SCRIPTS"/HarfBuzz;  ./build_html5_HarfBuzz.sh
#cd "$TPS_HTML5_SCRIPTS"/FreeType2; ./build_html5_FreeType2.sh

but keep the one I need "PhysX3": cd "$TPS_HTML5_SCRIPTS"/PhysX3; ./build_html5_PhysX3.sh

Edit: And then rerun HTML5Setup.sh.

It actually makes all the PhysX3 files that were missing from previous failed run with all libraries enabled. (tried on 1.39.18 toolchain)

nickshinpho commented 3 years ago

@FOlivaInvelon are you still having issues building? if so, have you tried @LTorrao solution above in:

basically:

installed latest Python, Cmake and git.

the "D" drive usage issue might just be an emscripten (or python?) temp path...

which leads me to @ZeusLT comment just above -- that (on windows) there might be a limit on how many shell script execution is allowed to run in a single session -- where PhysX is last in the (thirdparty libs) build list -- and PhysX, is a gigantic beast of a library. this would be a prime suspect in resource exhaustion....

i will be asking for people's RAM specs in future replies.

note to self:

# looking at your RAM space usage
cat /proc/meminfo
corneel commented 3 years ago

After trying many options over the last few months I was able to get past this problem by upgrading to the latest version of git (and git bash). I checked out a new version of the HTML5 branch this morning and ran Setup.bat followed by HTML5Setup.sh. I got the error described above. I upgraded git and reran HTML5Setup.sh and the problem went away.

ZeusLT commented 3 years ago

@nickshinpho

-- and PhysX, is a gigantic beast of a library. this would be a prime suspect in resource exhaustion....

It worked on my old pc with 8GB of ram while one with 128GB failed.

Schlabbermampf commented 1 year ago

set -j VERBOSE=1 to -j 1 in build_html5_PhysX3.sh line 107 and build_html5_ICU.sh line 65 solved build errors. Though it takes longer to build (enable only ICU and PhysX in Build_All_HTML5_libs.sh) and needed to build for multithreading libs separately (in Build_All_HTML5_libs.sh comment line 179 befor the second run)