Skip to content

Commit b99cf3f

Browse files
authored
Update WindowsQuickStart.md (#1029)
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' ```
1 parent 533789e commit b99cf3f

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

docs/WindowsQuickStart.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -203,3 +203,13 @@ Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope Process
203203
. $Profile
204204
Set-SwiftEnv
205205
```
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

Comments
 (0)