- changed title to Failed to compile C files on MacOSX 10.8.5
- edited description
Failed to compile C files on MacOSX 10.8.5
Issue #28
resolved
I am using MacOS 10.8.5.
14109fe4f803:rlpy-master alborzg$ gcc --version Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/usr/include/c++/4.2.1 Apple LLVM version 5.0 (clang-500.2.76) (based on LLVM 3.3svn) Target: x86_64-apple-darwin12.5.0 Thread model: posix
Comments (3)
-
reporter -
If you uncomment lines 14-17, and comment out line 18, in setup.py:
if sys.platform == 'darwin': extra_args = ["-std=c++0x", "-stdlib=libc++"] else: extra_args = ["-std=c++0x"] #extra_args = []
And re-run setup.py does it compile for you? This is the same compilation error I was getting before and this change fixed it for me. My understanding is that it comes down to the support for c++11 on Mac OSX being incomplete.
-
reporter - changed status to resolved
Refer to
#27 - Log in to comment