-
Notifications
You must be signed in to change notification settings - Fork 128
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
Pip wheels for Mac M1 (arm64) #62
Comments
I do not have access to a Macbook Pro M1, so I cannot help without detailed logs and error outputs. I do not know if anyone has tried so far. You likely need to build COLMAP and pycolmap from source - see colmap/colmap#1423 |
I finally managed to build on a MacBook Pro M1. I am not sure how I could contribute to this project, is it enough to share the .whl file? |
Can you please instead describe in details what steps you took to make it work so others can reproduce it? |
I am using Homebrew and Miniforge. First I had to install qt5 using Homebrew: Then build Colmap:
Then build pycolmap:
|
I tried to build colmap following your steps. Everything went ok, but when I tried to start it, I got the following error:
Could you guess what might be the problem? |
I was able to build, but got an error when trying to import pycomap:
Any idea what went wrong? I used the dev branch of colmap as of today (7/15/2022). Should I use a different version of colmap for ToT pycolmap? |
I was able to resolve this error by disabling OpenMP, i.e. change the ON in this line of CMakeLIst.txt of colmap repo to OFF:
Not sure about the performance penalty this incurs. |
(Apple M2) I tried this, and I was able to successfully compile COLMAP. However, I was unable to compile pycolmap. I got the error "clang: error: no such file or directory: 'NOTFOUND'"
|
There are some mark-ups here: |
We now have wheels for macOS M1 - they will be published on PyPI in the next release (in a few days). See |
I am struggling to build the library on a Macbook Pro M1 with the given instructions and latest commit in master.
The text was updated successfully, but these errors were encountered: