p4vasp
p4vasp copied to clipboard
Error while installing on Mac
I followed the steps mentioned in the README.Macos for installing P4vasp on Macbook Pro (MacOS Mohave, v.10.14..3), but am having some issue.
I get the following error:
g++-7 -fpic -g -DPY_DOMEXC_MODULE=""xml.dom."" -Ipython -c "import sys;import os.path;print os.path.join(sys.prefix,\"include\",\"python\"+sys.version[:3])"
-Iinclude -c string.cpp -o string.o
/bin/sh: g++-7: command not found
make[1]: *** [string.o] Error 127
make: *** [p4vasp] Error 2
I am unable to find a way to fix this error.
Sorry for the delayed response.
Since the homebrew developers updated the gcc version to 8, you need to brew install gcc@7
for this to work.
Please see #12 for an updated MacOS compilation process.