UnrealEngineHTML5 / Documentation

542 stars 183 forks source link

HTML5Setup.sh gives this error. (zlib-1.2.8.tar.gz: Cannot och file or directory) #119

Open BrunoEE opened 2 years ago

BrunoEE commented 2 years ago

`$ ./HTML5Setup.sh /d/Programmi/ue4-4.24.3-html5/Engine/Platforms/HTML5 Cloning into 'emsdk-1.39.18'... remote: Enumerating objects: 3064, done. remote: Counting objects: 100% (3/3), done. remote: Compressing objects: 100% (3/3), done. remote: Total 3064 (delta 0), reused 3 (delta 0), pack-reused 3061 Receiving objects: 100% (3064/3064), 1.61 MiB | 1.63 MiB/s, done. Resolving deltas: 100% (1990/1990), done. Resolving SDK version '1.39.18' to 'sdk-releases-upstream-1914a1543f082bb05f7a90d1920275-64bit' Installing SDK 'sdk-releases-upstream-1914a1543f08cd8e41f44c2bb05f7a904bit'.. Installing tool 'node-14.15.5-64bit'.. Downloading: D:/Programmi/ue4-4.24.3-html5/Engine/Platforms/HTML5/Builsdk-1.39.18/zips/node-v14.15.5-win-x64.zip from https://storage.googleebassembly/emscripten-releases-builds/deps/node-v14.15.5-win-x64.zip, ytes [-------------------------------------------------------------------- Unpacking 'D:/Programmi/ue4-4.24.3-html5/Engine/Platforms/HTML5/Build/k-1.39.18/zips/node-v14.15.5-win-x64.zip' to 'D:/Programmi/ue4-4.24.3-ne/Platforms/HTML5/Build/emsdk/emsdk-1.39.18/node/14.15.5_64bit' Done installing tool 'node-14.15.5-64bit'. Installing tool 'python-3.9.2-1-64bit'.. Downloading: D:/Programmi/ue4-4.24.3-html5/Engine/Platforms/HTML5/Builsdk-1.39.18/zips/python-3.9.2-1-embed-amd64+pywin32.zip from https://sgleapis.com/webassembly/emscripten-releases-builds/deps/python-3.9.2-164+pywin32.zip, 16982397 Bytes [-------------------------------------------------------------------- Unpacking 'D:/Programmi/ue4-4.24.3-html5/Engine/Platforms/HTML5/Build/k-1.39.18/zips/python-3.9.2-1-embed-amd64+pywin32.zip' to 'D:/Programm.3-html5/Engine/Platforms/HTML5/Build/emsdk/emsdk-1.39.18/python/3.9.2 Done installing tool 'python-3.9.2-1-64bit'. Installing tool 'java-8.152-64bit'.. Downloading: D:/Programmi/ue4-4.24.3-html5/Engine/Platforms/HTML5/Builsdk-1.39.18/zips/portable_jre_8_update_152_64bit.zip from https://storapis.com/webassembly/emscripten-releases-builds/deps/portable_jre_8_up4bit.zip, 69241499 Bytes [-------------------------------------------------------------------- Unpacking 'D:/Programmi/ue4-4.24.3-html5/Engine/Platforms/HTML5/Build/k-1.39.18/zips/portable_jre_8_update_152_64bit.zip' to 'D:/Programmi/uhtml5/Engine/Platforms/HTML5/Build/emsdk/emsdk-1.39.18/java/8.152_64bi Done installing tool 'java-8.152-64bit'. Installing tool 'releases-upstream-1914a1543f08cd8e41f44c2bb05f7a90d19t'.. Downloading: D:/Programmi/ue4-4.24.3-html5/Engine/Platforms/HTML5/Builsdk-1.39.18/zips/1914a1543f08cd8e41f44c2bb05f7a90d1920275-wasm-binarie https://storage.googleapis.com/webassembly/emscripten-releases-builds1543f08cd8e41f44c2bb05f7a90d1920275/wasm-binaries.zip, 545362918 Bytes [-------------------------------------------------------------------- Unpacking 'D:/Programmi/ue4-4.24.3-html5/Engine/Platforms/HTML5/Build/k-1.39.18/zips/1914a1543f08cd8e41f44c2bb05f7a90d1920275-wasm-binaries.:/Programmi/ue4-4.24.3-html5/Engine/Platforms/HTML5/Build/emsdk/emsdk-stream' Done installing tool 'releases-upstream-1914a1543f08cd8e41f44c2bb05f7a-64bit'. Running post-install step: npm ci ... Done running: npm ci Done installing SDK 'sdk-releases-upstream-1914a1543f08cd8e41f44c2bb05275-64bit'. Adding directories to PATH: PATH += /d/Programmi/ue4-4.24.3-html5/Engine/Platforms/HTML5/Build/ems.39.18 PATH += /d/Programmi/ue4-4.24.3-html5/Engine/Platforms/HTML5/Build/ems.39.18/node/14.15.5_64bit/bin PATH += /d/Programmi/ue4-4.24.3-html5/Engine/Platforms/HTML5/Build/ems.39.18/upstream/emscripten

Setting environment variables: PATH = /d/Programmi/ue4-4.24.3-html5/Engine/Platforms/HTML5/Build/emsd39.18:/d/Programmi/ue4-4.24.3-html5/Engine/Platforms/HTML5/Build/emsdk9.18/node/14.15.5_64bit/bin:/d/Programmi/ue4-4.24.3-html5/Engine/Platf/Build/emsdk/emsdk-1.39.18/upstream/emscripten:/c/Users/Bruno/bin:/c/Pes/Git/mingw64/bin:/c/Program Files/Git/usr/local/bin:/c/Program Filesin:/c/Windows/system32:/c/Windows:/c/Windows/System32/Wbem:/c/Windows/indowsPowerShell/v1.0:/c/Windows/System32/OpenSSH:/c/Program Files (x8Corporation/PhysX/Common:/c/Program Files/CMake/bin:/c/Program Files/GUsers/Bruno/AppData/Local/Programs/Python/Python310/Scripts:/c/Users/Bta/Local/Programs/Python/Python310:/c/Program Files/Git/usr/bin/vendorrogram Files/Git/usr/bin/core_perl EMSDK = D:/Programmi/ue4-4.24.3-html5/Engine/Platforms/HTML5/Build/ems.39.18 EM_CONFIG = D:\Programmi\ue4-4.24.3-html5\Engine\Platforms\HTML5\Builddk-1.39.18.emscripten EMSDK_NODE = D:/Programmi/ue4-4.24.3-html5/Engine/Platforms/HTML5/Builsdk-1.39.18/node/14.15.5_64bit/bin/node.exe EMSDK_PYTHON = D:/Programmi/ue4-4.24.3-html5/Engine/Platforms/HTML5/Buemsdk-1.39.18/python/3.9.2-1_64bit/python.exe JAVA_HOME = D:/Programmi/ue4-4.24.3-html5/Engine/Platforms/HTML5/Builddk-1.39.18/java/8.152_64bit The changes made to environment variables only apply to the currently ell instance. Use the 'emsdk_env.bat' to re-enter this environment latyou'd like to register this environment permanently, rerun this comman option --permanent. Resolving SDK version '1.39.18' to 'sdk-releases-upstream-1914a1543f082bb05f7a90d1920275-64bit' Setting the following tools as active: node-14.15.5-64bit python-3.9.2-1-64bit java-8.152-64bit releases-upstream-1914a1543f08cd8e41f44c2bb05f7a90d1920275-64bit

Installing tool 'mingw-7.1.0-64bit'.. Downloading: D:/Programmi/ue4-4.24.3-html5/Engine/Platforms/HTML5/Builsdk-1.39.18/zips/mingw_7.1.0_64bit.zip from https://storage.googleapissembly/emscripten-releases-builds/deps/mingw_7.1.0_64bit.zip, 13199487 [-------------------------------------------------------------------- Unpacking 'D:/Programmi/ue4-4.24.3-html5/Engine/Platforms/HTML5/Build/k-1.39.18/zips/mingw_7.1.0_64bit.zip' to 'D:/Programmi/ue4-4.24.3-htmllatforms/HTML5/Build/emsdk/emsdk-1.39.18/mingw/7.1.0_64bit' Done installing tool 'mingw-7.1.0-64bit'. Adding directories to PATH: PATH += /d/Programmi/ue4-4.24.3-html5/Engine/Platforms/HTML5/Build/ems.39.18 PATH += /d/Programmi/ue4-4.24.3-html5/Engine/Platforms/HTML5/Build/ems.39.18/upstream/emscripten PATH += /d/Programmi/ue4-4.24.3-html5/Engine/Platforms/HTML5/Build/ems.39.18/node/14.15.5_64bit/bin PATH += /d/Programmi/ue4-4.24.3-html5/Engine/Platforms/HTML5/Build/ems.39.18/mingw/7.1.0_64bit/bin

Setting environment variables: PATH = /d/Programmi/ue4-4.24.3-html5/Engine/Platforms/HTML5/Build/emsd39.18:/d/Programmi/ue4-4.24.3-html5/Engine/Platforms/HTML5/Build/emsdk9.18/upstream/emscripten:/d/Programmi/ue4-4.24.3-html5/Engine/Platformild/emsdk/emsdk-1.39.18/node/14.15.5_64bit/bin:/d/Programmi/ue4-4.24.3ine/Platforms/HTML5/Build/emsdk/emsdk-1.39.18/mingw/7.1.0_64bit/bin:/cno/bin:/c/Program Files/Git/mingw64/bin:/c/Program Files/Git/usr/localogram Files/Git/usr/bin:/c/Windows/system32:/c/Windows:/c/Windows/Syst/c/Windows/System32/WindowsPowerShell/v1.0:/c/Windows/System32/OpenSSHm Files (x86)/NVIDIA Corporation/PhysX/Common:/c/Program Files/CMake/bram Files/Git/cmd:/c/Users/Bruno/AppData/Local/Programs/Python/Python3:/c/Users/Bruno/AppData/Local/Programs/Python/Python310:/c/Program Fil/bin/vendor_perl:/c/Program Files/Git/usr/bin/core_perl EMSDK = D:/Programmi/ue4-4.24.3-html5/Engine/Platforms/HTML5/Build/ems.39.18 EM_CONFIG = D:\Programmi\ue4-4.24.3-html5\Engine\Platforms\HTML5\Builddk-1.39.18.emscripten EMSDK_NODE = D:/Programmi/ue4-4.24.3-html5/Engine/Platforms/HTML5/Builsdk-1.39.18/node/14.15.5_64bit/bin/node.exe EMSDK_PYTHON = D:/Programmi/ue4-4.24.3-html5/Engine/Platforms/HTML5/Buemsdk-1.39.18/python/3.9.2-1_64bit/python.exe JAVA_HOME = D:/Programmi/ue4-4.24.3-html5/Engine/Platforms/HTML5/Builddk-1.39.18/java/8.152_64bit The changes made to environment variables only apply to the currently ell instance. Use the 'emsdk_env.bat' to re-enter this environment latyou'd like to register this environment permanently, rerun this comman option --permanent. Setting the following tools as active: releases-upstream-1914a1543f08cd8e41f44c2bb05f7a90d1920275-64bit node-14.15.5-64bit python-3.9.2-1-64bit java-8.152-64bit mingw-7.1.0-64bit

Adding directories to PATH: PATH += /d/Programmi/ue4-4.24.3-html5/Engine/Platforms/HTML5/Build/ems.39.18 PATH += /d/Programmi/ue4-4.24.3-html5/Engine/Platforms/HTML5/Build/ems.39.18/upstream/emscripten PATH += /d/Programmi/ue4-4.24.3-html5/Engine/Platforms/HTML5/Build/ems.39.18/node/14.15.5_64bit/bin PATH += /d/Programmi/ue4-4.24.3-html5/Engine/Platforms/HTML5/Build/ems.39.18/mingw/7.1.0_64bit/bin

Setting environment variables: PATH = /d/Programmi/ue4-4.24.3-html5/Engine/Platforms/HTML5/Build/emsd39.18:/d/Programmi/ue4-4.24.3-html5/Engine/Platforms/HTML5/Build/emsdk9.18/upstream/emscripten:/d/Programmi/ue4-4.24.3-html5/Engine/Platformild/emsdk/emsdk-1.39.18/node/14.15.5_64bit/bin:/d/Programmi/ue4-4.24.3ine/Platforms/HTML5/Build/emsdk/emsdk-1.39.18/mingw/7.1.0_64bit/bin:/cno/bin:/c/Program Files/Git/mingw64/bin:/c/Program Files/Git/usr/localogram Files/Git/usr/bin:/c/Windows/system32:/c/Windows:/c/Windows/Syst/c/Windows/System32/WindowsPowerShell/v1.0:/c/Windows/System32/OpenSSHm Files (x86)/NVIDIA Corporation/PhysX/Common:/c/Program Files/CMake/bram Files/Git/cmd:/c/Users/Bruno/AppData/Local/Programs/Python/Python3:/c/Users/Bruno/AppData/Local/Programs/Python/Python310:/c/Program Fil/bin/vendor_perl:/c/Program Files/Git/usr/bin/core_perl EMSDK = D:/Programmi/ue4-4.24.3-html5/Engine/Platforms/HTML5/Build/ems.39.18 EM_CONFIG = D:\Programmi\ue4-4.24.3-html5\Engine\Platforms\HTML5\Builddk-1.39.18.emscripten EMSDK_NODE = D:/Programmi/ue4-4.24.3-html5/Engine/Platforms/HTML5/Builsdk-1.39.18/node/14.15.5_64bit/bin/node.exe EMSDK_PYTHON = D:/Programmi/ue4-4.24.3-html5/Engine/Platforms/HTML5/Buemsdk-1.39.18/python/3.9.2-1_64bit/python.exe JAVA_HOME = D:/Programmi/ue4-4.24.3-html5/Engine/Platforms/HTML5/Builddk-1.39.18/java/8.152_64bit ++ pwd

KunalBhorodiya commented 2 years ago

I am getting this issue, kindly help https://github.com/UnrealEngineHTML5/Documentation/issues/86#issuecomment-1009905864

BrunoEE commented 2 years ago

Personally I gave up trying to compile UE 4.24.3. Too much hassle. Too many new errors during the process even if you follow exactly all the guides and advises. I guess many problems could be related to different OS environment or.. who knows. I just downloaded and installed version "4.23.something" from the Epic Games launcher go to "library", click plus and then select any old version you want. "4.23.something" supported natively packing to HTML5. Not that 4.24.3 is up to date either so.. who cares.

ufna commented 2 years ago

You can try https://github.com/ufna/UE-HTML5 , it's modern version for UE 4.24 right now :))