demoth / jake2

Quake 2 java port
GNU General Public License v2.0
60 stars 9 forks source link

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

Open ToshaEssential opened 10 months ago

ToshaEssential commented 10 months ago

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"]

demoth commented 10 months ago

Thanks for reporting this!

ToshaEssential commented 10 months ago

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

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

demoth commented 4 months ago

Will be fixed in #111