# I can't run root on my computer(Windows 10, not Linux)

**URL:** <https://root-forum.cern.ch/t/i-cant-run-root-on-my-computer-windows-10-not-linux/38960>\
**Category:** Newbie\
**Created:** [April 18, 2020, 4:23am UTC](https://root-forum.cern.ch/t/i-cant-run-root-on-my-computer-windows-10-not-linux/38960 "2020-04-18T04:23:24Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![wwdws1](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/w/8e7dd6/32.png) [@wwdws1](https://root-forum.cern.ch/u/wwdws1)\
**Post date:** [April 18, 2020, 4:23am UTC](https://root-forum.cern.ch/t/i-cant-run-root-on-my-computer-windows-10-not-linux/38960/1 "2020-04-18T04:23:24Z")

</div>

Last year, I installed root 6.18 / 04 on my computer, it reported an error, but it can be used normally.Yesterday I uninstalled the old one and installed the latest version 6.20 / 04. This time I got an error and it was not working. I run root in CMD and the error code is as follows.

```auto
C:\WINDOWS\system32>root
In file included from input_line_3:38:
In file included from D:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.25.28610\include\cassert:9:
In file included from D:\Windows Kits\10\Include\10.0.18362.0\ucrt\assert.h:12:
D:\Windows Kits\10\Include\10.0.18362.0\ucrt\corecrt.h:142:12: error: redefinition of '_CrtEnableIf<true, _Ty>'
    struct _CrtEnableIf<true, _Ty>
           ^ ~~~~~~~~~~~~~~~~~~~~~~
C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\corecrt.h:142:12: note: previous definition is here
    struct _CrtEnableIf<true, _Ty>
           ^
In file included from input_line_3:38:
In file included from D:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.25.28610\include\cassert:9:
In file included from D:\Windows Kits\10\Include\10.0.18362.0\ucrt\assert.h:12:
D:\Windows Kits\10\Include\10.0.18362.0\ucrt\corecrt.h:517:16: error: redefinition of '__crt_locale_data_public'
typedef struct __crt_locale_data_public
               ^
C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\corecrt.h:517:16: note: previous definition is here
typedef struct __crt_locale_data_public
               ^
In file included from input_line_3:38:
In file included from D:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.25.28610\include\cassert:9:
In file included from D:\Windows Kits\10\Include\10.0.18362.0\ucrt\assert.h:12:
D:\Windows Kits\10\Include\10.0.18362.0\ucrt\corecrt.h:524:16: error: redefinition of '__crt_locale_pointers'
typedef struct __crt_locale_pointers
               ^
C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\corecrt.h:524:16: note: previous definition is here
typedef struct __crt_locale_pointers
               ^
In file included from input_line_3:38:
In file included from D:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.25.28610\include\cassert:9:
In file included from D:\Windows Kits\10\Include\10.0.18362.0\ucrt\assert.h:12:
D:\Windows Kits\10\Include\10.0.18362.0\ucrt\corecrt.h:532:16: error: redefinition of '_Mbstatet'
typedef struct _Mbstatet
               ^
C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\corecrt.h:532:16: note: previous definition is here
typedef struct _Mbstatet
               ^
Assertion failed: !isNull() && "Cannot retrieve a NULL type pointer", file C:\build\ws\BUILDTYPE\Release\LABEL\windows10\V\6-20\root\interpreter\llvm\src\tools\clang\include\clang/AST/Type.h, line 630

```

I have installed Visual Studio Community 2019, the installed components are as follows.  
 ![SharedScreenshot](https://root-forum.cern.ch/uploads/default/original/3X/f/b/fb25e60189f683d52ed1c8c95e3b64be6c57441d.jpeg)

Thank you very much for your help.

---

<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:** [April 18, 2020, 11:10am UTC](https://root-forum.cern.ch/t/i-cant-run-root-on-my-computer-windows-10-not-linux/38960/2 "2020-04-18T11:10:54Z")

</div>

This is a known issue. The only solution is to build ROOT from source. See for example [this topic](https://root-forum.cern.ch/t/run-root-6-19-02-on-windows-10/38529/14), or simply search on this forum for similar issues…

---

<div class="post-metadata">

**Author:** ![wwdws1](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/w/8e7dd6/32.png) [@wwdws1](https://root-forum.cern.ch/u/wwdws1)\
**Post date:** [April 18, 2020, 3:10pm UTC](https://root-forum.cern.ch/t/i-cant-run-root-on-my-computer-windows-10-not-linux/38960/3 "2020-04-18T15:10:19Z")

</div>

Thank you so much. 😄
