# Errors when launching root after installation

**URL:** <https://root-forum.cern.ch/t/errors-when-launching-root-after-installation/55759>\
**Category:** Newbie\
**Created:** [July 19, 2023, 11:43pm UTC](https://root-forum.cern.ch/t/errors-when-launching-root-after-installation/55759 "2023-07-19T23:43:54Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![abunka](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/a/d6d6ee/32.png) [@abunka](https://root-forum.cern.ch/u/abunka)\
**Post date:** [July 19, 2023, 11:43pm UTC](https://root-forum.cern.ch/t/errors-when-launching-root-after-installation/55759/1 "2023-07-19T23:43:54Z")

</div>

Hello,  
I have just installed root on windows 11, with the dependencies cmake, python, and visual studio, the latest version of each.  
I followed the basic instructions [here](https://root.cern/install/#download-a-pre-compiled-binary-distribution), sourcing thisroot.bat. On launching root, I received the errors:

 ![image](https://root-forum.cern.ch/uploads/default/original/3X/1/c/1c8350de19fdcfce49ebe33617b25a2c35e60b7c.png)

What should I do to get past this?  
Thanks,  
A.

---

<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:** [July 20, 2023, 6:06am UTC](https://root-forum.cern.ch/t/errors-when-launching-root-after-installation/55759/2 "2023-07-20T06:06:34Z")

</div>

Did you start from a `x64 Native Tools Command Prompt for VS 2022`?

---

<div class="post-metadata">

**Author:** ![abunka](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/a/d6d6ee/32.png) [@abunka](https://root-forum.cern.ch/u/abunka)\
**Post date:** [July 20, 2023, 6:20pm UTC](https://root-forum.cern.ch/t/errors-when-launching-root-after-installation/55759/3 "2023-07-20T18:20:47Z")

</div>

I believe so, from visual studio 2022 → tools → command line / developer command prompt.

---

<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:** [July 20, 2023, 7:50pm UTC](https://root-forum.cern.ch/t/errors-when-launching-root-after-installation/55759/4 "2023-07-20T19:50:50Z")

</div>

Well, first of all, which exact version of ROOT did you download? And then, if you type `cl` in the command prompt, what does it print?

---

<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:** [July 20, 2023, 7:56pm UTC](https://root-forum.cern.ch/t/errors-when-launching-root-after-installation/55759/5 "2023-07-20T19:56:56Z")

</div>

And make sure you installed the `Desktop development with C++` workload

---

<div class="post-metadata">

**Author:** ![abunka](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/a/d6d6ee/32.png) [@abunka](https://root-forum.cern.ch/u/abunka)\
**Post date:** [July 20, 2023, 9:16pm UTC](https://root-forum.cern.ch/t/errors-when-launching-root-after-installation/55759/6 "2023-07-20T21:16:12Z")

</div>

I Will add the workload.  
I have root 6.28.04 win32 vc17  
cl returns an error, “cl is not recognized”

EDIT: Adding the desktop development workload resolved the issue.
