# Missing file error when installing in windows

**URL:** <https://root-forum.cern.ch/t/missing-file-error-when-installing-in-windows/64746>\
**Category:** Newbie\
**Tags:** root\
**Created:** [March 11, 2026, 1:26am UTC](https://root-forum.cern.ch/t/missing-file-error-when-installing-in-windows/64746 "2026-03-11T01:26:22Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![GrfBiv](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/grfbiv/32/39801_2.png) [@GrfBiv](https://root-forum.cern.ch/u/GrfBiv)\
**Post date:** [March 11, 2026, 1:26am UTC](https://root-forum.cern.ch/t/missing-file-error-when-installing-in-windows/64746/1 "2026-03-11T01:26:23Z")

</div>

_ROOT Version:_ v6.38.02  
_Platform:_ Windows 11  
_Compiler:_ Not Provided

* * *

Every time I start root I get this exact same error message. It says that the system cannot find the file specified, then says it can’t find files ‘new’, ‘string’, and ‘iostream’.

 ![Screenshot 2026-03-10 170844](https://root-forum.cern.ch/uploads/default/original/3X/1/8/18ccc345e1f92c64c241ac108d7720a911a176be.png)

It happens when I run it in powershell, visual studio, and in the native tools command prompt for VS, always the same. It also hasn’t changed after I’ve redownloaded the program and made sure it added itself to the system path for all users, and after I’ve redownloaded the dependencies and a more specific release of python. I also tried modifying visual studio to include more features that seemed relevant, but that didn’t change anything. It was also the same when I made sure all the files were in the same folder as it is when I let everything download into default positions. When I run the files command I can clearly see files with the exact names it says it can’t find.

---

<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:** [March 11, 2026, 7:30am UTC](https://root-forum.cern.ch/t/missing-file-error-when-installing-in-windows/64746/2 "2026-03-11T07:30:09Z")

</div>

Welcome to the ROOT Forum!  
Can you tell me which version of ROOT Visual Studio you have on your machine? And can you show what it prints when you type `cl.exe`? For example:

```auto
C:\Users\bellenot>cl.exe
Microsoft (R) C/C++ Optimizing Compiler Version 19.50.35725 for x64
Copyright (C) Microsoft Corporation. All rights reserved.

usage: cl [option...] filename... [/link linkoption...]

```

---

<div class="post-metadata">

**Author:** ![GrfBiv](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/grfbiv/32/39801_2.png) [@GrfBiv](https://root-forum.cern.ch/u/GrfBiv)\
**Post date:** [March 11, 2026, 2:40pm UTC](https://root-forum.cern.ch/t/missing-file-error-when-installing-in-windows/64746/3 "2026-03-11T14:40:59Z")

</div>

Thank you,

I have visual studio version 18.4.0.

 ![Screenshot 2026-03-11 103911](https://root-forum.cern.ch/uploads/default/original/3X/5/e/5ec36686b83a1665484f30469922c2c79f271edd.png)

---

<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:** [March 11, 2026, 2:47pm UTC](https://root-forum.cern.ch/t/missing-file-error-when-installing-in-windows/64746/4 "2026-03-11T14:47:47Z")

</div>

Did you start from a `Developer Command Prompt for VS 18`?  
Did you install the `Desktop development with C++` Workload (from the `Visual Studio Installer`)?

---

<div class="post-metadata">

**Author:** ![GrfBiv](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/grfbiv/32/39801_2.png) [@GrfBiv](https://root-forum.cern.ch/u/GrfBiv)\
**Post date:** [March 11, 2026, 6:19pm UTC](https://root-forum.cern.ch/t/missing-file-error-when-installing-in-windows/64746/5 "2026-03-11T18:19:03Z")

</div>

I looked and it turned out I’d selected the wrong c++ menu in visual studios. It’s working fine now, thanks!
