Fatal Errors when running ROOT for the first time

ROOT Version: 6.18.04
Platform: Windows 10 x64
Compiler: Visual Studio 2019

I’m a newbie setting up root for the first time. When I type root into windows command prompt this is what I get:

input_line_3:37:10: fatal error: 'string' file not found
#include <string>
         ^~~~~~~~
   ------------------------------------------------------------
  | Welcome to ROOT 6.18/04                  https://root.cern |
  |                               (c) 1995-2019, The ROOT Team |
  | Built for win32 on Sep 11 2019, 15:38:23                   |
  | From tags/v6-18-04@v6-18-04                                |
  | Try '.help', '.demo', '.license', '.credits', '.quit'/'.q' |
   ------------------------------------------------------------

input_line_7:2:10: fatal error: 'string' file not found
#include <string>
         ^~~~~~~~

It seems functional despite the errors, but how do I fix them to ensure that this doesn’t cause problems in the future?

Hi,
Welcome to the ROOT forum! This issue has been fixed in the master and will be part of the next (coming soon) releases.