Open CFZxa opened 1 year ago
For me, I always get this error. Why is libunwind.a missing?
Android NDK: APP_PLATFORM not set. Defaulting to minimum supported version android-16.
Android NDK: ERROR:E:/AndroidSDK/ndk/23.2.8568313/build//../sources/cxx-stl/llvm-libc++abi/Android.mk:unwind: LOCAL_SRC_FILES points to a missing file
Android NDK: Check that /lib/linux/arm/libunwind.a exists or that its path is correct
E:/AndroidSDK/ndk/23.2.8568313/build//../build/core/prebuilt-library.mk:45: *** Android NDK: Aborting . Stop.
I got it working by compiling exe with ndk source using Linux mint 21 https://bbs.pediy.com/thread-271271.htm
I build ollvm in Windows using MinGw. And merged llvm with ndk r23-c.
When i build my c++ project in android studio : ld: error: unable to find library -lgcc Trying to add -nostdlib but still error' ld: error: unable to find library -latomic