UnrealEngineHTML5 / Documentation

532 stars 183 forks source link

Packageing error: HTML5 No such file or directory. #56

Closed ckingFSS closed 3 years ago

ckingFSS commented 3 years ago

Hello,

I received this error while packageing a project file. I am unsure of what it means, Or how I am to fix. Perhaps I missed something on the initial setup?

LogPlayLevel: [509/511] Module.Launch.cpp LogPlayLevel: [510/511] UE4Game.js LogPlayLevel: Error: emcc: error: C:\Users\cking\Documents\GitHub\UnrealEngine\Engine\Platforms\HTML5\Source\ThirdParty\PhysX3\PhysX_3.4\lib-1.39.18-up-mt\LowLevel_O2.a: No such file or directory ("C:\Users\cking\Documents\GitHub\UnrealEngine\Engine\Platforms\HTML5\Source\ThirdParty\PhysX3\PhysX_3.4\lib-1.39.18-up-mt\LowLevel_O2.a" was expected to be an input file, based on the commandline arguments provided) LogPlayLevel: Took 4542.9334875s to run UnrealBuildTool.exe, ExitCode=5 LogPlayLevel: UnrealBuildTool failed. See log for more details. (C:\Users\cking\Documents\GitHub\UnrealEngine\Engine\Programs\AutomationTool\Saved\Logs\UBT-UE4Game-HTML5-Development.txt) LogPlayLevel: AutomationTool exiting with ExitCode=5 (5) LogPlayLevel: Completed Launch On Stage: Build Task, Time: 4653.586017 LogPlayLevel: BUILD FAILED PackagingResults: Error: Launch failed! Unknown Error

Any Help would be greatly appreciated.

4.23.18-HTML5-1.39.18

ckingFSS commented 3 years ago

Found This #5 : to have the same error. Going through initial comments and noticed I am missing PhysX_3.4 folder in …..\GitHub\UnrealEngine\Engine\Platforms\HTML5\Source\ThirdParty\PhysX3

I then attempted to ReRun the HTML5Setup.sh and got this

Not sure what I am doing wrong with this one, any help is greatly appreciated

ZeusLT commented 3 years ago

SetupHTML5.sh was incomplete, look at https://github.com/UnrealEngineHTML5/Documentation/issues/5#issuecomment-653133458

ckingFSS commented 3 years ago

Hello ZeusLT I looked at the comment, I am not sure what you mean by "If I comment out all library scripts like this in Build_All_HTML5_libs.sh"

Could you expand upon that a little more for me how to do that? It would greatly appreciated. @ZeusLT

ckingFSS commented 3 years ago

@ZeusLT was correct commenting out all library scirpts except the PhysX resolved this issue.