-
Notifications
You must be signed in to change notification settings - Fork 150
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
Failure to build from source on MacOS #369
Comments
The relevant factor may be the compiler, which I see is This should make the build work though I think, regardless of why you're actually seeing the warning. Really just the first commit here: #370 |
Thanks. Turns out this was an easy one - the problem was not having first installed It looks like the install script recognized that Eigen was missing and tried to fetch it (see Perhaps the Along these same lines, the CMake Error at /private/var/folders/0j/gcrqfhps14b11tyxczhdzdv80000gn/T/pip-build-env-qp81m144/normal/lib/python3.11/site-packages/cmake/data/share/cmake-3.26/Modules/FindPackageHandleStandardArgs.cmake:230 (message):
Could NOT find GMP (missing: GMP_LIBRARIES GMP_INCLUDE_DIRS)
Call Stack (most recent call first):
/private/var/folders/0j/gcrqfhps14b11tyxczhdzdv80000gn/T/pip-build-env-qp81m144/normal/lib/python3.11/site-packages/cmake/data/share/cmake-3.26/Modules/FindPackageHandleStandardArgs.cmake:600 (_FPHSA_FAILURE_MESSAGE)
cmake/FindGMP.cmake:19 (find_package_handle_standard_args)
CMakeLists.txt:198 (find_package) |
Did you try doing a clean build with #370 before installing eigen? I expect that to work, unless I'm misunderstanding things. The fatal errors from the log are these:
Which mean that Eigen was fetched successfully, but was not added as a system include path on the compile command, meaning that warnings in Eigen itself were fatal - #370 fixes this. If Eigen is already installed, it's included as a system include path, meaning warnings in Eigen itself are ignored. I'll take a look at the |
Describe the bug
Build from source fails on MacOS.
To Reproduce
Follow the instructions to build from source on a MacBook Pro with M2 running macOS 14.0:
gmp
with brew (docs)miniforge
forarm64
(docs)Expected behavior
Build from source should complete without error.
Screenshots
See error_log.txt
Environment (please complete the following information):
bdbcbf7e
Additional context
v0.9.0
, etc.)cmake
instead ofpip
does not matterpip install -r dev_requirements.txt
) does not mattergmp
withmamba
instead ofbrew
does not matterThe text was updated successfully, but these errors were encountered: