jake2 icon indicating copy to clipboard operation
jake2 copied to clipboard

Help! Error if run jake2 on macOS with apple silicon cpu

Open ToshaEssential opened this issue 1 year ago • 3 comments

When starting the game, it writes an error:

Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.UnsatisfiedLinkError: /Users/danila/IdeaProjects/jake2/fullgame/build/install/fullgame/liblwjgl.dylib: dlopen(/Users/danila/IdeaProjects/jake2/fullgame/build/install/fullgame/liblwjgl.dylib, 0x0001): tried: '/Users/danila/IdeaProjects/jake2/fullgame/build/install/fullgame/liblwjgl.dylib' (fat file, but missing compatible architecture (have 'x86_64', need 'arm64')), '/System/Volumes/Preboot/Cryptexes/OS/Users/danila/IdeaProjects/jake2/fullgame/build/install/fullgame/liblwjgl.dylib' (no such file), '/Users/danila/IdeaProjects/jake2/fullgame/build/install/fullgame/liblwjgl.dylib' (fat file, but missing compatible architecture (have 'x86_64', need 'arm64')) [in thread "main"]

ToshaEssential avatar Nov 27 '23 02:11 ToshaEssential

Thanks for reporting this!

demoth avatar Nov 27 '23 09:11 demoth

https://github.com/shadowfacts/lwjgl2-arm64

Perhaps connecting this library will help to solve this problem. What do you think?

ToshaEssential avatar Nov 27 '23 18:11 ToshaEssential

Will be fixed in #111

demoth avatar May 19 '24 21:05 demoth