NeBem error during installation in macos 12.4.8 sonoma

[ 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

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?

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

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