Error message when starting Roon

_ROOT Version:_6.24.02
Platform: Window
Compiler: Visual Studio 2019

Dear all,
I just unistall my previous root 5.28/00, which has been working without any issue. I didt so because I want to use new functionalities as “kBird”, … etc.
After installing the new version, I’m getting the following issue while starting Root.
How to fix this issue?

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 <new>
         ^~~~~
Replaced symbol atexit cannot be found in JIT!
Replaced symbol at_quick_exit cannot be found in JIT!
Replaced symbol __dllonexit cannot be found in JIT!
Replaced symbol _onexit cannot be found in JIT!
input_line_3:37:10: fatal error: 'string' file not found
#include <string>
         ^~~~~~~~
   ------------------------------------------------------------------
  | Welcome to ROOT 6.24/02                        https://root.cern |
  | (c) 1995-2021, The ROOT Team; conception: R. Brun, F. Rademakers |
  | Built for win32 on Jun 28 2021, 09:28:51                         |
  | From tags/v6-24-02@v6-24-02                                      |
  | With MSVC 19.23.28107.0                                          |
  | Try '.help', '.demo', '.license', '.credits', '.quit'/'.q'       |
   ------------------------------------------------------------------

input_line_7:1:10: fatal error: 'iostream' file not found
#include <iostream>
         ^~~~~~~~~~
root [0]

Welcome to the ROOT Forum!
If you search the forum for fatal error: 'new' file not found you will find more than 50 topics, and I’m sure you will find the solution to your issue (you have to install Visual Studio on your machine and start from a VS command prompt). If not, feel free to ask again!

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