-
Notifications
You must be signed in to change notification settings - Fork 4
1) Install LLVM for Windows
Tim B edited this page Aug 5, 2017
·
1 revision
The intention of this guide is to install LLVM for Windows without any bits and pieces.
There are many explanations and instructions how to install llvm for windows in the internet. If you are not interested in compiling LLVM on your own, then you can follow this simple guide.
- Install Visual Studio 2015 !! (2017 did not work for me)
- Open VS and Create -> New Project -> Visual C++
- Click Install Visual C++ 2015 Tools for Windows Desktop (if possible)
- Create an console application and test your Visual Studio C++ 2015 Toolchain
- goto LLVM Releases and choose the latest but not current version
- Download LLVM for Windows x64
- Install LLVM with ADD to PATH
- I recommend to let destination target as it is
Thats it. Now you have some binaries in C:\Program Files\LLVM\bin
- Create a
hello.cpp
with
#include <stdio.h>
int main( int argc, const char* argv[] )
{
printf("Hello World \n\r");
}
- Open CMD and navigate into this folder
-
clang++ main.cpp
(creates aa.exe
)