# "Cannot resolve symbol 'DirectX'" Error Occurred

**URL:** <https://forums.unrealengine.com/t/cannot-resolve-symbol-directx-error-occurred/1188004>\
**Category:** Platform & Builds\
**Tags:** unreal-engine, question\
**Created:** [June 3, 2023, 10:14pm UTC](https://forums.unrealengine.com/t/cannot-resolve-symbol-directx-error-occurred/1188004 "2023-06-03T22:14:20Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![user\_8e7bb09f1a6c6fdc9a5b647031e5b48a8ea414785c01a6448d12b5](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@user\_8e7bb09f1a6c6fdc9a5b647031e5b48a8ea414785c01a6448d12b5](https://forums.unrealengine.com/u/user_8e7bb09f1a6c6fdc9a5b647031e5b48a8ea414785c01a6448d12b5)\
**Post date:** [June 3, 2023, 10:14pm UTC](https://forums.unrealengine.com/t/cannot-resolve-symbol-directx-error-occurred/1188004/1 "2023-06-03T22:14:21Z")

</div>

If you create a project in Unreal Engine 5.2 and create a C++ class, this is what happensAn DirectX error appears.  
The same error appears when downloading and inserting the "directx.build.cs " file from the official source of the Unreal Engine

---

<div class="post-metadata">

**Author:** ![FrostyJas](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/frostyjas/32/1194640_2.png) [@FrostyJas](https://forums.unrealengine.com/u/FrostyJas)\
**Post date:** [June 4, 2023, 5:03am UTC](https://forums.unrealengine.com/t/cannot-resolve-symbol-directx-error-occurred/1188004/2 "2023-06-04T05:03:44Z")

</div>

Greetings @user_8e7bb09f1a6c6fdc9a5b647031e5b48a8ea414785c01a6448d12b5

Welcome to the Unreal Forums! There was another thread on this specific issue recently where the designers seemed to find some work arounds. Here’s a list to the [post](https://forums.unrealengine.com/t/unreal-5-2-editor-target-file-does-not-exist-cannot-resolve-directx/1163863). I hope this is helpful!
