# Please Help!! when i create a C++ project in UE5.3.2 but I create a project it gives me this error message!

**URL:** <https://forums.unrealengine.com/t/please-help-when-i-create-a-c-project-in-ue5-3-2-but-i-create-a-project-it-gives-me-this-error-message/2278620>\
**Category:** Platform & Builds\
**Tags:** unreal-engine, question\
**Created:** [January 15, 2025, 4:39pm UTC](https://forums.unrealengine.com/t/please-help-when-i-create-a-c-project-in-ue5-3-2-but-i-create-a-project-it-gives-me-this-error-message/2278620 "2025-01-15T16:39:54Z")\
**Posts on this page:** 15\
**Page:** 1

<div class="post-metadata">

**Author:** ![jojoth40](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@jojoth40](https://forums.unrealengine.com/u/jojoth40)\
**Post date:** [January 15, 2025, 4:39pm UTC](https://forums.unrealengine.com/t/please-help-when-i-create-a-c-project-in-ue5-3-2-but-i-create-a-project-it-gives-me-this-error-message/2278620/1 "2025-01-15T16:39:54Z")

</div>

I am using UE5.3.2. When creating a C++ Project, it shows a Compiler Error:

> Running C:/Program Files/Epic Games/UE\_5.3/Engine/Build/BatchFiles/Build.bat Development Win64 -Project=“C:/D/UE\_Project/UEM4U/UEM4U.uproject” -TargetType=Editor -Progress -NoEngineChanges -NoHotReloadFromIDE  
> Using bundled DotNet SDK version: 6.0.302  
> Running UnrealBuildTool: dotnet “…\Engine/Binaries/DotNET/UnrealBuildTool/UnrealBuildTool.dll” Development Win64 -Project=“C:/D/UE\_Project/UEM4U/UEM4U.uproject” -TargetType=Editor -Progress -NoEngineChanges -NoHotReloadFromIDE  
> Log file: C:\Users\001939\AppData\Local\UnrealBuildTool\Log.txt  
> Creating makefile for UEM4UEditor (no existing makefile)  
> @progress push 5%  
> Parsing headers for UEM4UEditor  
> Running Internal UnrealHeaderTool C:\D\UE\_Project\UEM4U\UEM4U.uproject C:\D\UE\_Project\UEM4U\Intermediate\Build\Win64\UEM4UEditor\Development\UEM4UEditor.uhtmanifest -WarningsAsErrors -installed  
> Total of 0 written  
> Reflection code generated for UEM4UEditor in 1.4095625 seconds  
> @progress pop  
> Building UEM4UEditor…  
> Using Visual Studio 2022 14.42.34436 toolchain (C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.42.34433) and Windows 10.0.22621.0 SDK (C:\Program Files (x66)\Windows Kits\10).  
> Determining max actions to execute in parallel (10 physical cores, 12 logical cores)  
> Executing up to 10 processes, one per physical core  
> ------ Building 6 action(s) started ------  
> [1/6] Resource Default.rc2  
> C:/Users/001939/AppData/Local/UnrealEngine/Common/DerivedDataCache: Maintenance finished in +00:00:00.474 and deleted 0 files with total size 0 MiB and 0 empty folders. Scanned 956 files in 1613 folders with total size 21 MiB.  
> [2/6] Compile [x64] SharedPCH.Engine.Cpp20.cpp  
> Detected compiler newer than Visual Studio 2022, please update min version checking in WindowsPlatformCompilerSetup.h  
> C:\Program Files\Epic Games\UE\_5.3\Engine\Source\Runtime\Core\Public\Experimental\ConcurrentLinearAllocator.h(31): error C4668: ‘\_\_has\_feature’ is not defined as a preprocessor macro, replacing with ‘0’ for ‘#if/#elif’  
> C:\Program Files\Epic Games\UE\_5.3\Engine\Source\Runtime\Core\Public\Experimental\ConcurrentLinearAllocator.h(31): error C4067: unexpected tokens following preprocessor directive - expected a newline  
> C:\Program Files\Epic Games\UE\_5.3\Engine\Source\Runtime\Engine\Classes\Engine\SkeletalMesh.h(799): warning C4996: ‘FBoneMirrorInfo’: FBoneMirrorInfo is deprecated. Please use UMirrorDataTable for mirroring support. Please update your code to the new API before upgrading to the next release, otherwise your project will no longer compile.

I am using Visual Studio 2022 17.12.4 and MSVC 14.42.34436, and I selected Windows 11 SDK 10.0.22621.0. I don’t know what I installed incorrectly, and I only have Visual Studio 2022 on my machine.

---

<div class="post-metadata">

**Author:** ![greathousee](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@greathousee](https://forums.unrealengine.com/u/greathousee)\
**Post date:** [January 15, 2025, 6:50pm UTC](https://forums.unrealengine.com/t/please-help-when-i-create-a-c-project-in-ue5-3-2-but-i-create-a-project-it-gives-me-this-error-message/2278620/2 "2025-01-15T18:50:40Z")

</div>

BUMP! I followed the “Setting Up Visual Studio” from Epic Games website and I’m having the same issue. I hope this question get answered soon.

---

<div class="post-metadata">

**Author:** ![the.akii](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@the.akii](https://forums.unrealengine.com/u/the.akii)\
**Post date:** [January 15, 2025, 7:14pm UTC](https://forums.unrealengine.com/t/please-help-when-i-create-a-c-project-in-ue5-3-2-but-i-create-a-project-it-gives-me-this-error-message/2278620/3 "2025-01-15T19:14:59Z")

</div>

Hi there,

I encountered a similar issue with the combination of UE5.3.2 and Visual Studio 2022 (version 17.12.4), and here’s how I resolved it:

1. **Updating `WindowsPlatformCompilerSetup.h`:**  
The error related to the compiler version detection can be fixed by updating the version check.

- Navigate to `Engine\Source\Runtime\Core\Public\Windows\WindowsPlatformCompilerSetup.h`.
- Open the file in a text editor (ensure the file is not marked as read-only).
- Locate this line:

```auto
#if defined(_MSC_VER) && _MSC_VER > 1939

```

- Change `1939` to `1948`:

```auto
#if defined(_MSC_VER) && _MSC_VER > 1948

```

- Save the file and put it on read-only again. This should eliminate the warning about the compiler being newer than Visual Studio 2022.

1. **Fixing the `__has_feature` error:**  
The second issue arises from a `__has_feature` directive in the header `ConcurrentLinearAllocator.h`, which causes a compiler error.  
To resolve it:

- Navigate to `Engine\Source\Runtime\Core\Public\Experimental\ConcurrentLinearAllocator.h`.
- Find the line:

```auto
#elif __has_feature(address_sanitizer)

```

- Replace it with:

```auto
#elif 0

```

- This will bypass the `__has_feature` check and allow the build to proceed without cascading errors.

Hope this helps!

---

<div class="post-metadata">

**Author:** ![Owen\_WPG](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Owen\_WPG](https://forums.unrealengine.com/u/Owen_WPG)\
**Post date:** [January 17, 2025, 11:38am UTC](https://forums.unrealengine.com/t/please-help-when-i-create-a-c-project-in-ue5-3-2-but-i-create-a-project-it-gives-me-this-error-message/2278620/4 "2025-01-17T11:38:47Z")

</div>

The WindowsPlatformCompilerSetup.h has bugged me for ages, how do you know that it is 1948, like where/how is that number defined?

Second of all, apparently you can also uninstall C++ Address Sanitizer via the VS Installer, but I don’t know if that is a safer way to deal with the ConcurrentLinearAllocator.h.

---

<div class="post-metadata">

**Author:** ![the.akii](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@the.akii](https://forums.unrealengine.com/u/the.akii)\
**Post date:** [January 18, 2025, 1:06am UTC](https://forums.unrealengine.com/t/please-help-when-i-create-a-c-project-in-ue5-3-2-but-i-create-a-project-it-gives-me-this-error-message/2278620/5 "2025-01-18T01:06:08Z")

</div>

I couldn’t find the specific number through Google, so I tested a few values, and 1948 worked for me.  
Regarding the C++ AddressSanitizer, I’m not entirely sure about its implications. I chose to let the Unreal Build Tool to bypass the issue in ConcurrentLinearAllocator.h. However, uninstalling the C++ AddressSanitizer might resolve the problem.

---

<div class="post-metadata">

**Author:** ![itsakimmel](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@itsakimmel](https://forums.unrealengine.com/u/itsakimmel)\
**Post date:** [January 25, 2025, 5:41am UTC](https://forums.unrealengine.com/t/please-help-when-i-create-a-c-project-in-ue5-3-2-but-i-create-a-project-it-gives-me-this-error-message/2278620/6 "2025-01-25T05:41:08Z")

</div>

UGH THANK YOU

---

<div class="post-metadata">

**Author:** ![StBlueFire](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/stbluefire/32/641418_2.png) [@StBlueFire](https://forums.unrealengine.com/u/StBlueFire)\
**Post date:** [February 17, 2025, 10:10pm UTC](https://forums.unrealengine.com/t/please-help-when-i-create-a-c-project-in-ue5-3-2-but-i-create-a-project-it-gives-me-this-error-message/2278620/7 "2025-02-17T22:10:34Z")

</div>

> [@the.akii](#):
>
> Engine\Source\Runtime\Core\Public\Experimental\

Confirming that this fix worked for me on UE 5.3.2 and VS2022 Community 17.14 . It gross (Because we don’t distribute the binary in our source control) but it works.

---

<div class="post-metadata">

**Author:** ![markogonzalez84](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@markogonzalez84](https://forums.unrealengine.com/u/markogonzalez84)\
**Post date:** [March 5, 2025, 3:30am UTC](https://forums.unrealengine.com/t/please-help-when-i-create-a-c-project-in-ue5-3-2-but-i-create-a-project-it-gives-me-this-error-message/2278620/8 "2025-03-05T03:30:04Z")

</div>

Thanks a lot, that works for me!

---

<div class="post-metadata">

**Author:** ![sergio.gardeazabal](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/sergio.gardeazabal/32/924296_2.png) [@sergio.gardeazabal](https://forums.unrealengine.com/u/sergio.gardeazabal)\
**Post date:** [March 5, 2025, 6:58am UTC](https://forums.unrealengine.com/t/please-help-when-i-create-a-c-project-in-ue5-3-2-but-i-create-a-project-it-gives-me-this-error-message/2278620/9 "2025-03-05T06:58:37Z")

</div>

Hi all,

I just wanted to share that the supported MSVC compiler version in UE 5.3 is

**14.34.31933**

[https://dev.epicgames.com/documentation/en-us/unreal-engine/unreal-engine-5.3-release-notes?application\_version=5.3#platformsdkupgrades](https://dev.epicgames.com/documentation/en-us/unreal-engine/unreal-engine-5.3-release-notes?application_version=5.3#platformsdkupgrades)

If you are using the latest version instead of that one you will get this issue.

Manually bumping the version check in code is not advisable. By doing so it means you will be using a compiler version that was not validated with that version of UE, which might cause issues.

You can install specific compiler versions using the visual studio installer, in the individual components tab.

If you installed the recommended version and still can’t compile, let me know and I can check with the team.

---

<div class="post-metadata">

**Author:** ![cgary009](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@cgary009](https://forums.unrealengine.com/u/cgary009)\
**Post date:** [March 5, 2025, 12:51pm UTC](https://forums.unrealengine.com/t/please-help-when-i-create-a-c-project-in-ue5-3-2-but-i-create-a-project-it-gives-me-this-error-message/2278620/10 "2025-03-05T12:51:04Z")

</div>

Just wanted to say thank you. This worked for my issue and helped me install Antilatency for camera tracking.

---

<div class="post-metadata">

**Author:** ![Karyfan](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Karyfan](https://forums.unrealengine.com/u/Karyfan)\
**Post date:** [March 6, 2025, 2:01pm UTC](https://forums.unrealengine.com/t/please-help-when-i-create-a-c-project-in-ue5-3-2-but-i-create-a-project-it-gives-me-this-error-message/2278620/11 "2025-03-06T14:01:28Z")

</div>

This helped, thank you

---

<div class="post-metadata">

**Author:** ![Wasabi.in](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Wasabi.in](https://forums.unrealengine.com/u/Wasabi.in)\
**Post date:** [April 3, 2025, 12:53pm UTC](https://forums.unrealengine.com/t/please-help-when-i-create-a-c-project-in-ue5-3-2-but-i-create-a-project-it-gives-me-this-error-message/2278620/13 "2025-04-03T12:53:34Z")

</div>

Since this is a hit result, I thought I could share a solution as well. I had a project in v5.3.2 a while ago. Recently I’ve been working on v5.4.4 projects for about a year and came back to v5.3.2 for it to show the following error.

`error C4668: ‘__has_feature’ is not defined as a preprocessor macro, replacing with ‘0’ for ‘#if/#elif’`

My solution was to

- Delete `.vsconfig`, `ProjectName.sln` files and `.vs` folder
- right-click project \> generate VS project files
- open the `ProjectName.sln` file and look for this prompt  
 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/5/9/7/597664eb5991d4589353b06d378fa92332c645fa.png)
- Click install, and it should show you the required package needs to be installed.
- install it and try compiling again

hopefully someone finds it helpful

Regards,  
Wasabi

* * *

> **References**
>
> 1. [Image Reference](https://forums.unrealengine.com/t/weird-bug-when-creating-or-opening-c-projects/2128315/3)

---

<div class="post-metadata">

**Author:** ![Nonolp](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Nonolp](https://forums.unrealengine.com/u/Nonolp)\
**Post date:** [April 19, 2025, 8:09pm UTC](https://forums.unrealengine.com/t/please-help-when-i-create-a-c-project-in-ue5-3-2-but-i-create-a-project-it-gives-me-this-error-message/2278620/14 "2025-04-19T20:09:49Z")

</div>

Thank you so much!

---

<div class="post-metadata">

**Author:** ![PeteB99](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@PeteB99](https://forums.unrealengine.com/u/PeteB99)\
**Post date:** [May 29, 2025, 10:22am UTC](https://forums.unrealengine.com/t/please-help-when-i-create-a-c-project-in-ue5-3-2-but-i-create-a-project-it-gives-me-this-error-message/2278620/15 "2025-05-29T10:22:51Z")

</div>

Hi, I couldn’t get it to work after trying to follow your steps, can you send in screenshots of the specific components you have ticked on the right hand side (in the same way that they are named in the visual studio installer programme), and so I can follow identically. It seems that when I try to untick MSVC most recent version that is added, it removes a bunch of other components with it, and the only way to add them back is with the MSVC latest version! Thanks 🙂

---

<div class="post-metadata">

**Author:** ![treehousebandit](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@treehousebandit](https://forums.unrealengine.com/u/treehousebandit)\
**Post date:** [June 27, 2025, 4:05am UTC](https://forums.unrealengine.com/t/please-help-when-i-create-a-c-project-in-ue5-3-2-but-i-create-a-project-it-gives-me-this-error-message/2278620/16 "2025-06-27T04:05:19Z")

</div>

Thanks a lot, how did you come to understand what needed to be changed?
