Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

./HTML5Setup.sh line 277: syntax error: unexpected end of file #136

Open
arifqz opened this issue Jun 5, 2022 · 0 comments
Open

./HTML5Setup.sh line 277: syntax error: unexpected end of file #136

arifqz opened this issue Jun 5, 2022 · 0 comments

Comments

@arifqz
Copy link

arifqz commented Jun 5, 2022

Getting unexpected EOF file when running ./HTML5Setup.sh as per the steps here. https://github.com/UnrealEngineHTML5/Documentation/blob/master/Platforms/HTML5/HowTo/README.0.building.UE4.Editor.md#on-mac

I have all the dependencies installed as per the guide.

I found a similar issue reported but not exactly the same here. #10

But following the troubleshooting steps @nickshinpho provided here. #10

uncommenting # on line 5 (deleting the # character) to get the logs. This is the print dialog in Terminal.

Arifs-MacBook-Pro:HTML5 arif$ ./HTML5Setup.sh

  • EMVER=1.39.18
  • MINGVER=mingw-7.1.0-64bit
    ++ uname
  • SYSTEM=Darwin
    ++ cmake --version
    ++ egrep -o '[0-9].*.[0-9]'
  • ver=3.23.2
  • version_gt 3.12 3.23.2
    ++ printf '%s\n' 3.12 3.23.2
    ++ sort -V
    ++ head -n 1
  • test 3.12 '!=' 3.12
    ++ command -v python
  • '[' -x /usr/bin/python ']'
  • SCRIPTDIR=.
    ++ cd .
    ++ pwd
  • H5PLATFORM=/Users/arif/ue4-4.24.3-html5/Engine/Platforms/HTML5
  • H5PATCHES=/Users/arif/ue4-4.24.3-html5/Engine/Platforms/HTML5/Build/PatchFiles/emsdk-1.39.18
    ++ cd /Users/arif/ue4-4.24.3-html5/Engine/Platforms/HTML5/../..
    ++ pwd
  • ENGINE=/Users/arif/ue4-4.24.3-html5/Engine
  • export HOME=/Users/arif/ue4-4.24.3-html5/Engine/Platforms/HTML5/Intermediate
  • HOME=/Users/arif/ue4-4.24.3-html5/Engine/Platforms/HTML5/Intermediate
  • export USE_INTERMEDIATE_PATH=1
  • USE_INTERMEDIATE_PATH=1
  • '[' '!' -d /Users/arif/ue4-4.24.3-html5/Engine/Platforms/HTML5/Intermediate ']'
  • LOG_FILE=/Users/arif/ue4-4.24.3-html5/Engine/Platforms/HTML5/Intermediate/zzz_warnings.txt
  • echo ''
  • patch_UBT_HTML5
  • csproj=/Users/arif/ue4-4.24.3-html5/Engine/Source/Programs/UnrealBuildTool/UnrealBuildTool.csproj
  • '[' '!' -e /Users/arif/ue4-4.24.3-html5/Engine/Source/Programs/UnrealBuildTool/UnrealBuildTool.csproj.save ']'
    ++ cat
  • HTML5PLATFORM='








    '
  • cat /Users/arif/ue4-4.24.3-html5/Engine/Source/Programs/UnrealBuildTool/UnrealBuildTool.csproj.save
  • perl -p -e 's!(.*Exists.UEBuildLinux.)!








    \n\1!'
    ./HTML5Setup.sh: line 277: syntax error: unexpected end of file
    Arifs-MacBook-Pro:HTML5 arif$

Does anyone know why this might be happening? Let me know if you need additional details.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant