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

Bug: Doesn't work under macos arm64 #226

Open
0x1227 opened this issue Mar 28, 2024 · 0 comments
Open

Bug: Doesn't work under macos arm64 #226

0x1227 opened this issue Mar 28, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@0x1227
Copy link

0x1227 commented Mar 28, 2024

Version

1.86.11

What happened?

Doesn't work under macos arm64

Reproduction

public class Example extends Application {

    @Override
    public void process() {
        ImGui.text("test");
    }

    public static void main(String[] args) {
        launch(new Example());
        System.exit(0);
    }
}

Relevant log output

Exception in thread "main" java.lang.UnsatisfiedLinkError: /private/var/folders/6d/_gcky1g57sj4dgs1h169xnvc0000gn/T/imgui-java-natives/1.86.11/libimgui-java64.dylib: dlopen(/private/var/folders/6d/_gcky1g57sj4dgs1h169xnvc0000gn/T/imgui-java-natives/1.86.11/libimgui-java64.dylib, 0x0001): tried: '/private/var/folders/6d/_gcky1g57sj4dgs1h169xnvc0000gn/T/imgui-java-natives/1.86.11/libimgui-java64.dylib' (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64')), '/System/Volumes/Preboot/Cryptexes/OS/private/var/folders/6d/_gcky1g57sj4dgs1h169xnvc0000gn/T/imgui-java-natives/1.86.11/libimgui-java64.dylib' (no such file), '/private/var/folders/6d/_gcky1g57sj4dgs1h169xnvc0000gn/T/imgui-java-natives/1.86.11/libimgui-java64.dylib' (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64'))
	at java.base/jdk.internal.loader.NativeLibraries.load(Native Method)
	at java.base/jdk.internal.loader.NativeLibraries$NativeLibraryImpl.open(NativeLibraries.java:331)
	at java.base/jdk.internal.loader.NativeLibraries.loadLibrary(NativeLibraries.java:197)
	at java.base/jdk.internal.loader.NativeLibraries.loadLibrary(NativeLibraries.java:139)
	at java.base/java.lang.ClassLoader.loadLibrary(ClassLoader.java:2418)
	at java.base/java.lang.Runtime.load0(Runtime.java:852)
	at java.base/java.lang.System.load(System.java:2021)
	at imgui.ImGui.<clinit>(ImGui.java:63)
	at imgui.app.Window.initImGui(Window.java:138)
	at imgui.app.Window.init(Window.java:49)
	at imgui.app.Application.initialize(Application.java:92)
	at imgui.app.Application.launch(Application.java:82)
@0x1227 0x1227 added the bug Something isn't working label Mar 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant