dem-bones icon indicating copy to clipboard operation
dem-bones copied to clipboard

The dem bones llvm library executable not working on M1 Macbooks

Open Tekh-ops opened this issue 3 years ago • 2 comments

The issue is as :

mac@Ayushs-MacBook-Pro MacOS % ./dembones -a=a.abc -i=a.fbx -o=out.fbx -b=16 dyld: Library not loaded: /usr/local/opt/llvm/lib/libomp.dylib Referenced from: /Users/mac/Desktop/dem-bones-1.2.0/bin/MacOS/./dembones Reason: no suitable image found. Did find: /usr/local/opt/llvm/lib/libomp.dylib: mach-o, but wrong architecture /usr/local/opt/llvm/lib/libomp.dylib: mach-o, but wrong architecture zsh: abort ./dembones -a=a.abc -i=a.fbx -o=out.fbx -b=16

Tekh-ops avatar Apr 24 '21 10:04 Tekh-ops

Does someone has fix?

Tekh-ops avatar Apr 24 '21 11:04 Tekh-ops

I think the reason is M1 is an ARM-based computer so all dependencies will need to be recompiled.

I don't have M1 to try, but you can look into the solution like this: https://stackoverflow.com/questions/65293299/how-to-build-llvm-clang-clang-for-apple-m1

binhhuyle avatar May 01 '21 17:05 binhhuyle