-
Notifications
You must be signed in to change notification settings - Fork 63
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
Cannot build on Mac OS #42
Comments
I never tried Mac OS, but it should work. The MercuryAPI contains special build instructions for IOS (see REAME.IOS in mercuryapi-1.31.0.33/c). The wrapper is a tiny layer above the mercuryAPI, so the build problems usually come from the MercuryAPI. I’d recommend you to build the API itself, then copy the .h and .a/.so somewhere and run the python build. For Windows and Linux it is automated, but Mac may need some tweaks before it works. |
@AaronHuus Did you ever figure this out, I am running into the same issue. |
Bumping this; I'm hitting the same issue! Anybody made any progress? |
@AaronHuus has made this |
I do not believe I ever fully got this working before being pulled on to something else |
Hi I am happy to help out with the mac issue. I have one that is not doing anything at the moment. I can have it ready in a day or two if needed. |
Hello everyone, using the machine from @Moebe1 I was able to build the code under MacOS X and install the Python extension. |
I know this is an older bug, but I am running into an issue building on MacOS X 10.15.6 with mercuryapi-1.31.4.35. I followed the instructions in the readme but get an 'unknown type name' error and an 'architecture not supported' error. Which version of Mac OS and Mercury API was the patch working on? Most of the errors seem to come from the pthread.h file. |
Finally figured out what the issue was! This is an issue with the XCode 12 version of python3 setting the -arch arm64 flag during the compile of the extension. I used homebrew to install official version of Python and it works. Hopefully this will save someone else some time trying to figure out this issue. |
When running
make
from on Mac OS, I get a lot of the following errors:Is building/installing from MacOS supported? And if not, what is required to allow for this?
The text was updated successfully, but these errors were encountered: