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
IfcOpenShell Architecture error (ARM) #1702
Comments
IfcOpenShell doesn't seem to be compiled for arm. You might need to compile it yourself. Ping @aothms ? |
For the time being you can compile yourself, see nix/build-all.py |
I tried to run the build script today. failed on the first step. it seems the hdf5-1.8.22.tar.gz was incomplete. Anyway, I attacked the log file and the screenshot. anyone can help? thanks |
@twisker my guess is that the HDF5 build simply doesn't succeed. You can try running it manually and see the output https://github.com/IfcOpenShell/IfcOpenShell/blob/v0.7.0/nix/build-all.py#L415 or check what's in the hdf5.log file in ./IfcOpenShell/build/.../build/hdf5/build/hdf5.log (I think) I guess you can also just try the IfcOpenShell 0.6 branch which does not depend on hdf5 yet. |
Thank you @aothms . I will try it later. |
I tried to build it myself, but it failed. see issue #1975 |
@HeySora @cheshiren @twisker @benjamindahl hey all! Great news! We're doing a fundraiser to try and raise 70USD per month (unfortunately yes, a recurring payment, not a one-off) to afford an Apple M1 buildserver which will provide regular builds for Apple M1 devices! If you're still keen, perhaps you can help us out maybe for the price of a cup of coffee or two per month? Details are here: https://opencollective.com/opensourcebim/projects/apple-m1-build-server - looking forward to when we can provide this with your help! |
We're still a little short of recurring funds to sustain building this in the long term, so donations are still very welcome, but there are now Apple M1 builds for both IfcOpenShell and the BlenderBIM Add-on! Closing bug :) |
I'll try. |
This happens when trying to enable the BlenderBIM add-on on a M1 Mac, with the (official) ARM/Apple Silicon version of Blender.
The important parts of the error are:
ImportError: IfcOpenShell not built for 'darwin/64bit/python3.9'
/Users/sora/Library/Application Support/Blender/2.93/scripts/addons/blenderbim/libs/site/packages/ifcopenshell/_ifcopenshell_wrapper.so: mach-o, but wrong architecture
Running
file _ifcopenshell_wrapper.so
returns:_ifcopenshell_wrapper.so: Mach-O 64-bit bundle x86_64
Rosetta 2 is installed on this Mac.
The text was updated successfully, but these errors were encountered: