Skip to content

Instantly share code, notes, and snippets.

View CapitanFuture's full-sized avatar
🏠
Working from home

CapitanFuture

🏠
Working from home
View GitHub Profile
@InNoHurryToCode
InNoHurryToCode / ClangOnWindows.md
Last active April 28, 2024 15:10
How to install clang on windows using the visual studio build tools

Clang on Windows (VS 2017 build tools)

There are plenty of tutorials online on how to install clang on windows with visual studioIDE and MinGW. However, there are none on clang with visual studio build tools.

Requirements:

  • 64-bit Windows 7 SP1 or newer with the latest updates installed
  • 6 GB of free space on the partition where Windows is installed
  • internet connection (for installation only)

1. Install VS 2017 build tools

%VS2017BuildToolsDir% = installation directory of VS 2017 build tools