P.S. You may ask "Wouldn't it be easier to upgrade the NDK?" and generally answer is yes but sometimes project have a strong dependency on specific NDK revision or use custom "non-vanilla" NDK
I can help with preparing PR if a general idea is good, or with any other suggested way
Problem
Per README:
But in fact, in code used definition which available only in r19 https://github.com/JDAI-CV/DNNLibrary/blob/master/dnnlibrary/ModelBuilder.cpp#L358
Workaround
Pass
-D__ANDROID_API_Q__=29
to preprocessorLong-term solution
To me, the idea of using
__ANDROID_API_XXX__
looks great, so maybe it will be good to wrap up thisif
withP.S. You may ask "Wouldn't it be easier to upgrade the NDK?" and generally answer is yes but sometimes project have a strong dependency on specific NDK revision or use custom "non-vanilla" NDK
I can help with preparing PR if a general idea is good, or with any other suggested way