Closed maxscheurer closed 5 years ago
Hmm, I still cannot reproduce this. I would love to help, but no luck. How did you acquire GCC?
BTW, in general we discourage GCC on Mac due to the poor toolchain. We always very much emphasize clang.
I installed it through Homebrew... I'll close this issue since it's not reproducible. As you say, it works fine with clang.
This is reproducible.
cmake -H. -Bbuild -DCMAKE_C_COMPILER=gcc-8 -DCMAKE_CXX_COMPILER=g++-8 -DCMAKE_Fortran_COMPILER=gfortran-8
Homebrew installed gcc-8
Components of NWChemEx cannot compile properly with clang, hence we are using gcc on a Mac right now. Not clear where it goes wrong. Most likely the path to the include file is not found?
Bert
When trying to build gau2grid with
gcc 8.2.0
on macOS, I get a lot of the following warningsfinally resulting in a linker error:
I tried to include
<stdlib.h>
in the respective file, but it did not seem to work. Any ideas on this issue?