# Run ROOT 6.19.02 on Windows 10

**URL:** <https://root-forum.cern.ch/t/run-root-6-19-02-on-windows-10/38529>\
**Category:** ROOT\
**Created:** [March 23, 2020, 12:56am UTC](https://root-forum.cern.ch/t/run-root-6-19-02-on-windows-10/38529 "2020-03-23T00:56:53Z")\
**Posts on this page:** 1\
**Showing post:** 14

<div class="post-metadata">

**Author:** ![bellenot](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/bellenot/32/29217_2.png) [@bellenot](https://root-forum.cern.ch/u/bellenot)\
**Post date:** [March 26, 2020, 3:16pm UTC](https://root-forum.cern.ch/t/run-root-6-19-02-on-windows-10/38529/14 "2020-03-26T15:16:24Z")

</div>

There are several topics you can find on this forum, for example:

> [@Compiling ROOT on Windows 10](https://root-forum.cern.ch/t/compiling-root-on-windows-10/29147):
>
> Hi all, I know you guys are doing progress on supporting ROOT on Windows, so I decided to go ahead and test out and see how this whole experience is slight_smile I have cloned the master branch and made a rootbuild directory. However, after running cmake ..\root, CMake complains that it cannot find headers related to pthread. My guess is that I don’t have everything installed to build ROOT on my box. So part of my question is then also what are the prerequisites for Windows? (I can’t seem to …

You need CMake (latest version), and then you can:

- Unzip the source tar file in a directory **not containing** any space
- Open a `x86 Native Tools Command Prompt for VS 2019` **!!!And NOT a x64 one!!!**
- Create a build directory of your choice and cd into it
- Then configure ROOT with: `cmake -G "Visual Studio 16 2019" -A Win32 -Thost=x64 -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_CXX_STANDARD=14 [path to source]`
- Then, if there was no error, build ROOT: `cmake --build . --config Debug`

Note that if you need more options, you can open a `cmake-gui` where you can select the different options before building ROOT (be aware that all of them are not supported on Windows)

---

_[View the full topic](https://root-forum.cern.ch/t/run-root-6-19-02-on-windows-10/38529)._
