<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/66166>66166</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
Build failure on Windows (with Ninja)
</td>
</tr>
<tr>
<th>Labels</th>
<td>
new issue
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
JohnScience
</td>
</tr>
</table>
<pre>
Error message:
```
[1289/3852] Building CXX object lib\DebugInfo\PDB\CMakeFiles\LLVMDebugInfoPDB.dir\PDB.cpp.obj
FAILED: lib/DebugInfo/PDB/CMakeFiles/LLVMDebugInfoPDB.dir/PDB.cpp.obj
C:\PROGRA~2\MICROS~4\2019\BUILDT~1\VC\Tools\MSVC\1429~1.301\bin\Hostx64\x64\cl.exe /nologo /TP -DGTEST_HAS_RTTI=0 -DUNICODE -D_CRT_NONSTDC_NO_DEPRECATE -D_CRT_NONSTDC_NO_WARNINGS -D_CRT_SECURE_NO_DEPRECATE -D_CRT_SECURE_NO_WARNINGS -D_GLIBCXX_ASSERTIONS -D_HAS_EXCEPTIONS=0 -D_LIBCPP_ENABLE_HARDENED_MODE -D_SCL_SECURE_NO_DEPRECATE -D_SCL_SECURE_NO_WARNINGS -D_UNICODE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -IC:\Users\USER\Documents\github\llvm-project\build_ninja\lib\DebugInfo\PDB -IC:\Users\USER\Documents\github\llvm-project\llvm\lib\DebugInfo\PDB -IC:\Users\USER\Documents\github\llvm-project\build_ninja\include -IC:\Users\USER\Documents\github\llvm-project\llvm\include -external:I"C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\DIA SDK\include" -external:W0 /DWIN32 /D_WINDOWS /Zc:inline /Zc:preprocessor /Zc:__cplusplus /Oi /bigobj /permissive- /W4 -wd4141 -wd4146 -wd4244 -wd4267 -wd4291 -wd4351 -wd4456 -wd4457 -wd4458 -wd4459 -wd4503 -wd4624 -wd4722 -wd4100 -wd4127 -wd4512 -wd4505 -wd4610 -wd4510 -wd4702 -wd4245 -wd4706 -wd4310 -wd4701 -wd4703 -wd4389 -wd4611 -wd4805 -wd4204 -wd4577 -wd4091 -wd4592 -wd4319 -wd4709 -wd5105 -wd4324 -w14062 -we4238 /Zi /Ob0 /Od /RTC1 -std:c++17 -MDd /EHs-c- /GR- /showIncludes /Folib\DebugInfo\PDB\CMakeFiles\LLVMDebugInfoPDB.dir\PDB.cpp.obj /Fdlib\DebugInfo\PDB\CMakeFiles\LLVMDebugInfoPDB.dir\LLVMDebugInfoPDB.pdb /FS -c C:\Users\USER\Documents\github\llvm-project\llvm\lib\DebugInfo\PDB\PDB.cpp
C:\Users\USER\Documents\github\llvm-project\llvm\include\llvm\DebugInfo\PDB\DIA\DIASupport.h(25): fatal error C1083: Cannot open include file: 'atlbase.h': No such file or directory
[1294/3852] Building CXX object lib\DebugInfo\PDB\CMakeFiles\LLVMDebugInfoPDB.dir\PDBSymbol.cpp.obj
ninja: build stopped: subcommand failed.
```
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJy0Vk1zozgT_jXyRWUXSAjDwQcsIOF9bewCZ5zaC8WHbCuLEYVgkrnkt29JkDjZyZ5mpirRg7pbT7ekbrlzKfm5YWwFyBoQf5YP_UV0q_-JS5OWnDUlmxWi-rEKuk508MqkzM8MYA8YPjDeRtuY_sYpWZvIcQEKsUMQID5cD7yueHOG9PERiuKJlT2seQEI9VkxnKPmJAChe38NCKXb_G8W8ppJQOhm8237brL314uKd6PlomzbhSieRpehF20CH2BP06LwRotCRYvCD7Qo_JJWW36mpWqjhO6T3V3ivSJA6DaiyS59tQChyDBdQOj6Idr4h1cTEPqNAkIPQtQq9G2qp6aF3FdzgQ1lUPAGEHovZP9iK4pxLOsFe2EQoLARtTgL9XXYw7l_dwjSQ3bvpVlyOEQA-wac-w9xRHd-AOd-RpNDFu_i9ODTLN5lfrBPAuodvtIdvSSO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