GitHub preview build update thread!

This is excellent , with the scripts and the promoted channel now, it all makes sense and is very convenient. I’ve already tried with 4.6 builds and its quite amazing. Great work epic team :slight_smile:

Ah, nice move, I shall try this new ‘promoted’ branch soon!
Thanks!

Tried the promoted branch and dependencies downloader, works perfect! Everything compiled fine. Very easy to use. Now we can keep up to date with the (almost) latest UE4 version, thanks Epic!

Not working for me on OSX with new dependencies. xbuild error when generating project files.

We’ve seen similar problems in test at Epic, but we haven’t tracked them down. We temporarily moved xbuild into the downloaded dependencies, and moved it back when we realized that Windows line endings were causing it to fail on Mac. We suspect that the changes to .gitignore to handle the move caused some problems.

Can you check you don’t inadvertently have those files modified locally? If not, does deleting ThirdParty/Mono, reverting in Git, and running Setup.command again fix it?

It’s odd because the xbuild binary file is definitely there…

./GenerateProjectFiles.sh: /Users/dokipen/Documents/UnrealEngine-promoted/Engine/Build/BatchFiles/Mac/…/…/…/Binaries/ThirdParty/Mono/Mac/bin/xbuild: /bin/sh^M: bad interpreter: No such file or directory

Fixed it. In SetupMono.sh

changed this

export UE_MONO_DIR=$CUR_DIR/…/…/…/Binaries/ThirdParty/Mono/Mac

to this…

export UE_MONO_DIR=$CUR_DIR…/…/…/Binaries/ThirdParty/Mono/Mac

It was just the forward slash after $CUR_DIR causing it to put the wrong path into $PATH.

Then the other error I’ve been getting has been when building for testing (non debug mode).

Xcode tries to build UE4CmdLineRun and fails at the linking stage. Is this another path problem?

Ld Engine/Intermediate/IOS/build/UE4.build/Debug-iphoneos/UE4CmdLineRun.build/Objects-normal/armv7/UE4CmdLineRun normal armv7
ld: file not found: Engine/Binaries/IOS/Payload/UE4CmdLineRun.app/UE4CmdLineRun
clang: error: linker command failed with exit code 1 (use -v to see invocation)

Ld Engine/Intermediate/IOS/build/UE4.build/Debug-iphoneos/UE4CmdLineRun.build/Objects-normal/arm64/UE4CmdLineRun normal arm64
ld: file not found: Engine/Binaries/IOS/Payload/UE4CmdLineRun.app/UE4CmdLineRun
ld: file not found: Engine/Binaries/IOS/Payload/UE4CmdLineRun.app/UE4CmdLineRun

Glad you’ve fixed it, though I’m eager to resolve any issues that other people might have. It seems strange that you needed to remove the slash - $CUR_DIR is set to pwd, which shouldn’t have a trailing slash (AFAIK!).

The error you were getting running xbuild looks like it’s because xbuild has Windows line endings in your local machine, so it’s not able to make sense of the shebang at the top of that file. Did you change your autocrlf settings in Git, or do something to checkout the latest version of that file again?

Hi,
Some questions about this new dependencies handling using Setup.bat …

  • will it erase old non-needed dependencies? (in case there are some)
  • how should I switch my current branch? only rebasing/checking out the branch to this new one and executing setup.bat will be enough?

Thanks
Dredok

It will warn you that there are files in your workspace that it needs to overwrite, and ask whether you want to clobber them. After it’s downloaded new dependencies into your branch, it’ll be able to update and replace them without prompting in the future.

Switching to the new branch and running Setup.bat should be enough.