Thousands of errors missing basic libraries, all thrown by files in include folder, while making a shared library for Android with C++
Hello,
I'm trying to make an Android Plugin with C++ for OpenCV using Visual Studio 2019. While I'm successfully linking to all the library's lib files and include directory, I'm getting over 1000 errors telling me that those files are missing basic libraries. stddef.h, stdarg.h, size_t, and many others.
Note: I do not get these errors when I make a windows/x64 project solution for a Windows plugin, but whenever I use the c++/Android/Dynamic Shared Library template, all of these basic files seem to not link properly to the project. My Android NDK is 16rb (previously 13rb).
EDIT: changed to OpenCV 4.5.2 and Android NDK r23, but I still have 789 errors from the include folder. Which NDK should I be using with this? It seems like all the ones I've tried have different errors.