Fail to compile latest "master" source

I get the following error’s when trying the latest Master source (with commits of today) I’m a bit lost here as it’s just a fresh pull from github with the 2 dependencies files included and extracted.

Error 2 error : Failed to produce item: D:\DO_NOT_ARGUE\GAMES\UE4\SOURCE\master\Engine\Binaries\Win64\UnrealHeaderTool-Core.dll D:\DO_NOT_ARGUE\GAMES\UE4\SOURCE\master\Engine\Intermediate\ProjectFiles\ERROR UE4
Error 1 error LNK1181: cannot open input file ‘zlib_64.lib’ D:\DO_NOT_ARGUE\GAMES\UE4\SOURCE\master\Engine\Intermediate\ProjectFiles\LINK UE4
Error 3 error MSB3073: The command “…\Build\BatchFiles\Rebuild.bat UE4Editor Win64 Development” exited with code 2. C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.MakeFile.Targets 43 5 UE4

Hi KillerSneak,

I suspect that the solution to this issue will be similar to your other question about 4.3, but it would be best to approach it as a separate issue.

What method were you using to download the Master source? Were you synching your repository to the Master branch or downloading the zipped file? If you were downloading the zipped file, what GitHub page were you getting it from?

I did notice one page for the Master branch appeared to be linking to dependency files for version 4.1, so those dependency files will actually not work when trying to build the Master branch. I will see if I can get those links updated.

Keep in mind that the Master branch (and any preview branches) are not always fully tested and can potentially be unstable. They are great for getting a sneak peek at new features and capabilities, or for checking for fixes to issues that you may have run into, but I would not recommend using them for actual development.

Hi ,

I have the Master branch synced with TortoiseSVN so I can get the latest build/branch when ever I need to. The dependencies for Master I got from this page as described, https://github.com/EpicGames/UnrealEngine/tree/master
#1 - https://github.com/EpicGames/UnrealEngine/releases/download/4.1.0-release/Required_1of2.zip
#2 -https://github.com/EpicGames/UnrealEngine/releases/download/4.1.0-release/Required_2of2.zip

I’m sure i got the right dependencies as you can see from the links above.

Please correct me if I did anything wrong.

Hi KillerSneak,

Sorry for not replying earlier today. The links that you mention are actually the ones I mentioned above that are linking to the dependencies for 4.1. I have already reported that error and it should be corrected soon.

To get the correct dependencies for the Master branch, you can visit this page. I tested these using the zipped source code (also available on that page) and it built fine for me. The zipped source code on this page is not a live update, so it may be a few days behind the actual Master branch in the repository. I do not currently have a repository synced to the Master branch, but if the dependencies on the page I linked here don’t work, I can sync one and see if the branch itself may currently be unstable.

This morning I completely removed my local UE4 repository and started over using a fresh fork from the Unreal Engine repository. I tried building the Master branch using the dependencies that I linked above, and ran into a linker error. I believe this is because the dependencies are approximately a week old, while the Master branch is current up to about two hours ago. Since the dependencies are not updated as frequently as the Master branch, these discrepancies can happen occasionally.

I had that problem (cant open zlib_64.lib) havent extracted the second of the required packages.

I deal all the times with split packages so i thought it would extract both packages with just extracting the first. No error from the generate project files but i got the error for cant open zlib_64.lib when trying to build.

Its an easy made mistake that took me a good nights sleep to realize. Because build error aggrevate me ;D

So make sure u extract both packages one at a time and of course in the right folder /engine to engine (so the content of engine goes into engine and not engine into engine!) and the other 2 side by side to engine folder not in it.