Build error "clang.exe is not compatible with the version of Windows you're running"
See original GitHub issueTrying to build Xenko.Core
with VS 2017 (15.7.6) I get the following build error:
1>------ Build started: Project: Xenko.Core, Configuration: Debug Any CPU ------
1>This version of D:\Devel\Repos\Xenko\deps\LLVM\clang.exe is not compatible with the version of Windows you're running. Check your computer's system information and then contact the software publisher.
1>D:\Devel\Repos\Xenko\sources\native\Xenko.Native.targets(122,5): error MSB3073: The command ""D:\Devel\Repos\Xenko\deps\\LLVM\clang.exe" -gcodeview -fno-ms-extensions -nobuiltininc -nostdinc++ -Wno-ignored-attributes -Wno-delete-non-virtual-dtor -Wno-macro-redefined -I"D:\Devel\Repos\Xenko\deps\\NativePath" -I"D:\Devel\Repos\Xenko\deps\\NativePath\standard" -O0 -g -DNEED_DLL_EXPORT -o "D:\Devel\Repos\Xenko\sources\core\Xenko.Core\obj\Windows-Direct3D11\\x86\CoreNative.obj" -c "D:\Devel\Repos\Xenko\sources\core\Xenko.Core\Native\CoreNative.c" -fms-extensions -DWINDOWS_DESKTOP -target i686-pc-windows-msvc" exited with code 216.
1>Done building project "Xenko.Core.csproj" -- FAILED.
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
I’m running Windows 10 1803 (OS Build 17134.167).
Issue Analytics
- State:
- Created 5 years ago
- Comments:5 (4 by maintainers)
Top Results From Across the Web
Build error "clang.exe is not compatible with the version of ...
I'm running Windows 10 1803 (OS Build 17134.167).
Read more >Clang compiler for Windows 10 gives this error
After trying to compile a simple hello world code, I got an weird error: ... clang: error: unable to execute command: program not...
Read more >Debug build of Clang built with MinGW on Windows 10 ...
I have built Clang with MinGW on Windows with the target triple x86_64-w64-windows-gnu. The executables clang.exe and clang++.exe work as ...
Read more >Clang/LLVM support in Visual Studio projects
Set a custom LLVM toolset version in the IDE · Open the project's Property Pages dialog box. · Select the Configuration Properties >...
Read more >cmake clang.exe is no able to compile a simple test program.
There seems to be a bug where if you explicitly specify LANGUAGES then VS will only pass one of CMAKE_C_COMPILER and CMAKE_CXX_COMPILER during...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I must’ve installed Git for Windows without selecting LFS. I uninstalled it then installed it again and made sure the LFS option was enabled. The git clone looks good now. Thanks guys!
I also had an issue with an old version of git LFS installed. Some errors appeared in git log when attempting to fetch. So I removed all traces of git and git lfs from my system and just installed the last version of git.
If I remember correctly, the installer doesn’t install git LFS by default, so be sure to check the corresponding option.