question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Build error "clang.exe is not compatible with the version of Windows you're running"

See original GitHub issue

Trying 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:closed
  • Created 5 years ago
  • Comments:5 (4 by maintainers)

github_iconTop GitHub Comments

2reactions
gitfoolcommented, Aug 6, 2018

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!

1reaction
Kryptos-FRcommented, Aug 6, 2018

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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found