cmake -G "Ninja" -DCMAKE_CXX_COMPILER=clang-cl .. cmake --build .
Clang on Windows is powerful, but it relies on the Windows SDK and the MSVC standard library. It doesn't have its own standard library implementation by default on Windows (usually). It was looking for libcmt.lib and failing. clang compiler windows
Are you using Clang on Windows, or are you sticking with the standard MSVC toolchain? Let me know your preference in the comments! cmake -G "Ninja" -DCMAKE_CXX_COMPILER=clang-cl
If you prefer using the command line or a lightweight editor like VS Code: Go to the LLVM Releases page . Download the Win64 .exe installer. each with different runtime library dependencies:
Clang can be obtained for Windows through several distinct channels, each with different runtime library dependencies:
The Osiris Camera has been indispensable for the past ten years