mkeeter / antimony

CAD from a parallel universe
2.12k stars 158 forks source link

Unable to build on Mac Catalina (10.15.6) #225

Open skypanther opened 4 years ago

skypanther commented 4 years ago

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.

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 commented 4 years ago

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!