Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Boost C++ extension fails to compile with Xcode 11.5 #24

Open
eltrompetero opened this issue Jun 19, 2020 · 1 comment
Open

Boost C++ extension fails to compile with Xcode 11.5 #24

eltrompetero opened this issue Jun 19, 2020 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@eltrompetero
Copy link
Owner

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
Copy link
Owner Author

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 eltrompetero added the bug Something isn't working label Sep 3, 2020
@eltrompetero eltrompetero self-assigned this Sep 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant