Skip to content
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

opensim 4.4 has something wrong with matlab2023b update4 (apple silicon) #1477

Open
xukunukux opened this issue Nov 28, 2023 · 0 comments

Comments

@xukunukux
Copy link

Failed to load one or more dynamic libraries for OpenSim.
java.lang.UnsatisfiedLinkError: /Applications/OpenSim 4.4/OpenSim 4.4.app/Contents/Resources/opensim/sdk/lib/libosimJavaJNI.dylib: dlopen(/Applications/OpenSim 4.4/OpenSim 4.4.app/Contents/Resources/opensim/sdk/lib/libosimJavaJNI.dylib, 0x0001): tried: '/Applications/OpenSim 4.4/OpenSim 4.4.app/Contents/Resources/opensim/sdk/lib/libosimJavaJNI.dylib' (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64')), '/System/Volumes/Preboot/Cryptexes/OS/Applications/OpenSim 4.4/OpenSim 4.4.app/Contents/Resources/opensim/sdk/lib/libosimJavaJNI.dylib' (no such file), '/Applications/OpenSim 4.4/OpenSim 4.4.app/Contents/Resources/opensim/sdk/lib/libosimJavaJNI.dylib' (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64'))
Java exception occurred:
java.lang.UnsatisfiedLinkError:
org.opensim.modeling.opensimCommonJNI.swig_module_init()V
at org.opensim.modeling.opensimCommonJNI.swig_module_init(Native Method)
atorg.opensim.modeling.opensimCommonJNI.(opensimCommonJNI.java:3153)
at org.opensim.modeling.opensimCommon.GetVersion(opensimCommon.java:25)

This is the error reported by MATLAB 2023b Update 4(apple silicon, M1) while I was using "configureOpenSim.m" to create a connection with OpenSim. The error seems to indicate that 'libosimJavaJNI.dylib' is only compatible with x86_64, not with arm64.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant