app/src/main/jni/config.mk below:
APP_ABI = all
APP_PLATFORM = android-24
USE_OPENCL = 1
USE_VULKAN = 0
ifeq ($(USE_VULKAN), 1)
APP_PLATFORM = android-24
endif
ADD_C_INCLUDES += /usr/include/
ADD_C_INCLUDES += /usr/include/x86_64-linux-gnu
ADD_LDLIBS = /usr/lib/x86_64-linux-gnu/libOpenCL.so
When run ‘gradle clean build’, got error:
In file included from /share_sdb/software/android/ndk-bundle/sources/cxx-stl/llvm-libc++/include/unordered_map:402:
In file included from /share_sdb/software/android/ndk-bundle/sources/cxx-stl/llvm-libc++/include/__hash_table:19:
/share_sdb/software/android/ndk-bundle/sources/cxx-stl/llvm-libc++/include/cmath:315:9: error: no member named 'signbit' in the global namespace; did you mean '__signbit'?
using ::signbit;
~~^
/usr/include/bits/mathcalls.h:361:20: note: '__signbit' declared here
__MATHDECL_1 (int, __signbit,, (_Mdouble_ __value))
... ...
In file included from /share_sdb/software/android/ndk-bundle/sources/cxx-stl/llvm-libc++/include/unordered_map:402:
In file included from /share_sdb/software/android/ndk-bundle/sources/cxx-stl/llvm-libc++/include/__hash_table:19:
/share_sdb/software/android/ndk-bundle/sources/cxx-stl/llvm-libc++/include/cmath:316:9: error: no member named 'fpclassify' in the global namespace; did you mean '__fpclassify'?
using ::fpclassify;
~~^
/usr/include/bits/mathcalls.h:357:20: note: '__fpclassify' declared here
__MATHDECL_1 (int, __fpclassify,, (_Mdouble_ __value))
^