For anyone who knows about the android sdks – which android NDK goes with OpenCV 4.5.2 for library compilation purposes? 21d is no longer listed on the downloads page. I tried to match it with 21e, but ran into a bunch of gnu c++ compiler issues (gnu c++ was removed after ndk 17).
I was able to successfully compile OpenCV 4.0.1 into an .so using almost the exact same process in Visual Studio (the only difference being the include, library locations, and ndk – and I know the first two of those are linking up properly).
Cmake also tells me that the toolchain for r21e isn’t valid and “probably your NDK is broken”