-
-
Notifications
You must be signed in to change notification settings - Fork 98
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
Bug: Library not found for Arch64 #165
Comments
Unfortunately, binding doesn't provide builds for arm/arch architectures. |
I would really like to have arm64 builds for macOS since that is a fairly common platform out there now. |
I would also prefer to use this natively. In the meantime, you can install an x86 JVM which will run with Rosetta. |
+1 |
some projects started using zig for easy cross-compilation of C code, eg. lmdbjava/lmdbjava#217 |
+1 |
#190 should solve this, but for anyone who wants a quick and dirty solution for Apple Silicon:
- def mac64 = BuildTarget.newDefaultTarget(BuildTarget.TargetOs.MacOsX, true)
+ def mac64 = BuildTarget.newDefaultTarget(BuildTarget.TargetOs.MacOsX, true, true) - BuildExecutor.executeAnt(jniDir + '/build-macosx64.xml', commonParams)
+ BuildExecutor.executeAnt(jniDir + '/build-macosxarm64.xml', commonParams)
./gradlew imgui-binding:generateLibs -Denvs=macos -Dfreeetype=true -Dlocal
|
Resolved #223 |
Version
1.86.9
What happened?
java.lang.UnsatisfiedLinkError: dlopen failed: "/data/app/~~aPFq1K5IGZtPglACKE1Dzw==/xyz.akatski.imguijni-G8FAKsF_TBczARNP_Fv6Hw==/lib/arm64/libimgui-java64.so" is for EM_X86_64 (62) instead of EM_AARCH64 (183)
Reproduction
i just loaded the sample code is provided in repo and compiled dependency in my application
Relevant log output
No response
The text was updated successfully, but these errors were encountered: