# C++ programs unable to find header files

**URL:** <https://root-forum.cern.ch/t/c-programs-unable-to-find-header-files/44013>\
**Category:** Newbie\
**Created:** [March 16, 2021, 7:40pm UTC](https://root-forum.cern.ch/t/c-programs-unable-to-find-header-files/44013 "2021-03-16T19:40:09Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Swarada\_Deshpande](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/swarada_deshpande/32/25228_2.png) [@Swarada\_Deshpande](https://root-forum.cern.ch/u/Swarada_Deshpande)\
**Post date:** [March 16, 2021, 7:40pm UTC](https://root-forum.cern.ch/t/c-programs-unable-to-find-header-files/44013/1 "2021-03-16T19:40:09Z")

</div>

I’ve been using GATE for almost a year for generating simulations. However, I did not face this issue until now. Whenever I run my c++ file, it shows an error for all the root header files stating " No such file or directory found"  
I checked the installation of the Root folder, it is present. The header files are also present in the include folder.  
I’m not understanding the cause of the problem all of a sudden.

_ROOT Version:_ Not Provided  
_Platform:_ Not Provided  
_Compiler:_ Not Provided

* * *

---

<div class="post-metadata">

**Author:** ![pcanal](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/pcanal/32/12439_2.png) [@pcanal](https://root-forum.cern.ch/u/pcanal)\
**Post date:** [March 16, 2021, 10:10pm UTC](https://root-forum.cern.ch/t/c-programs-unable-to-find-header-files/44013/2 "2021-03-16T22:10:01Z")

</div>

Does it say which file is missing? Which version of ROOT are you using? (And which one did you use before)?

---

<div class="post-metadata">

**Author:** ![Swarada\_Deshpande](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/swarada_deshpande/32/25228_2.png) [@Swarada\_Deshpande](https://root-forum.cern.ch/u/Swarada_Deshpande)\
**Post date:** [March 19, 2021, 1:48pm UTC](https://root-forum.cern.ch/t/c-programs-unable-to-find-header-files/44013/3 "2021-03-19T13:48:21Z")

</div>

The version is 6.18 It has always been the same version. It is showing file missing for any root header (TROOT.h, TSystem.h and others)

---

<div class="post-metadata">

**Author:** ![Wile\_E\_Coyote](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/wile_e_coyote/32/12417_2.png) [@Wile\_E\_Coyote](https://root-forum.cern.ch/u/Wile_E_Coyote)\
**Post date:** [March 19, 2021, 2:00pm UTC](https://root-forum.cern.ch/t/c-programs-unable-to-find-header-files/44013/4 "2021-03-19T14:00:35Z")

</div>

Is it possible that some of the involved paths contain “space characters” (or some “non-US-ASCII characters”) inside?
