# Fatal error: 'new' file not found

**URL:** <https://root-forum.cern.ch/t/fatal-error-new-file-not-found/49759>\
**Category:** Newbie\
**Created:** [April 26, 2022, 7:51pm UTC](https://root-forum.cern.ch/t/fatal-error-new-file-not-found/49759 "2022-04-26T19:51:24Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![meliodafuu](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/m/5fc32e/32.png) [@meliodafuu](https://root-forum.cern.ch/u/meliodafuu)\
**Post date:** [April 26, 2022, 7:51pm UTC](https://root-forum.cern.ch/t/fatal-error-new-file-not-found/49759/1 "2022-04-26T19:51:24Z")

</div>

* * *

Hey,  
I´m trying to run ROOT but I get this error:

```auto
fatal error: 'new' file not found
#include <new>
        ^ ~~~~
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 

```

I installed ROOT using the [root\_v6.26.02.win64.vc17.exe]. I already checked the dependencies and it seems I installed all of them. Does anyone know how to solve it, or what I did wrong?

\_ROOT Version: 6.26/02  
\_Platform: Windows 11

* * *

---

<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 26, 2022, 8:13pm UTC](https://root-forum.cern.ch/t/fatal-error-new-file-not-found/49759/2 "2022-04-26T20:13:18Z")

</div>

Welcome to the ROOT Forum! If you search the forum for `fatal error: 'new' file not found` you will find:  
[https://root-forum.cern.ch/search?q=fatal%20error:%20%27new%27%20file%20not%20found](https://root-forum.cern.ch/search?q=fatal%20error:%20%27new%27%20file%20not%20found)  
Since you installed the 64 bit version, you should start ROOT from a `x64 Native Tools Command Prompt for VS 2019` (or 2022)

---

<div class="post-metadata">

**Author:** ![meliodafuu](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/m/5fc32e/32.png) [@meliodafuu](https://root-forum.cern.ch/u/meliodafuu)\
**Post date:** [April 27, 2022, 6:21am UTC](https://root-forum.cern.ch/t/fatal-error-new-file-not-found/49759/3 "2022-04-27T06:21:35Z")

</div>

Hey,  
thanks for your quick reply.  
I tried running it using the x64 Native Tools Command Prompt for VS 2022, but I’m still getting the exact same result.

---

<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 27, 2022, 6:51am UTC](https://root-forum.cern.ch/t/fatal-error-new-file-not-found/49759/4 "2022-04-27T06:51:05Z")

</div>

And did you install the `Windows 10 SDK` together with Visual Studio 2022?

---

<div class="post-metadata">

**Author:** ![meliodafuu](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/m/5fc32e/32.png) [@meliodafuu](https://root-forum.cern.ch/u/meliodafuu)\
**Post date:** [April 27, 2022, 7:20am UTC](https://root-forum.cern.ch/t/fatal-error-new-file-not-found/49759/5 "2022-04-27T07:20:47Z")

</div>

Yes, Version 10.0.19041.0.

---

<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 27, 2022, 7:26am UTC](https://root-forum.cern.ch/t/fatal-error-new-file-not-found/49759/6 "2022-04-27T07:26:52Z")

</div>

Can you copy and paste the complete session from the command prompt? It should look like this:

```auto
**********************************************************************
** Visual Studio 2019 Developer Command Prompt v16.11.13
** Copyright (c) 2021 Microsoft Corporation
**********************************************************************
[vcvarsall.bat] Environment initialized for: 'x64'

C:\Users\bellenot>build\x64\release\bin\thisroot.bat

C:\Users\bellenot>root
   ------------------------------------------------------------------
  | Welcome to ROOT 6.27/01 https://root.cern |
  | (c) 1995-2022, The ROOT Team; conception: R. Brun, F. Rademakers |
  | Built for win64 on Apr 26 2022, 09:04:49 |
  | From heads/master@v6-25-02-1075-ge4e8e62c2a |
  | With MSVC 19.29.30143.0 |
  | Try '.help'/'.?', '.demo', '.license', '.credits', '.quit'/'.q' |
   ------------------------------------------------------------------

root [0]

```
