openmw-android icon indicating copy to clipboard operation
openmw-android copied to clipboard

NDK r22b is out

Open AbduSharif opened this issue 3 years ago • 2 comments

openAL fails to link with NDK r22, because of this change "LLD is now the default linker", after a quick search on the internet; since OpenMW android uses "-fuse-ld=gold", I've set this for Cmake:

	-DANDROID_LD=deprecated

And for NDK build:

	APP_LD=deprecated

Now openAL links fine.

AbduSharif avatar Jun 09 '21 16:06 AbduSharif

Using "-fuse-ld=lld" instead of gold seems fine as well.

AbduSharif avatar Jun 09 '21 20:06 AbduSharif

With latest nightly using lld as a linker rather than gold crashes the game on startup, I am however using NDK r21e , crash log is here incase it might be of use: https://gitlab.com/OpenMW/openmw/-/issues/6155

AbduSharif avatar Jul 11 '21 09:07 AbduSharif