# Can't compile 4.16 branch - D3D12StateCachePrivate.h(716): error C4596

**URL:** <https://forums.unrealengine.com/t/cant-compile-4-16-branch-d3d12statecacheprivate-h-716-error-c4596/394091>\
**Category:** Feedback & Requests\
**Tags:** engine-compile, unreal-engine, bug-report, question\
**Created:** [May 20, 2017, 8:35am UTC](https://forums.unrealengine.com/t/cant-compile-4-16-branch-d3d12statecacheprivate-h-716-error-c4596/394091 "2017-05-20T08:35:43Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_590cb5931](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_590cb5931](https://forums.unrealengine.com/u/anonymous_user_590cb5931)\
**Post date:** [May 20, 2017, 8:35am UTC](https://forums.unrealengine.com/t/cant-compile-4-16-branch-d3d12statecacheprivate-h-716-error-c4596/394091/1 "2017-05-20T08:35:43Z")

</div>

Hello.  
I am trying to compile 4.16 branch from commit  
SHA-1: 6e7549f50d662b3ee4328c304ef082c7578be90a

- Fix fontrender automation test failure

#jira UE-45230  
#rb none

[CL 3450190 by Marcus Wassmer in 4.16 branch]

But this branch couldn’t be compiled because of

4\>d:\unrealengine\engine\source\runtime\d3d12rhi\private\D3D12StateCachePrivate.h(716): error C4596: SetPipelineState: недопустимое полное имя в объявлении члена

Visual Studio 2017.

---

<div class="post-metadata">

**Author:** ![Maxxi](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Maxxi](https://forums.unrealengine.com/u/Maxxi)\
**Post date:** [May 26, 2017, 11:52pm UTC](https://forums.unrealengine.com/t/cant-compile-4-16-branch-d3d12statecacheprivate-h-716-error-c4596/394091/2 "2017-05-26T23:52:28Z")

</div>

I’ve got the same error trying to recompile UE4 to modify SceneCapturer.cpp for the Stereoscopic 360 plugin.

2\>e:\unrealengine-4.16\engine\source\runtime\d3d12rhi\private\D3D12StateCachePrivate.h(716): error C4596: ‘SetPipelineState’: illegal qualified name in member declaration

---

<div class="post-metadata">

**Author:** ![Maxxi](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Maxxi](https://forums.unrealengine.com/u/Maxxi)\
**Post date:** [May 27, 2017, 12:06am UTC](https://forums.unrealengine.com/t/cant-compile-4-16-branch-d3d12statecacheprivate-h-716-error-c4596/394091/3 "2017-05-27T00:06:18Z")

</div>

You have the fix here:

> **[Error building 4.16 branch from source - can't build Oculus lib](https://forums.unrealengine.com/questions/600362/error-building-416-branch-from-source.html)**
>
> Hi All, I need to do an engine rebuild so that I can disable audio muting when the VR preview window becomes defocussed (would be great to have that exposed as an editor preference :) ). I cloned the 4.16 branch from github, followed all the...
