You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Adding information to troubleshoot the errors:
```
clang: error: no such file or directory: '\INCREMENTAL:NO'
clang: error: no such file or directory: '\OPT:REF'
clang: error: no such file or directory: '\OPT:ICF'
```
Copy file name to clipboardExpand all lines: docs/WindowsQuickStart.md
+10Lines changed: 10 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -203,3 +203,13 @@ Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope Process
203
203
. $Profile
204
204
Set-SwiftEnv
205
205
```
206
+
207
+
## Troubleshooting
208
+
209
+
If you run into build failures with the following errors:
210
+
```
211
+
clang: error: no such file or directory: '\INCREMENTAL:NO'
212
+
clang: error: no such file or directory: '\OPT:REF'
213
+
clang: error: no such file or directory: '\OPT:ICF'
214
+
```
215
+
the reason is that the CMake on your system is too _new_. The latest version of CMake you should use is [CMake 3.29.x](https://cmake.org/files/v3.29/).
0 commit comments