Open neutronest opened 6 years ago
if use a workaround in pytorch_binding/setup.py
if platform.system() == 'Darwin':
extra_compile_args = ['-fPIC']
else:
extra_compile_args = ['-std=c++11', '-fPIC']
can solve this problem. However I don't think this is a good practice.
the "invalid argument '-std=c++11' not allowed with 'C/ObjC'" occured when try to use
python setup.py install
in pytorch_binding.Full Operation History:
the cmake info:
the error occured.