# NeBem error during installation in macos 12.4.8 sonoma

**URL:** <https://root-forum.cern.ch/t/nebem-error-during-installation-in-macos-12-4-8-sonoma/64777>\
**Category:** Garfield++\
**Created:** [March 27, 2026, 7:47am UTC](https://root-forum.cern.ch/t/nebem-error-during-installation-in-macos-12-4-8-sonoma/64777 "2026-03-27T07:47:08Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Trinayan\_Saikia](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/trinayan_saikia/32/36207_2.png) [@Trinayan\_Saikia](https://root-forum.cern.ch/u/Trinayan_Saikia)\
**Post date:** [March 27, 2026, 7:47am UTC](https://root-forum.cern.ch/t/nebem-error-during-installation-in-macos-12-4-8-sonoma/64777/1 "2026-03-27T07:47:09Z")

</div>

[15%] Building CXX object NeBem/CMakeFiles/neBEM.dir/Isles.c.o

clang: warning: treating ‘c’ input as ‘c++’ when in C++ mode, this behavior is deprecated [-Wdeprecated]

/Users/trinitysantiago/trinity\_data/softwares/garfield/garfieldpp/NeBem/Isles.c:2235:18: fatal error: no member named ‘comp\_ellint\_1’ in namespace ‘std’

double K1{std::comp\_ellint\_1(u)};

```
        \~\~\~\~\~^

```

1 error generated.

make[2]: \*\*\* [NeBem/CMakeFiles/neBEM.dir/Isles.c.o] Error 1

make[1]: \*\*\* [NeBem/CMakeFiles/neBEM.dir/all] Error 2

make: \*\*\* [all] Error 2

---

<div class="post-metadata">

**Author:** ![hschindl](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/h/977dab/32.png) [@hschindl](https://root-forum.cern.ch/u/hschindl)\
**Post date:** [March 27, 2026, 4:37pm UTC](https://root-forum.cern.ch/t/nebem-error-during-installation-in-macos-12-4-8-sonoma/64777/2 "2026-03-27T16:37:22Z")

</div>

Hi,  
which compiler (and version) are you using? If you are using a compiler that doesn’t support C++17, can you try building Garfield++ with the CMake option `GARFIELD_WITH_GSL` set to `ON`?

---

<div class="post-metadata">

**Author:** ![Trinayan\_Saikia](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/trinayan_saikia/32/36207_2.png) [@Trinayan\_Saikia](https://root-forum.cern.ch/u/Trinayan_Saikia)\
**Post date:** [March 30, 2026, 2:31pm UTC](https://root-forum.cern.ch/t/nebem-error-during-installation-in-macos-12-4-8-sonoma/64777/3 "2026-03-30T14:31:00Z")

</div>

The compilation is solved with GSL ON. Thank you for the suggestion.

---

<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 13, 2026, 2:31pm UTC](https://root-forum.cern.ch/t/nebem-error-during-installation-in-macos-12-4-8-sonoma/64777/4 "2026-04-13T14:31:51Z")

</div>

Closed on April 13, 2026, 2:31pm UTC

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