Share 
Follow 
AboutDownloadsDocumentsForumsSource CodeIssuesNews
Date:
2024-04-04 20:54
Priority:
3
State:
Open
Submitted by:
Anna Korol (ak00028)
Assigned to:
Nobody (None)
Summary:
Absent dynamic libraries for OpenSim: have 'x86_64', need 'arm64e' or 'arm64'. Apple M1 Pro chip

Detailed description
Hi, I'm trying to work with an OpenSim model using MATLAB on the Apple M1 Macbook and have an issue with an incompatible architecture (I assume).

I have copied an error below and the screenshot from my command window. I have successfully added OpenSim to my path (using OpenSim 4.5 version; re-installed to make sure everything is up-to-date; updated MATLAB, as well as OS) and I can import "import org.opensim.modeling.*" with no errors. However, when I try to load or create a model, a Java exception arises. Please let me know if you have encountered the same issue before and if there is a way to fix it. I would appreciate any insight on it!

ERROR
__________
Failed to load one or more dynamic libraries for OpenSim.
java.lang.UnsatisfiedLinkError: /Applications/OpenSim 4.5/OpenSim 4.5.app/Contents/Resources/opensim/sdk/lib/libosimJavaJNI.dylib: dlopen(/Applications/OpenSim 4.5/OpenSim 4.5.app/Contents/Resources/opensim/sdk/lib/libosimJavaJNI.dylib, 0x0001): tried: '/Applications/OpenSim 4.5/OpenSim 4.5.app/Contents/Resources/opensim/sdk/lib/libosimJavaJNI.dylib' (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64e' or 'arm64')), '/System/Volumes/Preboot/Cryptexes/OS/Applications/OpenSim 4.5/OpenSim 4.5.app/Contents/Resources/opensim/sdk/lib/libosimJavaJNI.dylib' (no such file), '/Applications/OpenSim 4.5/OpenSim 4.5.app/Contents/Resources/opensim/sdk/lib/libosimJavaJNI.dylib' (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64e' or 'arm64'))
__________

Thank you for your time!

Sincerely,
Anna Korol

Add A Comment: Notepad

No Comments Have Been Posted

Attachments:
Size Name Date By Download
132 KiBScreenshot 2024-04-04 at 4.47.05 PM.png2024-04-04 20:54ak00028Screenshot 2024-04-04 at 4.47.05 PM.png
Field Old Value Date By
File Added817: Screenshot 2024-04-04 at 4.47.05 PM.png2024-04-04 20:54ak00028
Feedback