Compiling the C compiler identification source file "CMakeCCompilerId.c" failed. Compiler: C:/Program Files/LLVM/bin/clang.exe Build flags: Id flags: The output was: 1 clang: error: unable to execute command: program not executable clang: error: linker command failed with exit code 1 (use -v to see invocation) Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" failed. Compiler: C:/Program Files/LLVM/bin/clang++.exe Build flags: Id flags: The output was: 1 clang++: error: unable to execute command: program not executable clang++: error: linker command failed with exit code 1 (use -v to see invocation) Detecting C compiler ABI info failed to compile with the following output: Change Dir: F:/Git-Repo/cmake-conan-setup/build/win32-clang-x64-ninja-debug/CMakeFiles/CMakeTmp Run Build Command(s):C:/PROGRA~1/CMake/bin/ninja.exe cmTC_8d911 && [1/2] Building C object CMakeFiles/cmTC_8d911.dir/CMakeCCompilerABI.c.obj [2/2] Linking C executable cmTC_8d911.exe FAILED: cmTC_8d911.exe cmd.exe /C "cd . && C:\PROGRA~1\LLVM\bin\clang.exe -fuse-ld=lld-link -nostartfiles -nostdlib -g -Xclang -gcodeview -O0 -D_DEBUG -D_DLL -D_MT -Xclang --dependent-lib=msvcrtd -Xlinker /subsystem:console CMakeFiles/cmTC_8d911.dir/CMakeCCompilerABI.c.obj -o cmTC_8d911.exe -Xlinker /MANIFEST:EMBED -Xlinker /implib:cmTC_8d911.lib -Xlinker /pdb:cmTC_8d911.pdb -Xlinker /version:0.0 && cd ." lld-link: error: : undefined symbol: mainCRTStartup clang: error: linker command failed with exit code 1 (use -v to see invocation) ninja: build stopped: subcommand failed. Determining if the C compiler works failed with the following output: Change Dir: F:/Git-Repo/cmake-conan-setup/build/win32-clang-x64-ninja-debug/CMakeFiles/CMakeTmp Run Build Command(s):C:/PROGRA~1/CMake/bin/ninja.exe cmTC_4614f && [1/2] Building C object CMakeFiles/cmTC_4614f.dir/testCCompiler.c.obj [2/2] Linking C executable cmTC_4614f.exe FAILED: cmTC_4614f.exe cmd.exe /C "cd . && C:\PROGRA~1\LLVM\bin\clang.exe -fuse-ld=lld-link -nostartfiles -nostdlib -g -Xclang -gcodeview -O0 -D_DEBUG -D_DLL -D_MT -Xclang --dependent-lib=msvcrtd -Xlinker /subsystem:console CMakeFiles/cmTC_4614f.dir/testCCompiler.c.obj -o cmTC_4614f.exe -Xlinker /MANIFEST:EMBED -Xlinker /implib:cmTC_4614f.lib -Xlinker /pdb:cmTC_4614f.pdb -Xlinker /version:0.0 -lkernel32 -luser32 -lgdi32 -lwinspool -lshell32 -lole32 -loleaut32 -luuid -lcomdlg32 -ladvapi32 -loldnames && cd ." lld-link: error: : undefined symbol: mainCRTStartup clang: error: linker command failed with exit code 1 (use -v to see invocation) ninja: build stopped: subcommand failed.