boost numpy3 not compiling on OSX Yosemite using homebrew.
- Linguagem predominante
- C++
- Estrelas
- 537
- Forks
- 223
- Merge médio
- 11h 22min
- PRs com merge (30d)
- 2
Descrição
I get the following runtime error:
Symbol not found: _PyClass_Type
Referenced from: /usr/local/opt/boost-python/lib/libboost_python-mt.dylib
Expected in: flat namespace
in /usr/local/opt/boost-python/lib/libboost_python-mt.dylib
built on mac with brew:
brew install boost --c++11
brew install boost-python --with-python3 --c++11
This is very similar to issue #96, but my problem seems to be that the boost_numpy3 libraries are not being built.
In /usr/local/Cellar/boost-python/1.65.1/lib there are the numpy libraries but not the numpy3 libraries.
libboost_numpy-mt.a
libboost_python-mt.a
libboost_python3-mt.a
libboost_numpy-mt.dylib
libboost_python-mt.dylib
libboost_python3-mt.dylib
libboost_numpy.a
libboost_python.a
libboost_python3.a
libboost_numpy.dylib
libboost_python.dylib
libboost_python3.dylib
It looked to me like this issue should have been merged in with the 1.65 release, but maybe I'm missing something.
Thanks for the help
Guia de contribuição
Nenhum guia de contribuição indexado para este repositório
Direção de pesquisa
Start by reproducing the build with the two Homebrew commands in the issue on macOS Yosemite, then inspect /usr/local/Cellar/boost-python/1.65.1/lib and the related Boost.Python build output. Done means the Python 3 NumPy libraries are built alongside the listed libraries and the reported _PyClass_Type runtime error no longer occurs.
Escrita pelo modelo de indexação a partir do texto da issue.
Avaliação
- Stack de tecnologia
- cpp, macos, numpy, python
- Domínio
- build-system
- Tipo de issue
- Bug
- Dificuldade
- 4/5
- Tempo estimado
- 3-5 dias
- Status de atividade
- Estagnada
- Clareza
- Razoavelmente clara
- Facilidade para iniciantes
- 35/100