GROMACS version: 2022
GROMACS modification: NO
Here post your question
Making install in m4
[ 0%] Completed 'fftwBuild'
[ 0%] Built target fftwBuild
[ 0%] Building CXX object _deps/muparser-build/CMakeFiles/muparser.dir/src/muParserBase.cpp.o
In file included from /opt/homebrew/Cellar/gcc/14.2.0_1/include/c++/14/cmath:49,
from /Users/jaeyongkim/Desktop/gromacs-2022/src/external/muparser/include/muParserBase.h:33,
from /Users/jaeyongkim/Desktop/gromacs-2022/src/external/muparser/src/muParserBase.cpp:29:
/opt/homebrew/Cellar/gcc/14.2.0_1/include/c++/14/bits/std_abs.h:38:15: fatal error: stdlib.h: No such file or directory
38 | #include_next <stdlib.h>
| ^~~~~~~~~~
compilation terminated.
make[2]: *** [_deps/muparser-build/CMakeFiles/muparser.dir/src/muParserBase.cpp.o] Error 1
make[1]: *** [_deps/muparser-build/CMakeFiles/muparser.dir/all] Error 2
make: *** [all] Error 2```
1. Tried getting rid of Werror Flag => x work
2. Reinstalled xCODE => x work
3. Ive asked ChatGPT and followed every and all possible ways, but evetually it comes to the above issue.
Has anyone faced a similar issue? How do I fix this?