# GitHub preview build update thread!

**URL:** <https://forums.unrealengine.com/t/github-preview-build-update-thread/3839>\
**Category:** C++\
**Tags:** unreal-engine, GitHub\
**Created:** [May 5, 2014, 4:25pm UTC](https://forums.unrealengine.com/t/github-preview-build-update-thread/3839 "2014-05-05T16:25:12Z")\
**Posts on this page:** 10\
**Page:** 5

<div class="post-metadata">

**Author:** ![SRombauts](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@SRombauts](https://forums.unrealengine.com/u/SRombauts)\
**Post date:** [November 13, 2014, 7:44am UTC](https://forums.unrealengine.com/t/github-preview-build-update-thread/3839/84 "2014-11-13T07:44:34Z")

</div>

> [@Marsh;177950](#):
>
> The new ‘promoted’ branch will contain our ‘latest-preview’ builds from now on, and it’ll be updated automatically as soon as our QA team sign off on stable builds.

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

---

<div class="post-metadata">

**Author:** ![Ixiguis](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Ixiguis](https://forums.unrealengine.com/u/Ixiguis)\
**Post date:** [November 13, 2014, 11:47pm UTC](https://forums.unrealengine.com/t/github-preview-build-update-thread/3839/85 "2014-11-13T23:47:30Z")

</div>

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!

---

<div class="post-metadata">

**Author:** ![dokipen](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/dokipen/32/1145419_2.png) [@dokipen](https://forums.unrealengine.com/u/dokipen)\
**Post date:** [November 14, 2014, 2:50am UTC](https://forums.unrealengine.com/t/github-preview-build-update-thread/3839/86 "2014-11-14T02:50:35Z")

</div>

> [@;179019](#):
>
> 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.

---

<div class="post-metadata">

**Author:** ![Ben\_Marsh](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Ben\_Marsh](https://forums.unrealengine.com/u/Ben_Marsh)\
**Post date:** [November 14, 2014, 3:08am UTC](https://forums.unrealengine.com/t/github-preview-build-update-thread/3839/87 "2014-11-14T03:08:55Z")

</div>

> [@dokipen;179078](#):
>
> 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?

---

<div class="post-metadata">

**Author:** ![dokipen](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/dokipen/32/1145419_2.png) [@dokipen](https://forums.unrealengine.com/u/dokipen)\
**Post date:** [November 14, 2014, 5:23am UTC](https://forums.unrealengine.com/t/github-preview-build-update-thread/3839/88 "2014-11-14T05:23:25Z")

</div>

> [@;179019](#):
>
> 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!

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

---

<div class="post-metadata">

**Author:** ![dokipen](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/dokipen/32/1145419_2.png) [@dokipen](https://forums.unrealengine.com/u/dokipen)\
**Post date:** [November 14, 2014, 5:34am UTC](https://forums.unrealengine.com/t/github-preview-build-update-thread/3839/89 "2014-11-14T05:34:13Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![dokipen](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/dokipen/32/1145419_2.png) [@dokipen](https://forums.unrealengine.com/u/dokipen)\
**Post date:** [November 14, 2014, 5:47am UTC](https://forums.unrealengine.com/t/github-preview-build-update-thread/3839/90 "2014-11-14T05:47:02Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![Ben\_Marsh](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Ben\_Marsh](https://forums.unrealengine.com/u/Ben_Marsh)\
**Post date:** [November 14, 2014, 12:58pm UTC](https://forums.unrealengine.com/t/github-preview-build-update-thread/3839/91 "2014-11-14T12:58:39Z")

</div>

> [@dokipen;179106](#):
>
> 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.

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?

---

<div class="post-metadata">

**Author:** ![Dredok](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Dredok](https://forums.unrealengine.com/u/Dredok)\
**Post date:** [November 14, 2014, 1:25pm UTC](https://forums.unrealengine.com/t/github-preview-build-update-thread/3839/92 "2014-11-14T13:25:35Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![Ben\_Marsh](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Ben\_Marsh](https://forums.unrealengine.com/u/Ben_Marsh)\
**Post date:** [November 14, 2014, 1:34pm UTC](https://forums.unrealengine.com/t/github-preview-build-update-thread/3839/93 "2014-11-14T13:34:21Z")

</div>

> [@Dredok;179236](#):
>
> 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.

[Previous page](https://forums.unrealengine.com/t/github-preview-build-update-thread/3839.md?page=4)
