coniii
coniii copied to clipboard
Boost C++ extension fails to compile with Xcode 11.5
This was working before I last updated Xcode, but now I get while compiling
g++ -bundle -undefined dynamic_lookup -L/Users/eddie/anaconda3/envs/scotus4/lib -arch x86_64 -L/Users/eddie/anaconda3/envs/scotus4/lib -arch
x86_64 -arch x86_64 build/temp.macosx-10.7-x86_64-3.7/./cpp/samplers.o build/temp.macosx-10.7-x86_64-3.7/./cpp/py.o -lboost_python37 -lboost_
numpy37 -L/usr/local/lib -L/usr/local/lib/boost_1_72_0/stage/lib -o build/lib.macosx-10.7-x86_64-3.7/coniii/samplers_ext.cpython-37m-darwin.s
o
clang: warning: libstdc++ is deprecated; move to libc++ with a minimum deployment target of OS X 10.9 [-Wdeprecated]
ld: warning: directory not found for option '-L/usr/local/lib/boost_1_72_0/stage/lib'
ld: library not found for -lstdc++
clang: error: linker command failed with exit code 1 (use -v to see invocation)
*****************************************************
Boost not compiled. See above errors for g++ message.
*****************************************************
This seems to be an issue with the Boost extension that I compiled before upgrading to Xcode 11. The solution to this would be to recompile the Boost extension with the latest versions so that it doesn't refer to a deprecated library.