Cruiser GL not working on MacOS

27 views
Skip to first unread message

freizeitkarte

unread,
Jul 10, 2022, 4:15:18 AMJul 10
to Cruiser Users
How to solve this exception on MacOS Monterey (12.4)? I wonder about the term "Mac OS X, 32-bit". MacOS is 64-bit.

% sh cruiser-gl.sh Exception in thread "AWT-EventQueue-0" com.badlogic.gdx.utils.GdxRuntimeException: Couldn't load shared library 'libvtm-jni.dylib' for target: Mac OS X, 32-bit at com.badlogic.gdx.utils.SharedLibraryLoader.load(SharedLibraryLoader.java:125) at gr.talent.b.a.H.<init>(SourceFile:1565) at gr.talent.b.a.Q.<init>(SourceFile:86) at gr.talent.b.a.O.<init>(SourceFile:41) at gr.talent.cruiser.gl.a.<init>(SourceFile:136) at gr.talent.cruiser.gl.ax.run(SourceFile:41) at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:318) at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:773) at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:720) at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:714) at java.base/java.security.AccessController.doPrivileged(AccessController.java:399) at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:86) at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:742) at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203) at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124) at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113) at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109) at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101) at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90) Caused by: com.badlogic.gdx.utils.GdxRuntimeException: java.lang.UnsatisfiedLinkError: Can't load library: /var/folders/zf/_8k9jlcd71b6rh9pl_wv_tsm0000gn/T/libgdxklaustockloth/280c985/libvtm-jni.dylib at com.badlogic.gdx.utils.SharedLibraryLoader.loadFile(SharedLibraryLoader.java:321) at com.badlogic.gdx.utils.SharedLibraryLoader.load(SharedLibraryLoader.java:121) ... 18 more Caused by: java.lang.UnsatisfiedLinkError: Can't load library: /var/folders/zf/_8k9jlcd71b6rh9pl_wv_tsm0000gn/T/libgdxklaustockloth/280c985/libvtm-jni.dylib at java.base/java.lang.ClassLoader.loadLibrary(ClassLoader.java:2398) at java.base/java.lang.Runtime.load0(Runtime.java:785) at java.base/java.lang.System.load(System.java:1979) at com.badlogic.gdx.utils.SharedLibraryLoader.loadFile(SharedLibraryLoader.java:327) at com.badlogic.gdx.utils.SharedLibraryLoader.loadFile(SharedLibraryLoader.java:296) ... 19 more

Emux

unread,
Jul 10, 2022, 7:04:26 AMJul 10
to cruise...@googlegroups.com
Even on Linux, to run VTM properly, you need to install a better Java than the default:

https://adoptium.net/temurin/releases/?version=11

--
Emux
Reply all
Reply to author
Forward
0 new messages