// add platform dependant optional compilation argument
opt_arg=["-O3"]
import platform
if platform.system()=="Darwin":
if platform.release()=="18.0.0":
opt_arg.append("-stdlib=libc++") // correspond to a compilation problem with Mojave and XCode 10
After Change
here = path.abspath(path.dirname(__file__))
os.environ["CC"] = "g++"
os.environ["CXX"] = "g++"
// dirty but working