coniii icon indicating copy to clipboard operation
coniii copied to clipboard

Boost C++ extension fails to compile with Xcode 11.5

Open eltrompetero opened this issue 5 years ago • 1 comments

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.                                                                                        
*****************************************************                 

eltrompetero avatar Jun 19 '20 14:06 eltrompetero

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.

eltrompetero avatar Sep 03 '20 15:09 eltrompetero