vtm icon indicating copy to clipboard operation
vtm copied to clipboard

Desktop: Apple ARM support

Open devemux86 opened this issue 2 years ago • 3 comments

Couldn't load shared library 'libvtm-jniarm64.dylib' for target: Mac OS X, ARM, 64-bit

We probably need to create new desktop VTM native libraries for Mac OS (x64 + arm64). (gdx-platform natives-desktop jar includes .dylib for both architectures)

devemux86 avatar Jan 06 '23 12:01 devemux86

LWJGL 2 does not seem to be maintained anymore and only supports Apple x86. (but works easily with Swing)


LWJGL 3 supports Apple ARM. (but does not seem to work easily with Swing)


libGDX provides native libs for Apple ARM. (but not Windows ARM)

devemux86 avatar Jan 08 '23 17:01 devemux86

Until VTM + LWJGL 2 native libs for Apple ARM are created...

There is also the Rosetta translator: https://support.apple.com/en-us/HT211861

"Rosetta 2 enables a Mac with Apple silicon to use apps built for a Mac with an Intel processor."

devemux86 avatar Jan 24 '23 11:01 devemux86

I heard that VTM needs help from a developer with ARM here: https://github.com/devemux86/cruiser/discussions/20?notification_referrer_id=NT_kwDOAylNybM1NDAyMTc1NDI5OjUzMDM4NTM3#discussioncomment-8764482.

I have an mac ARM, how could that help be provided, what needs to be done?

treee111 avatar Mar 13 '24 04:03 treee111

@treee111 thanks for the help! :+1:

It has been many years since I built all the VTM native libraries, and now I don't have that build environment available anymore:

  • https://github.com/mapsforge/vtm/issues/14

Probably can start from vtm/jni, but this needs search and know how it could be done.

devemux86 avatar Mar 13 '24 08:03 devemux86