# Namespace errors

**URL:** <https://root-forum.cern.ch/t/namespace-errors/45665>\
**Category:** Newbie\
**Tags:** build\
**Created:** [July 2, 2021, 5:52pm UTC](https://root-forum.cern.ch/t/namespace-errors/45665 "2021-07-02T17:52:08Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![Ronan](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/r/3ec8ea/32.png) [@Ronan](https://root-forum.cern.ch/u/Ronan)\
**Post date:** [July 2, 2021, 8:32pm UTC](https://root-forum.cern.ch/t/namespace-errors/45665/5 "2021-07-02T20:32:48Z")

</div>

Ok, so I tried a rebuild which for some reason didn’t use C++17 but C++14 bbased of root-config output.

So just to be clear, my build command, following : [Building ROOT from source - ROOT](https://root.cern/install/build_from_source/)  
Should actually be:  
`cmake -DCMAKE_CXX_STANDARD=17 -DCMAKE_INSTALL_PREFIX=../root_install/ ../root_src/` correct? I see other posts mentioning `-Dcxx17=ON` ([Enable C++14/17 support after building ROOT](https://root-forum.cern.ch/t/enable-c-14-17-support-after-building-root/36735)) would this also be needed?

---

_[View the full topic](https://root-forum.cern.ch/t/namespace-errors/45665)._
