Closed chadmv closed 10 years ago
It's a clang problem. Happened with newer versions of OSX. Use gcc:
CC=gcc CXX=g++ python setup.py build_ext --inplace
Cool thanks! Maybe I'll look into eventually using CMake in the setup.py which would also help with Windows build support.
We used to have a CMake build system when it was full C++ client, but then switched over to a setuptools approach when it became python. I hear waf is the new hotness?
On Sat, May 10, 2014 at 5:45 AM, Chad Vernon notifications@github.comwrote:
Cool thanks! Maybe I'll look into eventually using CMake in the setup.py which would also help with Windows build support.
— Reply to this email directly or view it on GitHubhttps://github.com/chadmv/plow/issues/2#issuecomment-42693672 .
Yep clang issue.
Could be an error the clang I'm using
Apple LLVM version 4.2 (clang-425.0.28) (based on LLVM 3.2svn) Target: x86_64-apple-darwin12.5.0
Commenting out the lines makes it compile. But since this file is procedurally generated, makes it kind of a hassle to do that. Not sure why it would need to call a destructor on a string.