# Installing ROOT-GLEW Error

**URL:** <https://root-forum.cern.ch/t/installing-root-glew-error/48496>\
**Category:** ROOT\
**Created:** [January 21, 2022, 7:56pm UTC](https://root-forum.cern.ch/t/installing-root-glew-error/48496 "2022-01-21T19:56:31Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Rutik](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/r/e9a140/32.png) [@Rutik](https://root-forum.cern.ch/u/Rutik)\
**Post date:** [January 21, 2022, 7:56pm UTC](https://root-forum.cern.ch/t/installing-root-glew-error/48496/1 "2022-01-21T19:56:32Z")

</div>

Hi!,  
I’m trying to install ROOT on my Mac, its Monterey.  
The error I’m getting is  
`CMake Error at cmake/modules/SearchInstalledSoftware.cmake:571 `

\_ROOT Version: root 6  
\_Platform: MAC  
_Compiler:_ Cmake

* * *

---

<div class="post-metadata">

**Author:** ![couet](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/couet/32/12037_2.png) [@couet](https://root-forum.cern.ch/u/couet)\
**Post date:** [January 24, 2022, 7:20am UTC](https://root-forum.cern.ch/t/installing-root-glew-error/48496/2 "2022-01-24T07:20:39Z")

</div>

Which options are you using with the cmake command ?

---

<div class="post-metadata">

**Author:** ![Rutik](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/r/e9a140/32.png) [@Rutik](https://root-forum.cern.ch/u/Rutik)\
**Post date:** [January 24, 2022, 10:09pm UTC](https://root-forum.cern.ch/t/installing-root-glew-error/48496/3 "2022-01-24T22:09:45Z")

</div>

Hi, this is what I’m using. I thought it could be an issue because of Monterey, then I downgraded it to Catalina.

```auto
cmake -DCMAKE_INSTALL_PREFIX=<installdir> <sourcedir>

```

---

<div class="post-metadata">

**Author:** ![Rutik](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/r/e9a140/32.png) [@Rutik](https://root-forum.cern.ch/u/Rutik)\
**Post date:** [January 24, 2022, 10:30pm UTC](https://root-forum.cern.ch/t/installing-root-glew-error/48496/4 "2022-01-24T22:30:40Z")

</div>

The whole error is

```auto

CMake Error at cmake/modules/SearchInstalledSoftware.cmake:571 (message):
  Please enable builtin Glew due bug in latest CMake (use cmake option
  -Dbuiltin_glew=ON).
Call Stack (most recent call first):
  CMakeLists.txt:219 (include)

```

---

<div class="post-metadata">

**Author:** ![eguiraud](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/eguiraud/32/32217_2.png) [@eguiraud](https://root-forum.cern.ch/u/eguiraud)\
**Post date:** [January 31, 2022, 11:18am UTC](https://root-forum.cern.ch/t/installing-root-glew-error/48496/5 "2022-01-31T11:18:22Z")

</div>

Hi @Rutik ,  
sorry for the high latency, is this still an issue?

@couet @Axel ping

---

<div class="post-metadata">

**Author:** ![Axel](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/axel/32/11084_2.png) [@Axel](https://root-forum.cern.ch/u/Axel)\
**Post date:** [January 31, 2022, 11:28am UTC](https://root-forum.cern.ch/t/installing-root-glew-error/48496/6 "2022-01-31T11:28:18Z")

</div>

OK so what happens when you specify:

> [@Rutik](#):
>
> `-Dbuiltin_glew=ON`

to `cmake`, as the error message recommends?

Cheers, Axel

---

<div class="post-metadata">

**Author:** ![Rutik](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/r/e9a140/32.png) [@Rutik](https://root-forum.cern.ch/u/Rutik)\
**Post date:** [February 7, 2022, 5:58pm UTC](https://root-forum.cern.ch/t/installing-root-glew-error/48496/7 "2022-02-07T17:58:12Z")

</div>

Hi!  
So, I installed it with brew and it worked after downgrading to Catalina, so didn’t pursue this further.

Thanks!

---

<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:** [February 21, 2022, 5:58pm UTC](https://root-forum.cern.ch/t/installing-root-glew-error/48496/8 "2022-02-21T17:58:39Z")

</div>

Closed on February 21, 2022, 5:58pm UTC

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