# While running root, got this :- ERROR in cling::CIFactory::createCI(): cannot extract standard library include paths!

**URL:** <https://root-forum.cern.ch/t/while-running-root-got-this-error-in-cling-cifactory-createci-cannot-extract-standard-library-include-paths/28284>\
**Category:** ROOT\
**Created:** [March 12, 2018, 2:51pm UTC](https://root-forum.cern.ch/t/while-running-root-got-this-error-in-cling-cifactory-createci-cannot-extract-standard-library-include-paths/28284 "2018-03-12T14:51:26Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Rajiv\_Jha](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/rajiv_jha/32/15898_2.png) [@Rajiv\_Jha](https://root-forum.cern.ch/u/Rajiv_Jha)\
**Post date:** [March 12, 2018, 2:51pm UTC](https://root-forum.cern.ch/t/while-running-root-got-this-error-in-cling-cifactory-createci-cannot-extract-standard-library-include-paths/28284/1 "2018-03-12T14:51:26Z")

</div>

After installing root via dmg file and running the thisroot.sh script, I tried to run root and got this error.

I did everything from accepting Xcode license and adding the path in environment variable but all in vain. later I cleaned my system and re-installed everything, but this error is just after me.

If anyone could help me out.

ERROR in cling::CIFactory::createCI(): cannot extract standard library include paths!

 ![17%20PM](https://root-forum.cern.ch/uploads/default/original/2X/b/b230ec1a816e0e61a41de7034d1b33da4aa1861b.png)

Thanks for the help in advance.

---

<div class="post-metadata">

**Author:** ![oshadura](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/oshadura/32/14460_2.png) [@oshadura](https://root-forum.cern.ch/u/oshadura)\
**Post date:** [March 20, 2018, 11:13am UTC](https://root-forum.cern.ch/t/while-running-root-got-this-error-in-cling-cifactory-createci-cannot-extract-standard-library-include-paths/28284/2 "2018-03-20T11:13:33Z")

</div>

Hi!

I am not sure if you already found a solution, but I wanted to leave here a solution of similar problem, maybe it will help you:

> [@ERROR in cling::CIFactory::createCI(): cannot extract standard library include paths!](https://root-forum.cern.ch/t/error-in-cling-cifactory-createci-cannot-extract-standard-library-include-paths/27808):
>
> Hello, I am trying to install ROOT v6.12.04on Mac OS Sierra 10.12.6 and it gives me the following error related to Cling. I have re accepted the XCode license as well, still gives the same error. ERROR in cling::CIFactory::createCI(): cannot extract standard library include paths! Invoking: LC\_ALL=C /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -O2 -DNDEBUG -xc++ -E -v /dev/null 2\>&1 \>/dev/null | awk '/^#include \</,/^End of search/{if (!/^#inclu…

Cheers,  
Oksana

---

<div class="post-metadata">

**Author:** ![system](https://root-forum.cern.ch/uploads/default/original/3X/e/f/efe4f24398fd8ffeb76bccb6ecc46d9d9c003376.png) [@system](https://root-forum.cern.ch/u/system)\
**Post date:** [April 3, 2018, 11:13am UTC](https://root-forum.cern.ch/t/while-running-root-got-this-error-in-cling-cifactory-createci-cannot-extract-standard-library-include-paths/28284/3 "2018-04-03T11:13:39Z")

</div>

Closed on April 3, 2018, 11:13am UTC

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
