# ROOT 6.26.06 installation issues on window

**URL:** <https://root-forum.cern.ch/t/root-6-26-06-installation-issues-on-window/51476>\
**Category:** Newbie\
**Tags:** root\
**Created:** [September 6, 2022, 3:07pm UTC](https://root-forum.cern.ch/t/root-6-26-06-installation-issues-on-window/51476 "2022-09-06T15:07:30Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![June\_Lee](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/june_lee/32/29782_2.png) [@June\_Lee](https://root-forum.cern.ch/u/June_Lee)\
**Post date:** [September 6, 2022, 3:07pm UTC](https://root-forum.cern.ch/t/root-6-26-06-installation-issues-on-window/51476/1 "2022-09-06T15:07:30Z")

</div>

Hello,  
I am trying to install Root on a windows 10 platform. I downloaded the dependencies for cmake, visual studios 2022 17.3, and python as well as root\_v6.26.06. However, when I run the program, I keep getting an error:

RegOpenKeyEx(HKEY\_LOCAL\_MACHINE\SOFTWARE\Microsoft\Microsoft SDKs\Windows$VERSION\InstallationFolder): returned 2: The system cannot find the file specified.  
RegOpenKeyEx(HKEY\_LOCAL\_MACHINE\SOFTWARE\Microsoft\Windows Kits\Installed Roots\KitsRoot10): returned 2: The system cannot find the file specified.  
input\_line\_1:1:10: fatal error: ‘new’ file not found  
#include   
^ ~~~~  
Assertion failed: OldBuilder-\>DeferredDeclsToEmit.empty() && “Should have emitted all decls deferred to emit.”, file C:\build\ws\BUILDTYPE\Release\LABEL\windows64\V\6-26\root\interpreter\llvm\src\tools\clang\lib\CodeGen\ModuleBuilder.cpp, line 147

---

<div class="post-metadata">

**Author:** ![etejedor](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/e/e79b87/32.png) [@etejedor](https://root-forum.cern.ch/u/etejedor)\
**Post date:** [September 6, 2022, 7:12pm UTC](https://root-forum.cern.ch/t/root-6-26-06-installation-issues-on-window/51476/2 "2022-09-06T19:12:59Z")

</div>

Hello,

@bellenot , our Windows expert, is now absent but he’ll reply when he is back.

---

<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:** [September 6, 2022, 7:33pm UTC](https://root-forum.cern.ch/t/root-6-26-06-installation-issues-on-window/51476/3 "2022-09-06T19:33:56Z")

</div>

Make sure you installed the `Desktop development with C++` component of Visual Studio, which contains the `Windows 10 SDK`, and try to start from a `x86 Native Tools Command Prompt for VS 2022` if you downloaded the 32 bit version of ROOT, or from a `x64 Native Tools Command Prompt for VS 2022` if you downloaded the 64 bit version.

---

<div class="post-metadata">

**Author:** ![system](https://root-forum.cern.ch/uploads/default/original/3X/e/f/efe4f24398fd8ffeb76bccb6ecc46d9d9c003376.png) [@system](https://root-forum.cern.ch/u/system)\
**Post date:** [September 20, 2022, 7:34pm UTC](https://root-forum.cern.ch/t/root-6-26-06-installation-issues-on-window/51476/4 "2022-09-20T19:34:57Z")

</div>

Closed on September 20, 2022, 7:34pm UTC

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
