Skip to content

Commit 5f847af

Browse files
authored
Merge pull request #32 from olmpya12/fix-issue-#20
Fix MSVC __has_feature macro issue (#20)
2 parents 28b57f1 + 48ccfdc commit 5f847af

File tree

2 files changed

+24
-1
lines changed

2 files changed

+24
-1
lines changed

docs/development/dev_setup_win.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,20 @@ On Windows, Project AirSim can be developed with either Visual Studio 2019 or VS
5656
5757
7. Do the **[Project AirSim Client Setup](../client_setup.md#setting-up-the-client-on-windows)**.
5858
59+
8. (Optional) Unreal Engine 5.2.x requires a specific MSVC compiler version and will fail with newer versions Create a configuration file to force Unreal's Build Tool to use the compiler version `14.37.32822`
60+
61+
File Path: `%APPDATA%\Unreal Engine\UnrealBuildTool\BuildConfiguration.xml`
62+
63+
Content:
64+
```xml
65+
<?xml version="1.0" encoding="utf-8"?>
66+
<Configuration xmlns="https://www.unrealengine.com/BuildConfiguration">
67+
<WindowsPlatform>
68+
<CompilerVersion>14.37.32822</CompilerVersion>
69+
</WindowsPlatform>
70+
</Configuration>
71+
```
72+
5973
Now you're ready to start **[Developing Project AirSim Sim Libs](use_source.md#developing-projectairsim-libs)**
6074
6175
---

docs/development/use_source.md

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,16 @@ Choose your development tool:
6161

6262
## Command Line (Windows/Linux)
6363

64-
On Windows, run the `build.cmd` script using the `x64 Native Tools Command Prompt for VS 2019`. On Linux, run the `build.sh` shell script.
64+
On Windows, run the `build.cmd` script using the `x64 Native Tools Command Prompt for VS 2019`.
65+
66+
Unreal Engine 5.2.x requires a specific MSVC compiler version and will fail with newer versions. Load the correct toolset into your command prompt session:
67+
```cmd
68+
"C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Auxiliary\Build\vcvars64.bat" -vcvars_ver=14.37.32822
69+
```
70+
71+
Note: This path assumes a default VS 2022 Community installation. Adjust the path if yours is different.
72+
73+
On Linux, run the `build.sh` shell script.
6574

6675
`build{.cmd|.sh} {target from below}`
6776

0 commit comments

Comments
 (0)