You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
i think it must be
PYTHON_VERSION_SUFFIX=3
instead of
PYTHON_VERSION_SUFFIX=-py3
-py3 working, but Boost returns /usr/lib/libboost_python.so that usually links to /usr/lib/libboost_python2.so.
in mojave, when using brew python3 as default python:
brew install boost-python3
mkdir build && cd build
cmake ..
make
make test
it works for me.
But it is so difficult to build in python@2. brew install boost-python will use the system python to compile libboost_python27-mt.dylib .
at any python2 environment :
mkdir build && cd build
cmake ..
make
it can pass, but make test will fail.
finally, I use dirty way to solve this problem.
After cmake, in the CMakeCache.txt file I change to PYTHON_EXECUTABLE:FILEPATH=/System/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7 .
Activity
Achimh3011 commentedon Oct 28, 2018
Which OS/Distro? Unfortunately, each distro uses a different suffix somehow.
ivanstepanovftw commentedon Oct 28, 2018
Manjaro
mahaidong commentedon Nov 8, 2018
in mojave, when using brew python3 as default python:
it works for me.
But it is so difficult to build in python@2.
brew install boost-pythonwill use the system python to compilelibboost_python27-mt.dylib.at any python2 environment :
it can pass, but
make testwill fail.finally, I use dirty way to solve this problem.
After cmake, in the
CMakeCache.txtfile I change toPYTHON_EXECUTABLE:FILEPATH=/System/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7.Then
make testsucceed.Achimh3011 commentedon Sep 14, 2019
@ivanstepanovftw You can add a test for manjaro to
build.shand raise a PR.ivanstepanovftw commentedon Sep 14, 2019
Maybe later, thanks