# How to install root6.22 on win10 platform from source?

**URL:** <https://root-forum.cern.ch/t/how-to-install-root6-22-on-win10-platform-from-source/43592>\
**Category:** ROOT\
**Created:** [February 18, 2021, 8:43am UTC](https://root-forum.cern.ch/t/how-to-install-root6-22-on-win10-platform-from-source/43592 "2021-02-18T08:43:22Z")\
**Posts on this page:** 1\
**Showing post:** 3

<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:** [February 18, 2021, 9:01am UTC](https://root-forum.cern.ch/t/how-to-install-root6-22-on-win10-platform-from-source/43592/3 "2021-02-18T09:01:44Z")

</div>

First, make sure you configured for `Win32`, and not `Win64` (which is not supported yet), then, the easiest way is to compile from the `x86 Native Tools Command Prompt for VS 2019`, by typing

```auto
cmake --build . --config Release

```

(or `--config Debug` for the Debug mode) in the build directory containing the solution file (ROOT.sln).  
Note that if you have a version of Visual Studio 2019 greater or equal to 16.8, ROOT will not compile, you will have to wait for the next version, with the upgrade of LLVM.

And if you search the forum, you will find several topics about ROOT on Windows, like for example this one: [Compiling ROOT on Windows 10](https://root-forum.cern.ch/t/compiling-root-on-windows-10/29147)

---

_[View the full topic](https://root-forum.cern.ch/t/how-to-install-root6-22-on-win10-platform-from-source/43592)._
