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

Unable to build on Mac Catalina (10.15.6) #225

Open
skypanther opened this issue Sep 20, 2020 · 1 comment · May be fixed by #227
Open

Unable to build on Mac Catalina (10.15.6) #225

skypanther opened this issue Sep 20, 2020 · 1 comment · May be fixed by #227

Comments

@skypanther
Copy link

I followed the steps on your Build for OSX page. I have all components installed, including boost-python3 (and its dependency of boost). However, cmake cannot find boost_python. Since 10.13 (which the install instructions say they were tested on), Apple has made various changes to *nix like directories. Maybe that's why I can't build? My google searches did not turn up any usable fixes.

  • Building from latest antimony master
  • OSX version 10.15.6 (Catalina)
  • Python 3.8.5 (I also tried 3.7.8)
  • ≫ brew install boost-python3 ... gives me Warning: boost-python3 1.73.0 is already installed and up-to-date
  • The file /usr/local/lib/libboost_python38.dylib exists

Error:

≫ cmake -DCMAKE_PREFIX_PATH=/usr/local/Cellar/qt/5.10.1 -GNinja ..
CMake Error at /usr/local/lib/cmake/Boost-1.73.0/BoostConfig.cmake:141 (find_package):
  Found package configuration file:

    /usr/local/lib/cmake/boost_python-1.73.0/boost_python-config.cmake

  but it set boost_python_FOUND to FALSE so package "boost_python" is
  considered to be NOT FOUND.  Reason given by package:

  No suitable build variant has been found.

  The following variants have been tried and rejected:

  * libboost_python38-mt.dylib (3.8, Boost_PYTHON_VERSION=3.7)

  * libboost_python38-mt.a (3.8, Boost_PYTHON_VERSION=3.7)

  * libboost_python38.dylib (3.8, Boost_PYTHON_VERSION=3.7)

  * libboost_python38.a (3.8, Boost_PYTHON_VERSION=3.7)

Call Stack (most recent call first):
  /usr/local/lib/cmake/Boost-1.73.0/BoostConfig.cmake:258 (boost_find_component)
  /usr/local/Cellar/cmake/3.18.2/share/cmake/Modules/FindBoost.cmake:448 (find_package)
  CMakeLists.txt:17 (find_package)
@mkeeter
Copy link
Owner

mkeeter commented Sep 20, 2020

I suspect that the issue is the Python version found here doesn't match the Boost Python version found here.

I don't have a Catalina system to debug on, but maybe that gives you a hint for tracking this down – good luck!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants