# Can't compile master branch?

**URL:** <https://forums.unrealengine.com/t/cant-compile-master-branch/406407>\
**Category:** Pipeline & Plugins\
**Tags:** unreal-engine, compile-error, question\
**Created:** [October 7, 2017, 11:49am UTC](https://forums.unrealengine.com/t/cant-compile-master-branch/406407 "2017-10-07T11:49:11Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_d56bf830](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_d56bf830](https://forums.unrealengine.com/u/anonymous_user_d56bf830)\
**Post date:** [October 7, 2017, 11:49am UTC](https://forums.unrealengine.com/t/cant-compile-master-branch/406407/1 "2017-10-07T11:49:11Z")

</div>

Error C2039: ‘MergeShaderCacheFiles’: is not a member of ‘FShaderCache’  
file: ShaderCacheTool.cpp  
any help?

---

<div class="post-metadata">

**Author:** ![Monu29](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Monu29](https://forums.unrealengine.com/u/Monu29)\
**Post date:** [October 27, 2017, 6:47am UTC](https://forums.unrealengine.com/t/cant-compile-master-branch/406407/2 "2017-10-27T06:47:50Z")

</div>

Heya,

I was getting the same error when I tried to build UE 4.18 release on Windows 10 Home x64 with Visual Studio 2017 v15.4.1  
I tried to clean the solution and build again. . .but it failed.

Then I restarted Visual Studio as Administrator user privileges and did a rebuild.  
It works !

Hope this helps.

---

<div class="post-metadata">

**Author:** ![wangxudong](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@wangxudong](https://forums.unrealengine.com/u/wangxudong)\
**Post date:** [October 31, 2017, 3:27pm UTC](https://forums.unrealengine.com/t/cant-compile-master-branch/406407/3 "2017-10-31T15:27:42Z")

</div>

i’m done!!! just download UE4.17.2 src.zip fix it

---

<div class="post-metadata">

**Author:** ![GigasightMedia](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@GigasightMedia](https://forums.unrealengine.com/u/GigasightMedia)\
**Post date:** [November 1, 2017, 3:44am UTC](https://forums.unrealengine.com/t/cant-compile-master-branch/406407/4 "2017-11-01T03:44:25Z")

</div>

I’m getting the same error in VS2015 on Win7 64.

Also:

“Cannot open include file: ‘Interfaces/IAutomationWorkerModule.h’: No such file or directory”

see: [Unable to compile fresh branch 4.18 clone - Programming & Scripting - Unreal Engine Forums](https://answers.unrealengine.com/questions/715150/unable-to-compile-fresh-branch-418-clone.html)

---

<div class="post-metadata">

**Author:** ![wangxudong](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@wangxudong](https://forums.unrealengine.com/u/wangxudong)\
**Post date:** [November 7, 2017, 1:48am UTC](https://forums.unrealengine.com/t/cant-compile-master-branch/406407/5 "2017-11-07T01:48:25Z")

</div>

i’m done!!! just download UE4.17.2 src.zip fix it

---

<div class="post-metadata">

**Author:** ![wangxudong](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@wangxudong](https://forums.unrealengine.com/u/wangxudong)\
**Post date:** [November 7, 2017, 1:48am UTC](https://forums.unrealengine.com/t/cant-compile-master-branch/406407/6 "2017-11-07T01:48:33Z")

</div>

i’m done!!! just download UE4.17.2 src.zip fix it

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_d56bf830](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_d56bf830](https://forums.unrealengine.com/u/anonymous_user_d56bf830)\
**Post date:** [November 20, 2017, 2:03am UTC](https://forums.unrealengine.com/t/cant-compile-master-branch/406407/7 "2017-11-20T02:03:35Z")

</div>

## Thanks for reply! I start Visual Studio 2017 v15.4.4 on Windows 7 sp1 as Administratoruser user privileges, but it still failed. I find the version of master branch is 4.19.0

## #define ENGINE\_MAJOR\_VERSION 4 #define ENGINE\_MINOR\_VERSION 19 #define ENGINE\_PATCH\_VERSION 0

errors:

1. “Cannot open include file: ‘Interfaces/IAutomationWorkerModule.h’: No such file or directory”
2. Error C2039: ‘MergeShaderCacheFiles’: is not a member of ‘FShaderCache’ file: ShaderCacheTool.cpp

so I use release branch 4.16.3.

---

<div class="post-metadata">

**Author:** ![lotodore](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@lotodore](https://forums.unrealengine.com/u/lotodore)\
**Post date:** [November 24, 2017, 12:34am UTC](https://forums.unrealengine.com/t/cant-compile-master-branch/406407/8 "2017-11-24T00:34:59Z")

</div>

This is a known bug, is has been fixed for 4.19. See [Unreal Engine Issues and Bug Tracker (UE-51613)](https://issues.unrealengine.com/issue/UE-51613)
