# Problem building ROOT 6.12 on Mac OS X High Sierra

**URL:** <https://root-forum.cern.ch/t/problem-building-root-6-12-on-mac-os-x-high-sierra/28797>\
**Category:** ROOT\
**Created:** [April 24, 2018, 10:56am UTC](https://root-forum.cern.ch/t/problem-building-root-6-12-on-mac-os-x-high-sierra/28797 "2018-04-24T10:56:19Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![heico](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/h/e36b37/32.png) [@heico](https://root-forum.cern.ch/u/heico)\
**Post date:** [April 24, 2018, 9:20pm UTC](https://root-forum.cern.ch/t/problem-building-root-6-12-on-mac-os-x-high-sierra/28797/7 "2018-04-24T21:20:54Z")

</div>

Dear amadio,

Sorry for getting back to this only now, haven’t had time earlier unfortunately.

With your latest suggestion it worked, though I had to execute the first command (cmake . -Dxml=ON) in a separate directory as cmake did not want to spoil the source folder with the build.

So for reference and in case somebody else has similar issues, I did:

```auto
mkdir rootbuild
cd rootbuild
cmake ../root-6.12.06/ -Dxml=ON
cmake --build . --target XMLParser
cmake --build .

```

Thanks so much!

Cheers,  
heico

---

_[View the full topic](https://root-forum.cern.ch/t/problem-building-root-6-12-on-mac-os-x-high-sierra/28797)._
