MultiNEAT icon indicating copy to clipboard operation
MultiNEAT copied to clipboard

install problem: python setup.py build_ext

Open langongjin opened this issue 6 years ago • 2 comments

hi, when I run "python setup.py build_ext" in the terminal, I got:

ld: library not found for -lboost_python
clang: error: linker command failed with exit code 1 (use -v to see invocation)
error: command 'clang++' failed with exit status 1

Do you have any ideas to solve this problem?

Thanks a lot!

langongjin avatar Dec 30 '18 15:12 langongjin

hi @langongjin, it depends where you have installed boost from and which version. it has different naming conventions for libraries. please check what is the name for boost python library on your system and tweak setup.py accordingly

anton-matosov avatar Jan 10 '19 15:01 anton-matosov

hi, @anton-matosov I installed the boost-python. The name for boost python in

if is_python_2:
            libs += ['boost_python', "boost_numpy"]
        else:
            libs += ['boost_python3', "boost_numpy3"]

Therefore, can you give me some ideas?

langongjin avatar Jan 14 '19 11:01 langongjin