Open ly0303521 opened 6 months ago
@allnes have you met this issue before?
@likholat @allnes Could you please give a android project example that calling openvino C++ libraries ?
@ly0303521 you can try to use this sample: https://github.com/openvinotoolkit/openvino_contrib/tree/releases/2022/3/modules/arm_plugin/demos/coco_detection_android_demo This sample is quite old and not used often, so please expect some steps need to be polished a bit.
@ly0303521 Could you check latest version of OpenVINO yet? if it possible
@allnes @alvoron
@ly0303521 you can try to use this sample: https://github.com/openvinotoolkit/openvino_contrib/tree/releases/2022/3/modules/arm_plugin/demos/coco_detection_android_demo This sample is quite old and not used often, so please expect some steps need to be polished a bit.
@ly0303521 Could you check latest version of OpenVINO yet? if it possible
Thanks for your reply. I used latest version of openvino and the coco_detection_android_demo, different errors comes
2024-05-22 19:02:07.810 900-1034 InputDispatcher system_server E channel 'c58748 org.intel.openvino/org.intel.openvino.MainActivity (server)' ~ Channel is unrecoverably broken and will be disposed! 2024-05-22 19:02:07.817 900-916 hly233 system_server E getCurrentClassName=org.intel.openvino.MainActivity
the error is caused by inferRequest.set_input_tensor(input_tensor);
I found this android project lack of files, and dismatch the latest Openvino, for example this project need "plugins.xml" which is generated by openvino, but the latest openvino not generate. Even though I finally successfully compiled and installed the app, error occurred when the app is running. This android project seems to be discarded for a long time.
I`m confused is it recommended to use openvino in this way ? My situation is, I have a project in C++, which depend on openvino, now I need to package my work as library to android engineer, any sugesstion for this ?
@alvoron @allnes Hello, the erros seems to that, libopenvino.so couldn't find the other shared libraries
@ly0303521 Could you please provide part of your android program with OpenVINO so I can look and reproduce the problems?
@ly0303521 Could you please provide part of your android program with OpenVINO so I can look and reproduce the problems? @allnes Thanks very much. I'm not familiar with android, so I packed it to a zip file in google cloud. https://drive.google.com/file/d/1AqJRqkgQaVABo8a6k9usdzZ0vuRca6zn/view?usp=sharing In the project, there are 4 moduls, "nativelib" is jni C++ code, "gazetrack" is android java code, "sdk" is android opencv, "app" is not used here.
@ly0303521 Could you please provide part of your android program with OpenVINO so I can look and reproduce the problems? @allnes Thanks very much. I'm not familiar with android, so I packed it to a zip file in google cloud. https://drive.google.com/file/d/1AqJRqkgQaVABo8a6k9usdzZ0vuRca6zn/view?usp=sharing In the project, there are 4 moduls, "nativelib" is jni C++ code, "gazetrack" is android java code, "sdk" is android opencv, "app" is not used here.
I will try to run your example, if there are any questions I will write you here.
@ly0303521 Could you please provide part of your android program with OpenVINO so I can look and reproduce the problems? @allnes Thanks very much. I'm not familiar with android, so I packed it to a zip file in google cloud. https://drive.google.com/file/d/1AqJRqkgQaVABo8a6k9usdzZ0vuRca6zn/view?usp=sharing In the project, there are 4 moduls, "nativelib" is jni C++ code, "gazetrack" is android java code, "sdk" is android opencv, "app" is not used here.
I will try to run your example, if there are any questions I will write you here.
@allnes Hello, have you run successfully?
@ly0303521 Could you please provide part of your android program with OpenVINO so I can look and reproduce the problems? @allnes Thanks very much. I'm not familiar with android, so I packed it to a zip file in google cloud. https://drive.google.com/file/d/1AqJRqkgQaVABo8a6k9usdzZ0vuRca6zn/view?usp=sharing In the project, there are 4 moduls, "nativelib" is jni C++ code, "gazetrack" is android java code, "sdk" is android opencv, "app" is not used here.
I will try to run your example, if there are any questions I will write you here.
@allnes Hello, have you run successfully?
@ly0303521 hi, alas no, we are in the process of updating instructions related to android build and the coco sample, when all updates are done I will write here
@ly0303521 Could you please provide part of your android program with OpenVINO so I can look and reproduce the problems? @allnes Thanks very much. I'm not familiar with android, so I packed it to a zip file in google cloud. https://drive.google.com/file/d/1AqJRqkgQaVABo8a6k9usdzZ0vuRca6zn/view?usp=sharing In the project, there are 4 moduls, "nativelib" is jni C++ code, "gazetrack" is android java code, "sdk" is android opencv, "app" is not used here.
I will try to run your example, if there are any questions I will write you here.
@allnes Hello, have you run successfully?
@ly0303521 hi, alas no, we are in the process of updating instructions related to android build and the coco sample, when all updates are done I will write here
@allnes Hello, sorry to bother you again, because my work has been stuck for a long time. when will the instructions be done, do you have a deadline roughly?
@ly0303521 hi, sample and new instrcutions is ready - please use this PR before merge
@ly0303521 hi, sample and new instrcutions is ready - please use this PR before merge
@allnes Thank you very much, but unfortunately, it faild in the last step.
$ANDROID_TOOLS_PATH/adb shell "LD_LIBRARY_PATH=/data/local/tmp ./data/local/tmp/benchmark_app -m /data/local/tmp/mobelinet-v3-tf/v3-small_224_1.0_float.xml -hint latency"
my android version is 10, so I set export CURRENT_ANDROID_PLATFORM=29
below is my error log
CURRENT_ANDROID_PLATFORM=29
Hi, could you provide next items:
Probably, you build lib with ndk version which can't work with you device
@allnes
export OPV_HOME_DIR=${PWD}/openvino-android
export ANDROID_NDK_PATH=$OPV_HOME_DIR/android-ndk
export ANDROID_TOOLS_PATH=$OPV_HOME_DIR/platform-tools
export CURRENT_ANDROID_ABI=arm64-v8a
export CURRENT_ANDROID_PLATFORM=29
export CURRENT_ANDROID_STL=c++_shared
export CURRENT_CMAKE_TOOLCHAIN_FILE=$ANDROID_NDK_PATH/build/cmake/android.toolchain.cmake
Two android pads failed to run, the error logs are the same like before, android version are 13 and 10.
Hardware : MT8788. It's mediaTek product.
cmake -S $OPV_HOME_DIR/openvino \
-B $OPV_HOME_DIR/openvino-build \
-DCMAKE_INSTALL_PREFIX=$OPV_HOME_DIR/openvino-install \
-DCMAKE_TOOLCHAIN_FILE=$CURRENT_CMAKE_TOOLCHAIN_FILE \
-DANDROID_ABI=$CURRENT_ANDROID_ABI \
-DANDROID_PLATFORM=$CURRENT_ANDROID_PLATFORM \
-DANDROID_STL=$CURRENT_ANDROID_STL \
-DTBB_DIR=$OPV_HOME_DIR/one-tbb-install/lib/cmake/TBB
CMake Warning at /home/ly/SPACE_SDD/openvino-workspace/openvino-android/android-ndk/build/cmake/android-legacy.toolchain.cmake:413 (message):
An old version of CMake is being used that cannot automatically detect
compiler attributes. Compiler identification is being bypassed. Some
values may be wrong or missing. Update to CMake 3.19 or newer to use
CMake's built-in compiler identification.
Call Stack (most recent call first):
/home/ly/SPACE_SDD/openvino-workspace/openvino-android/android-ndk/build/cmake/android.toolchain.cmake:54 (include)
/usr/share/cmake-3.16/Modules/CMakeDetermineSystem.cmake:93 (include)
CMakeLists.txt:44 (project)
-- Check for working C compiler: /home/ly/SPACE_SDD/openvino-workspace/openvino-android/android-ndk/toolchains/llvm/prebuilt/linux-x86_64/bin/clang CMake Warning at /home/ly/SPACE_SDD/openvino-workspace/openvino-android/android-ndk/build/cmake/android-legacy.toolchain.cmake:413 (message): An old version of CMake is being used that cannot automatically detect compiler attributes. Compiler identification is being bypassed. Some values may be wrong or missing. Update to CMake 3.19 or newer to use CMake's built-in compiler identification. Call Stack (most recent call first): /home/ly/SPACE_SDD/openvino-workspace/openvino-android/android-ndk/build/cmake/android.toolchain.cmake:54 (include) /home/ly/SPACE_SDD/openvino-workspace/openvino-android/openvino-build/CMakeFiles/3.16.3/CMakeSystem.cmake:6 (include) /home/ly/SPACE_SDD/openvino-workspace/openvino-android/openvino-build/CMakeFiles/CMakeTmp/CMakeLists.txt:2 (project)
-- Check for working C compiler: /home/ly/SPACE_SDD/openvino-workspace/openvino-android/android-ndk/toolchains/llvm/prebuilt/linux-x86_64/bin/clang -- works -- Detecting C compiler ABI info CMake Warning at /home/ly/SPACE_SDD/openvino-workspace/openvino-android/android-ndk/build/cmake/android-legacy.toolchain.cmake:413 (message): An old version of CMake is being used that cannot automatically detect compiler attributes. Compiler identification is being bypassed. Some values may be wrong or missing. Update to CMake 3.19 or newer to use CMake's built-in compiler identification. Call Stack (most recent call first): /home/ly/SPACE_SDD/openvino-workspace/openvino-android/android-ndk/build/cmake/android.toolchain.cmake:54 (include) /home/ly/SPACE_SDD/openvino-workspace/openvino-android/openvino-build/CMakeFiles/3.16.3/CMakeSystem.cmake:6 (include) /home/ly/SPACE_SDD/openvino-workspace/openvino-android/openvino-build/CMakeFiles/CMakeTmp/CMakeLists.txt:2 (project)
-- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Check for working CXX compiler: /home/ly/SPACE_SDD/openvino-workspace/openvino-android/android-ndk/toolchains/llvm/prebuilt/linux-x86_64/bin/clang++ CMake Warning at /home/ly/SPACE_SDD/openvino-workspace/openvino-android/android-ndk/build/cmake/android-legacy.toolchain.cmake:413 (message): An old version of CMake is being used that cannot automatically detect compiler attributes. Compiler identification is being bypassed. Some values may be wrong or missing. Update to CMake 3.19 or newer to use CMake's built-in compiler identification. Call Stack (most recent call first): /home/ly/SPACE_SDD/openvino-workspace/openvino-android/android-ndk/build/cmake/android.toolchain.cmake:54 (include) /home/ly/SPACE_SDD/openvino-workspace/openvino-android/openvino-build/CMakeFiles/3.16.3/CMakeSystem.cmake:6 (include) /home/ly/SPACE_SDD/openvino-workspace/openvino-android/openvino-build/CMakeFiles/CMakeTmp/CMakeLists.txt:2 (project)
-- Check for working CXX compiler: /home/ly/SPACE_SDD/openvino-workspace/openvino-android/android-ndk/toolchains/llvm/prebuilt/linux-x86_64/bin/clang++ -- works -- Detecting CXX compiler ABI info CMake Warning at /home/ly/SPACE_SDD/openvino-workspace/openvino-android/android-ndk/build/cmake/android-legacy.toolchain.cmake:413 (message): An old version of CMake is being used that cannot automatically detect compiler attributes. Compiler identification is being bypassed. Some values may be wrong or missing. Update to CMake 3.19 or newer to use CMake's built-in compiler identification. Call Stack (most recent call first): /home/ly/SPACE_SDD/openvino-workspace/openvino-android/android-ndk/build/cmake/android.toolchain.cmake:54 (include) /home/ly/SPACE_SDD/openvino-workspace/openvino-android/openvino-build/CMakeFiles/3.16.3/CMakeSystem.cmake:6 (include) /home/ly/SPACE_SDD/openvino-workspace/openvino-android/openvino-build/CMakeFiles/CMakeTmp/CMakeLists.txt:2 (project)
-- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- OpenVINO version is 2024.3.0 (Build 15704) -- Looking for pthread.h CMake Warning at /home/ly/SPACE_SDD/openvino-workspace/openvino-android/android-ndk/build/cmake/android-legacy.toolchain.cmake:413 (message): An old version of CMake is being used that cannot automatically detect compiler attributes. Compiler identification is being bypassed. Some values may be wrong or missing. Update to CMake 3.19 or newer to use CMake's built-in compiler identification. Call Stack (most recent call first): /home/ly/SPACE_SDD/openvino-workspace/openvino-android/android-ndk/build/cmake/android.toolchain.cmake:54 (include) /home/ly/SPACE_SDD/openvino-workspace/openvino-android/openvino-build/CMakeFiles/3.16.3/CMakeSystem.cmake:6 (include) /home/ly/SPACE_SDD/openvino-workspace/openvino-android/openvino-build/CMakeFiles/CMakeTmp/CMakeLists.txt:3 (project)
-- Looking for pthread.h - found -- Performing Test CMAKE_HAVE_LIBC_PTHREAD CMake Warning at /home/ly/SPACE_SDD/openvino-workspace/openvino-android/android-ndk/build/cmake/android-legacy.toolchain.cmake:413 (message): An old version of CMake is being used that cannot automatically detect compiler attributes. Compiler identification is being bypassed. Some values may be wrong or missing. Update to CMake 3.19 or newer to use CMake's built-in compiler identification. Call Stack (most recent call first): /home/ly/SPACE_SDD/openvino-workspace/openvino-android/android-ndk/build/cmake/android.toolchain.cmake:54 (include) /home/ly/SPACE_SDD/openvino-workspace/openvino-android/openvino-build/CMakeFiles/3.16.3/CMakeSystem.cmake:6 (include) /home/ly/SPACE_SDD/openvino-workspace/openvino-android/openvino-build/CMakeFiles/CMakeTmp/CMakeLists.txt:3 (project)
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE
-- Performing Test SUGGEST_OVERRIDE_SUPPORTED
CMake Warning at /home/ly/SPACE_SDD/openvino-workspace/openvino-android/android-ndk/build/cmake/android-legacy.toolchain.cmake:413 (message):
An old version of CMake is being used that cannot automatically detect
compiler attributes. Compiler identification is being bypassed. Some
values may be wrong or missing. Update to CMake 3.19 or newer to use
CMake's built-in compiler identification.
Call Stack (most recent call first):
/home/ly/SPACE_SDD/openvino-workspace/openvino-android/android-ndk/build/cmake/android.toolchain.cmake:54 (include)
/home/ly/SPACE_SDD/openvino-workspace/openvino-android/openvino-build/CMakeFiles/3.16.3/CMakeSystem.cmake:6 (include)
/home/ly/SPACE_SDD/openvino-workspace/openvino-android/openvino-build/CMakeFiles/CMakeTmp/CMakeLists.txt:3 (project)
-- Performing Test SUGGEST_OVERRIDE_SUPPORTED - Success -- Performing Test UNUSED_BUT_SET_VARIABLE_SUPPORTED CMake Warning at /home/ly/SPACE_SDD/openvino-workspace/openvino-android/android-ndk/build/cmake/android-legacy.toolchain.cmake:413 (message): An old version of CMake is being used that cannot automatically detect compiler attributes. Compiler identification is being bypassed. Some values may be wrong or missing. Update to CMake 3.19 or newer to use CMake's built-in compiler identification. Call Stack (most recent call first): /home/ly/SPACE_SDD/openvino-workspace/openvino-android/android-ndk/build/cmake/android.toolchain.cmake:54 (include) /home/ly/SPACE_SDD/openvino-workspace/openvino-android/openvino-build/CMakeFiles/3.16.3/CMakeSystem.cmake:6 (include) /home/ly/SPACE_SDD/openvino-workspace/openvino-android/openvino-build/CMakeFiles/CMakeTmp/CMakeLists.txt:3 (project)
-- Performing Test UNUSED_BUT_SET_VARIABLE_SUPPORTED - Success -- OpenVINO Runtime enabled features: -- -- CI_BUILD_NUMBER: 2024.3.0-15704-be6ee87515e -- ENABLE_LTO = OFF -- OS_FOLDER = OFF -- USE_BUILD_TYPE_SUBFOLDER = ON -- CMAKE_COMPILE_WARNING_AS_ERROR = OFF -- ENABLE_QSPECTRE = OFF -- ENABLE_INTEGRITYCHECK = OFF -- ENABLE_SANITIZER = OFF -- ENABLE_UB_SANITIZER = OFF -- ENABLE_THREAD_SANITIZER = OFF -- ENABLE_COVERAGE = OFF -- ENABLE_SSE42 = OFF -- ENABLE_AVX2 = OFF -- ENABLE_AVX512F = OFF -- BUILD_SHARED_LIBS = ON -- ENABLE_LIBRARY_VERSIONING = OFF -- ENABLE_FASTER_BUILD = OFF -- ENABLE_CPPLINT = OFF -- ENABLE_CPPLINT_REPORT = OFF -- ENABLE_CLANG_FORMAT = OFF -- ENABLE_NCC_STYLE = OFF -- ENABLE_UNSAFE_LOCATIONS = OFF -- ENABLE_FUZZING = OFF -- ENABLE_PROXY = ON -- ENABLE_INTEL_CPU = ON -- ENABLE_ARM_COMPUTE_CMAKE = OFF -- ENABLE_TESTS = OFF -- ENABLE_INTEL_GPU = OFF -- ENABLE_ONEDNN_FOR_GPU = OFF -- ENABLE_INTEL_NPU = OFF -- ENABLE_DEBUG_CAPS = OFF -- ENABLE_NPU_DEBUG_CAPS = OFF -- ENABLE_GPU_DEBUG_CAPS = OFF -- ENABLE_CPU_DEBUG_CAPS = OFF -- ENABLE_SNIPPETS_DEBUG_CAPS = OFF -- ENABLE_SNIPPETS_LIBXSMM_TPP = OFF -- ENABLE_PROFILING_ITT = OFF -- ENABLE_PROFILING_FILTER = ALL -- ENABLE_PROFILING_FIRST_INFERENCE = ON -- SELECTIVE_BUILD = OFF -- ENABLE_DOCS = OFF -- ENABLE_PKGCONFIG_GEN = OFF -- THREADING = TBB -- ENABLE_TBBBIND_2_5 = ON -- ENABLE_TBB_RELEASE_ONLY = OFF -- ENABLE_MULTI = ON -- ENABLE_AUTO = ON -- ENABLE_AUTO_BATCH = ON -- ENABLE_HETERO = ON -- ENABLE_TEMPLATE = ON -- ENABLE_PLUGINS_XML = OFF -- ENABLE_FUNCTIONAL_TESTS = OFF -- ENABLE_SAMPLES = ON -- ENABLE_OV_ONNX_FRONTEND = ON -- ENABLE_OV_PADDLE_FRONTEND = ON -- ENABLE_OV_IR_FRONTEND = ON -- ENABLE_OV_PYTORCH_FRONTEND = ON -- ENABLE_OV_IR_FRONTEND = ON -- ENABLE_OV_TF_FRONTEND = ON -- ENABLE_OV_TF_LITE_FRONTEND = ON -- ENABLE_SNAPPY_COMPRESSION = ON -- ENABLE_STRICT_DEPENDENCIES = OFF -- ENABLE_SYSTEM_TBB = OFF -- ENABLE_SYSTEM_PUGIXML = OFF -- ENABLE_SYSTEM_FLATBUFFERS = OFF -- ENABLE_SYSTEM_OPENCL = OFF -- ENABLE_SYSTEM_PROTOBUF = OFF -- ENABLE_SYSTEM_SNAPPY = OFF -- ENABLE_PYTHON_PACKAGING = OFF -- ENABLE_JS = OFF -- ENABLE_OPENVINO_DEBUG = OFF -- -- CMAKE_VERSION ......................... 3.16.3 -- CMAKE_CROSSCOMPILING .................. TRUE -- OpenVINO_SOURCE_DIR ................... /home/ly/SPACE_SDD/openvino-workspace/openvino-android/openvino -- OpenVINO_BINARY_DIR ................... /home/ly/SPACE_SDD/openvino-workspace/openvino-android/openvino-build -- CMAKE_GENERATOR ....................... Unix Makefiles -- CPACK_GENERATOR ....................... TGZ -- CMAKE_C_COMPILER_ID ................... Clang -- CMAKE_CXX_COMPILER_ID ................. Clang -- CMAKE_CXX_STANDARD .................... 11 -- CMAKE_BUILD_TYPE ...................... Release -- CMAKE_TOOLCHAIN_FILE .................. /home/ly/SPACE_SDD/openvino-workspace/openvino-android/android-ndk/build/cmake/android.toolchain.cmake -- Performing Test DEPRECATED_NO_PROTOTYPE CMake Warning at /home/ly/SPACE_SDD/openvino-workspace/openvino-android/android-ndk/build/cmake/android-legacy.toolchain.cmake:413 (message): An old version of CMake is being used that cannot automatically detect compiler attributes. Compiler identification is being bypassed. Some values may be wrong or missing. Update to CMake 3.19 or newer to use CMake's built-in compiler identification. Call Stack (most recent call first): /home/ly/SPACE_SDD/openvino-workspace/openvino-android/android-ndk/build/cmake/android.toolchain.cmake:54 (include) /home/ly/SPACE_SDD/openvino-workspace/openvino-android/openvino-build/CMakeFiles/3.16.3/CMakeSystem.cmake:6 (include) /home/ly/SPACE_SDD/openvino-workspace/openvino-android/openvino-build/CMakeFiles/CMakeTmp/CMakeLists.txt:2 (project)
-- Performing Test DEPRECATED_NO_PROTOTYPE - Success -- Looking for C++ include unistd.h CMake Warning at /home/ly/SPACE_SDD/openvino-workspace/openvino-android/android-ndk/build/cmake/android-legacy.toolchain.cmake:413 (message): An old version of CMake is being used that cannot automatically detect compiler attributes. Compiler identification is being bypassed. Some values may be wrong or missing. Update to CMake 3.19 or newer to use CMake's built-in compiler identification. Call Stack (most recent call first): /home/ly/SPACE_SDD/openvino-workspace/openvino-android/android-ndk/build/cmake/android.toolchain.cmake:54 (include) /home/ly/SPACE_SDD/openvino-workspace/openvino-android/openvino-build/CMakeFiles/3.16.3/CMakeSystem.cmake:6 (include) /home/ly/SPACE_SDD/openvino-workspace/openvino-android/openvino-build/CMakeFiles/CMakeTmp/CMakeLists.txt:2 (project)
-- Looking for C++ include unistd.h - found -- Looking for C++ include stdint.h CMake Warning at /home/ly/SPACE_SDD/openvino-workspace/openvino-android/android-ndk/build/cmake/android-legacy.toolchain.cmake:413 (message): An old version of CMake is being used that cannot automatically detect compiler attributes. Compiler identification is being bypassed. Some values may be wrong or missing. Update to CMake 3.19 or newer to use CMake's built-in compiler identification. Call Stack (most recent call first): /home/ly/SPACE_SDD/openvino-workspace/openvino-android/android-ndk/build/cmake/android.toolchain.cmake:54 (include) /home/ly/SPACE_SDD/openvino-workspace/openvino-android/openvino-build/CMakeFiles/3.16.3/CMakeSystem.cmake:6 (include) /home/ly/SPACE_SDD/openvino-workspace/openvino-android/openvino-build/CMakeFiles/CMakeTmp/CMakeLists.txt:2 (project)
-- Looking for C++ include stdint.h - found -- Looking for C++ include sys/types.h CMake Warning at /home/ly/SPACE_SDD/openvino-workspace/openvino-android/android-ndk/build/cmake/android-legacy.toolchain.cmake:413 (message): An old version of CMake is being used that cannot automatically detect compiler attributes. Compiler identification is being bypassed. Some values may be wrong or missing. Update to CMake 3.19 or newer to use CMake's built-in compiler identification. Call Stack (most recent call first): /home/ly/SPACE_SDD/openvino-workspace/openvino-android/android-ndk/build/cmake/android.toolchain.cmake:54 (include) /home/ly/SPACE_SDD/openvino-workspace/openvino-android/openvino-build/CMakeFiles/3.16.3/CMakeSystem.cmake:6 (include) /home/ly/SPACE_SDD/openvino-workspace/openvino-android/openvino-build/CMakeFiles/CMakeTmp/CMakeLists.txt:2 (project)
-- Looking for C++ include sys/types.h - found -- Looking for C++ include fnmatch.h CMake Warning at /home/ly/SPACE_SDD/openvino-workspace/openvino-android/android-ndk/build/cmake/android-legacy.toolchain.cmake:413 (message): An old version of CMake is being used that cannot automatically detect compiler attributes. Compiler identification is being bypassed. Some values may be wrong or missing. Update to CMake 3.19 or newer to use CMake's built-in compiler identification. Call Stack (most recent call first): /home/ly/SPACE_SDD/openvino-workspace/openvino-android/android-ndk/build/cmake/android.toolchain.cmake:54 (include) /home/ly/SPACE_SDD/openvino-workspace/openvino-android/openvino-build/CMakeFiles/3.16.3/CMakeSystem.cmake:6 (include) /home/ly/SPACE_SDD/openvino-workspace/openvino-android/openvino-build/CMakeFiles/CMakeTmp/CMakeLists.txt:2 (project)
-- Looking for C++ include fnmatch.h - found -- Looking for strtoll CMake Warning at /home/ly/SPACE_SDD/openvino-workspace/openvino-android/android-ndk/build/cmake/android-legacy.toolchain.cmake:413 (message): An old version of CMake is being used that cannot automatically detect compiler attributes. Compiler identification is being bypassed. Some values may be wrong or missing. Update to CMake 3.19 or newer to use CMake's built-in compiler identification. Call Stack (most recent call first): /home/ly/SPACE_SDD/openvino-workspace/openvino-android/android-ndk/build/cmake/android.toolchain.cmake:54 (include) /home/ly/SPACE_SDD/openvino-workspace/openvino-android/openvino-build/CMakeFiles/3.16.3/CMakeSystem.cmake:6 (include) /home/ly/SPACE_SDD/openvino-workspace/openvino-android/openvino-build/CMakeFiles/CMakeTmp/CMakeLists.txt:2 (project)
-- Looking for strtoll - found -- Protocol Buffers Configuring... -- -- 3.20.3.0 -- Configuration script parsing status [ -- Description : Protocol Buffers -- Version : 3.20.3.0 (3.20.3) -- Contact : protobuf@googlegroups.com -- ] -- Performing Test protobuf_HAVE_LD_VERSION_SCRIPT CMake Warning at /home/ly/SPACE_SDD/openvino-workspace/openvino-android/android-ndk/build/cmake/android-legacy.toolchain.cmake:413 (message): An old version of CMake is being used that cannot automatically detect compiler attributes. Compiler identification is being bypassed. Some values may be wrong or missing. Update to CMake 3.19 or newer to use CMake's built-in compiler identification. Call Stack (most recent call first): /home/ly/SPACE_SDD/openvino-workspace/openvino-android/android-ndk/build/cmake/android.toolchain.cmake:54 (include) /home/ly/SPACE_SDD/openvino-workspace/openvino-android/openvino-build/CMakeFiles/3.16.3/CMakeSystem.cmake:6 (include) /home/ly/SPACE_SDD/openvino-workspace/openvino-android/openvino-build/CMakeFiles/CMakeTmp/CMakeLists.txt:2 (project)
-- Performing Test protobuf_HAVE_LD_VERSION_SCRIPT - Success -- Performing Test protobuf_HAVE_BUILTIN_ATOMICS CMake Warning at /home/ly/SPACE_SDD/openvino-workspace/openvino-android/android-ndk/build/cmake/android-legacy.toolchain.cmake:413 (message): An old version of CMake is being used that cannot automatically detect compiler attributes. Compiler identification is being bypassed. Some values may be wrong or missing. Update to CMake 3.19 or newer to use CMake's built-in compiler identification. Call Stack (most recent call first): /home/ly/SPACE_SDD/openvino-workspace/openvino-android/android-ndk/build/cmake/android.toolchain.cmake:54 (include) /home/ly/SPACE_SDD/openvino-workspace/openvino-android/openvino-build/CMakeFiles/3.16.3/CMakeSystem.cmake:6 (include) /home/ly/SPACE_SDD/openvino-workspace/openvino-android/openvino-build/CMakeFiles/CMakeTmp/CMakeLists.txt:2 (project)
-- Performing Test protobuf_HAVE_BUILTIN_ATOMICS - Success -- Protocol Buffers Configuring done -- Proceeding with version: 23.5.26.0 -- Looking for strtof_l CMake Warning at /home/ly/SPACE_SDD/openvino-workspace/openvino-android/android-ndk/build/cmake/android-legacy.toolchain.cmake:413 (message): An old version of CMake is being used that cannot automatically detect compiler attributes. Compiler identification is being bypassed. Some values may be wrong or missing. Update to CMake 3.19 or newer to use CMake's built-in compiler identification. Call Stack (most recent call first): /home/ly/SPACE_SDD/openvino-workspace/openvino-android/android-ndk/build/cmake/android.toolchain.cmake:54 (include) /home/ly/SPACE_SDD/openvino-workspace/openvino-android/openvino-build/CMakeFiles/3.16.3/CMakeSystem.cmake:6 (include) /home/ly/SPACE_SDD/openvino-workspace/openvino-android/openvino-build/CMakeFiles/CMakeTmp/CMakeLists.txt:2 (project)
-- Looking for strtof_l - found -- Looking for strtoull_l CMake Warning at /home/ly/SPACE_SDD/openvino-workspace/openvino-android/android-ndk/build/cmake/android-legacy.toolchain.cmake:413 (message): An old version of CMake is being used that cannot automatically detect compiler attributes. Compiler identification is being bypassed. Some values may be wrong or missing. Update to CMake 3.19 or newer to use CMake's built-in compiler identification. Call Stack (most recent call first): /home/ly/SPACE_SDD/openvino-workspace/openvino-android/android-ndk/build/cmake/android.toolchain.cmake:54 (include) /home/ly/SPACE_SDD/openvino-workspace/openvino-android/openvino-build/CMakeFiles/3.16.3/CMakeSystem.cmake:6 (include) /home/ly/SPACE_SDD/openvino-workspace/openvino-android/openvino-build/CMakeFiles/CMakeTmp/CMakeLists.txt:2 (project)
-- Looking for strtoull_l - found -- Looking for realpath CMake Warning at /home/ly/SPACE_SDD/openvino-workspace/openvino-android/android-ndk/build/cmake/android-legacy.toolchain.cmake:413 (message): An old version of CMake is being used that cannot automatically detect compiler attributes. Compiler identification is being bypassed. Some values may be wrong or missing. Update to CMake 3.19 or newer to use CMake's built-in compiler identification. Call Stack (most recent call first): /home/ly/SPACE_SDD/openvino-workspace/openvino-android/android-ndk/build/cmake/android.toolchain.cmake:54 (include) /home/ly/SPACE_SDD/openvino-workspace/openvino-android/openvino-build/CMakeFiles/3.16.3/CMakeSystem.cmake:6 (include) /home/ly/SPACE_SDD/openvino-workspace/openvino-android/openvino-build/CMakeFiles/CMakeTmp/CMakeLists.txt:2 (project)
-- Looking for realpath - found -- CMAKE_CXX_FLAGS: -Wsuggest-override -g -DANDROID -fdata-sections -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fsigned-char -ffunction-sections -fdata-sections -fdiagnostics-show-option -Wall -Wundef -Wno-suggest-override -- Check if the system is big endian -- Searching 16 bit integer -- Looking for stddef.h CMake Warning at /home/ly/SPACE_SDD/openvino-workspace/openvino-android/android-ndk/build/cmake/android-legacy.toolchain.cmake:413 (message): An old version of CMake is being used that cannot automatically detect compiler attributes. Compiler identification is being bypassed. Some values may be wrong or missing. Update to CMake 3.19 or newer to use CMake's built-in compiler identification. Call Stack (most recent call first): /home/ly/SPACE_SDD/openvino-workspace/openvino-android/android-ndk/build/cmake/android.toolchain.cmake:54 (include) /home/ly/SPACE_SDD/openvino-workspace/openvino-android/openvino-build/CMakeFiles/3.16.3/CMakeSystem.cmake:6 (include) /home/ly/SPACE_SDD/openvino-workspace/openvino-android/openvino-build/CMakeFiles/CMakeTmp/CMakeLists.txt:2 (project)
-- Looking for stddef.h - found -- Check size of unsigned short CMake Warning at /home/ly/SPACE_SDD/openvino-workspace/openvino-android/android-ndk/build/cmake/android-legacy.toolchain.cmake:413 (message): An old version of CMake is being used that cannot automatically detect compiler attributes. Compiler identification is being bypassed. Some values may be wrong or missing. Update to CMake 3.19 or newer to use CMake's built-in compiler identification. Call Stack (most recent call first): /home/ly/SPACE_SDD/openvino-workspace/openvino-android/android-ndk/build/cmake/android.toolchain.cmake:54 (include) /home/ly/SPACE_SDD/openvino-workspace/openvino-android/openvino-build/CMakeFiles/3.16.3/CMakeSystem.cmake:6 (include) /home/ly/SPACE_SDD/openvino-workspace/openvino-android/openvino-build/CMakeFiles/CMakeTmp/CMakeLists.txt:2 (project)
-- Check size of unsigned short - done -- Using unsigned short CMake Warning at /home/ly/SPACE_SDD/openvino-workspace/openvino-android/android-ndk/build/cmake/android-legacy.toolchain.cmake:413 (message): An old version of CMake is being used that cannot automatically detect compiler attributes. Compiler identification is being bypassed. Some values may be wrong or missing. Update to CMake 3.19 or newer to use CMake's built-in compiler identification. Call Stack (most recent call first): /home/ly/SPACE_SDD/openvino-workspace/openvino-android/android-ndk/build/cmake/android.toolchain.cmake:54 (include) /home/ly/SPACE_SDD/openvino-workspace/openvino-android/openvino-build/CMakeFiles/3.16.3/CMakeSystem.cmake:6 (include) /home/ly/SPACE_SDD/openvino-workspace/openvino-android/openvino-build/CMakeFiles/CMakeTmp/CMakeLists.txt:2 (project)
-- Check if the system is big endian - little endian -- Looking for sys/mman.h CMake Warning at /home/ly/SPACE_SDD/openvino-workspace/openvino-android/android-ndk/build/cmake/android-legacy.toolchain.cmake:413 (message): An old version of CMake is being used that cannot automatically detect compiler attributes. Compiler identification is being bypassed. Some values may be wrong or missing. Update to CMake 3.19 or newer to use CMake's built-in compiler identification. Call Stack (most recent call first): /home/ly/SPACE_SDD/openvino-workspace/openvino-android/android-ndk/build/cmake/android.toolchain.cmake:54 (include) /home/ly/SPACE_SDD/openvino-workspace/openvino-android/openvino-build/CMakeFiles/3.16.3/CMakeSystem.cmake:6 (include) /home/ly/SPACE_SDD/openvino-workspace/openvino-android/openvino-build/CMakeFiles/CMakeTmp/CMakeLists.txt:2 (project)
-- Looking for sys/mman.h - found -- Looking for sys/resource.h CMake Warning at /home/ly/SPACE_SDD/openvino-workspace/openvino-android/android-ndk/build/cmake/android-legacy.toolchain.cmake:413 (message): An old version of CMake is being used that cannot automatically detect compiler attributes. Compiler identification is being bypassed. Some values may be wrong or missing. Update to CMake 3.19 or newer to use CMake's built-in compiler identification. Call Stack (most recent call first): /home/ly/SPACE_SDD/openvino-workspace/openvino-android/android-ndk/build/cmake/android.toolchain.cmake:54 (include) /home/ly/SPACE_SDD/openvino-workspace/openvino-android/openvino-build/CMakeFiles/3.16.3/CMakeSystem.cmake:6 (include) /home/ly/SPACE_SDD/openvino-workspace/openvino-android/openvino-build/CMakeFiles/CMakeTmp/CMakeLists.txt:2 (project)
-- Looking for sys/resource.h - found -- Looking for sys/time.h CMake Warning at /home/ly/SPACE_SDD/openvino-workspace/openvino-android/android-ndk/build/cmake/android-legacy.toolchain.cmake:413 (message): An old version of CMake is being used that cannot automatically detect compiler attributes. Compiler identification is being bypassed. Some values may be wrong or missing. Update to CMake 3.19 or newer to use CMake's built-in compiler identification. Call Stack (most recent call first): /home/ly/SPACE_SDD/openvino-workspace/openvino-android/android-ndk/build/cmake/android.toolchain.cmake:54 (include) /home/ly/SPACE_SDD/openvino-workspace/openvino-android/openvino-build/CMakeFiles/3.16.3/CMakeSystem.cmake:6 (include) /home/ly/SPACE_SDD/openvino-workspace/openvino-android/openvino-build/CMakeFiles/CMakeTmp/CMakeLists.txt:2 (project)
-- Looking for sys/time.h - found -- Looking for sys/uio.h CMake Warning at /home/ly/SPACE_SDD/openvino-workspace/openvino-android/android-ndk/build/cmake/android-legacy.toolchain.cmake:413 (message): An old version of CMake is being used that cannot automatically detect compiler attributes. Compiler identification is being bypassed. Some values may be wrong or missing. Update to CMake 3.19 or newer to use CMake's built-in compiler identification. Call Stack (most recent call first): /home/ly/SPACE_SDD/openvino-workspace/openvino-android/android-ndk/build/cmake/android.toolchain.cmake:54 (include) /home/ly/SPACE_SDD/openvino-workspace/openvino-android/openvino-build/CMakeFiles/3.16.3/CMakeSystem.cmake:6 (include) /home/ly/SPACE_SDD/openvino-workspace/openvino-android/openvino-build/CMakeFiles/CMakeTmp/CMakeLists.txt:2 (project)
-- Looking for sys/uio.h - found -- Looking for windows.h CMake Warning at /home/ly/SPACE_SDD/openvino-workspace/openvino-android/android-ndk/build/cmake/android-legacy.toolchain.cmake:413 (message): An old version of CMake is being used that cannot automatically detect compiler attributes. Compiler identification is being bypassed. Some values may be wrong or missing. Update to CMake 3.19 or newer to use CMake's built-in compiler identification. Call Stack (most recent call first): /home/ly/SPACE_SDD/openvino-workspace/openvino-android/android-ndk/build/cmake/android.toolchain.cmake:54 (include) /home/ly/SPACE_SDD/openvino-workspace/openvino-android/openvino-build/CMakeFiles/3.16.3/CMakeSystem.cmake:6 (include) /home/ly/SPACE_SDD/openvino-workspace/openvino-android/openvino-build/CMakeFiles/CMakeTmp/CMakeLists.txt:2 (project)
-- Looking for windows.h - not found -- Looking for zlibVersion in z CMake Warning at /home/ly/SPACE_SDD/openvino-workspace/openvino-android/android-ndk/build/cmake/android-legacy.toolchain.cmake:413 (message): An old version of CMake is being used that cannot automatically detect compiler attributes. Compiler identification is being bypassed. Some values may be wrong or missing. Update to CMake 3.19 or newer to use CMake's built-in compiler identification. Call Stack (most recent call first): /home/ly/SPACE_SDD/openvino-workspace/openvino-android/android-ndk/build/cmake/android.toolchain.cmake:54 (include) /home/ly/SPACE_SDD/openvino-workspace/openvino-android/openvino-build/CMakeFiles/3.16.3/CMakeSystem.cmake:6 (include) /home/ly/SPACE_SDD/openvino-workspace/openvino-android/openvino-build/CMakeFiles/CMakeTmp/CMakeLists.txt:2 (project)
-- Looking for zlibVersion in z - found -- Looking for lzo1x_1_15_compress in lzo2 CMake Warning at /home/ly/SPACE_SDD/openvino-workspace/openvino-android/android-ndk/build/cmake/android-legacy.toolchain.cmake:413 (message): An old version of CMake is being used that cannot automatically detect compiler attributes. Compiler identification is being bypassed. Some values may be wrong or missing. Update to CMake 3.19 or newer to use CMake's built-in compiler identification. Call Stack (most recent call first): /home/ly/SPACE_SDD/openvino-workspace/openvino-android/android-ndk/build/cmake/android.toolchain.cmake:54 (include) /home/ly/SPACE_SDD/openvino-workspace/openvino-android/openvino-build/CMakeFiles/3.16.3/CMakeSystem.cmake:6 (include) /home/ly/SPACE_SDD/openvino-workspace/openvino-android/openvino-build/CMakeFiles/CMakeTmp/CMakeLists.txt:2 (project)
-- Looking for lzo1x_1_15_compress in lzo2 - not found -- Looking for LZ4_compress_default in lz4 CMake Warning at /home/ly/SPACE_SDD/openvino-workspace/openvino-android/android-ndk/build/cmake/android-legacy.toolchain.cmake:413 (message): An old version of CMake is being used that cannot automatically detect compiler attributes. Compiler identification is being bypassed. Some values may be wrong or missing. Update to CMake 3.19 or newer to use CMake's built-in compiler identification. Call Stack (most recent call first): /home/ly/SPACE_SDD/openvino-workspace/openvino-android/android-ndk/build/cmake/android.toolchain.cmake:54 (include) /home/ly/SPACE_SDD/openvino-workspace/openvino-android/openvino-build/CMakeFiles/3.16.3/CMakeSystem.cmake:6 (include) /home/ly/SPACE_SDD/openvino-workspace/openvino-android/openvino-build/CMakeFiles/CMakeTmp/CMakeLists.txt:2 (project)
-- Looking for LZ4_compress_default in lz4 - not found -- Performing Test HAVE_VISUAL_STUDIO_ARCH_AVX CMake Warning at /home/ly/SPACE_SDD/openvino-workspace/openvino-android/android-ndk/build/cmake/android-legacy.toolchain.cmake:413 (message): An old version of CMake is being used that cannot automatically detect compiler attributes. Compiler identification is being bypassed. Some values may be wrong or missing. Update to CMake 3.19 or newer to use CMake's built-in compiler identification. Call Stack (most recent call first): /home/ly/SPACE_SDD/openvino-workspace/openvino-android/android-ndk/build/cmake/android.toolchain.cmake:54 (include) /home/ly/SPACE_SDD/openvino-workspace/openvino-android/openvino-build/CMakeFiles/3.16.3/CMakeSystem.cmake:6 (include) /home/ly/SPACE_SDD/openvino-workspace/openvino-android/openvino-build/CMakeFiles/CMakeTmp/CMakeLists.txt:2 (project)
-- Performing Test HAVE_VISUAL_STUDIO_ARCH_AVX - Failed -- Performing Test HAVE_VISUAL_STUDIO_ARCH_AVX2 CMake Warning at /home/ly/SPACE_SDD/openvino-workspace/openvino-android/android-ndk/build/cmake/android-legacy.toolchain.cmake:413 (message): An old version of CMake is being used that cannot automatically detect compiler attributes. Compiler identification is being bypassed. Some values may be wrong or missing. Update to CMake 3.19 or newer to use CMake's built-in compiler identification. Call Stack (most recent call first): /home/ly/SPACE_SDD/openvino-workspace/openvino-android/android-ndk/build/cmake/android.toolchain.cmake:54 (include) /home/ly/SPACE_SDD/openvino-workspace/openvino-android/openvino-build/CMakeFiles/3.16.3/CMakeSystem.cmake:6 (include) /home/ly/SPACE_SDD/openvino-workspace/openvino-android/openvino-build/CMakeFiles/CMakeTmp/CMakeLists.txt:2 (project)
-- Performing Test HAVE_VISUAL_STUDIO_ARCH_AVX2 - Failed -- Performing Test HAVE_CLANG_MAVX CMake Warning at /home/ly/SPACE_SDD/openvino-workspace/openvino-android/android-ndk/build/cmake/android-legacy.toolchain.cmake:413 (message): An old version of CMake is being used that cannot automatically detect compiler attributes. Compiler identification is being bypassed. Some values may be wrong or missing. Update to CMake 3.19 or newer to use CMake's built-in compiler identification. Call Stack (most recent call first): /home/ly/SPACE_SDD/openvino-workspace/openvino-android/android-ndk/build/cmake/android.toolchain.cmake:54 (include) /home/ly/SPACE_SDD/openvino-workspace/openvino-android/openvino-build/CMakeFiles/3.16.3/CMakeSystem.cmake:6 (include) /home/ly/SPACE_SDD/openvino-workspace/openvino-android/openvino-build/CMakeFiles/CMakeTmp/CMakeLists.txt:2 (project)
-- Performing Test HAVE_CLANG_MAVX - Success -- Performing Test HAVE_CLANG_MBMI2 CMake Warning at /home/ly/SPACE_SDD/openvino-workspace/openvino-android/android-ndk/build/cmake/android-legacy.toolchain.cmake:413 (message): An old version of CMake is being used that cannot automatically detect compiler attributes. Compiler identification is being bypassed. Some values may be wrong or missing. Update to CMake 3.19 or newer to use CMake's built-in compiler identification. Call Stack (most recent call first): /home/ly/SPACE_SDD/openvino-workspace/openvino-android/android-ndk/build/cmake/android.toolchain.cmake:54 (include) /home/ly/SPACE_SDD/openvino-workspace/openvino-android/openvino-build/CMakeFiles/3.16.3/CMakeSystem.cmake:6 (include) /home/ly/SPACE_SDD/openvino-workspace/openvino-android/openvino-build/CMakeFiles/CMakeTmp/CMakeLists.txt:2 (project)
-- Performing Test HAVE_CLANG_MBMI2 - Success -- Performing Test SNAPPY_HAVE_NO_MISSING_FIELD_INITIALIZERS CMake Warning at /home/ly/SPACE_SDD/openvino-workspace/openvino-android/android-ndk/build/cmake/android-legacy.toolchain.cmake:413 (message): An old version of CMake is being used that cannot automatically detect compiler attributes. Compiler identification is being bypassed. Some values may be wrong or missing. Update to CMake 3.19 or newer to use CMake's built-in compiler identification. Call Stack (most recent call first): /home/ly/SPACE_SDD/openvino-workspace/openvino-android/android-ndk/build/cmake/android.toolchain.cmake:54 (include) /home/ly/SPACE_SDD/openvino-workspace/openvino-android/openvino-build/CMakeFiles/3.16.3/CMakeSystem.cmake:6 (include) /home/ly/SPACE_SDD/openvino-workspace/openvino-android/openvino-build/CMakeFiles/CMakeTmp/CMakeLists.txt:2 (project)
-- Performing Test SNAPPY_HAVE_NO_MISSING_FIELD_INITIALIZERS - Success -- Performing Test HAVE_BUILTIN_EXPECT CMake Warning at /home/ly/SPACE_SDD/openvino-workspace/openvino-android/android-ndk/build/cmake/android-legacy.toolchain.cmake:413 (message): An old version of CMake is being used that cannot automatically detect compiler attributes. Compiler identification is being bypassed. Some values may be wrong or missing. Update to CMake 3.19 or newer to use CMake's built-in compiler identification. Call Stack (most recent call first): /home/ly/SPACE_SDD/openvino-workspace/openvino-android/android-ndk/build/cmake/android.toolchain.cmake:54 (include) /home/ly/SPACE_SDD/openvino-workspace/openvino-android/openvino-build/CMakeFiles/3.16.3/CMakeSystem.cmake:6 (include) /home/ly/SPACE_SDD/openvino-workspace/openvino-android/openvino-build/CMakeFiles/CMakeTmp/CMakeLists.txt:2 (project)
-- Performing Test HAVE_BUILTIN_EXPECT - Success -- Performing Test HAVE_BUILTIN_CTZ CMake Warning at /home/ly/SPACE_SDD/openvino-workspace/openvino-android/android-ndk/build/cmake/android-legacy.toolchain.cmake:413 (message): An old version of CMake is being used that cannot automatically detect compiler attributes. Compiler identification is being bypassed. Some values may be wrong or missing. Update to CMake 3.19 or newer to use CMake's built-in compiler identification. Call Stack (most recent call first): /home/ly/SPACE_SDD/openvino-workspace/openvino-android/android-ndk/build/cmake/android.toolchain.cmake:54 (include) /home/ly/SPACE_SDD/openvino-workspace/openvino-android/openvino-build/CMakeFiles/3.16.3/CMakeSystem.cmake:6 (include) /home/ly/SPACE_SDD/openvino-workspace/openvino-android/openvino-build/CMakeFiles/CMakeTmp/CMakeLists.txt:2 (project)
-- Performing Test HAVE_BUILTIN_CTZ - Success -- Performing Test HAVE_ATTRIBUTE_ALWAYS_INLINE CMake Warning at /home/ly/SPACE_SDD/openvino-workspace/openvino-android/android-ndk/build/cmake/android-legacy.toolchain.cmake:413 (message): An old version of CMake is being used that cannot automatically detect compiler attributes. Compiler identification is being bypassed. Some values may be wrong or missing. Update to CMake 3.19 or newer to use CMake's built-in compiler identification. Call Stack (most recent call first): /home/ly/SPACE_SDD/openvino-workspace/openvino-android/android-ndk/build/cmake/android.toolchain.cmake:54 (include) /home/ly/SPACE_SDD/openvino-workspace/openvino-android/openvino-build/CMakeFiles/3.16.3/CMakeSystem.cmake:6 (include) /home/ly/SPACE_SDD/openvino-workspace/openvino-android/openvino-build/CMakeFiles/CMakeTmp/CMakeLists.txt:2 (project)
-- Performing Test HAVE_ATTRIBUTE_ALWAYS_INLINE - Success -- Performing Test SNAPPY_HAVE_SSSE3 CMake Warning at /home/ly/SPACE_SDD/openvino-workspace/openvino-android/android-ndk/build/cmake/android-legacy.toolchain.cmake:413 (message): An old version of CMake is being used that cannot automatically detect compiler attributes. Compiler identification is being bypassed. Some values may be wrong or missing. Update to CMake 3.19 or newer to use CMake's built-in compiler identification. Call Stack (most recent call first): /home/ly/SPACE_SDD/openvino-workspace/openvino-android/android-ndk/build/cmake/android.toolchain.cmake:54 (include) /home/ly/SPACE_SDD/openvino-workspace/openvino-android/openvino-build/CMakeFiles/3.16.3/CMakeSystem.cmake:6 (include) /home/ly/SPACE_SDD/openvino-workspace/openvino-android/openvino-build/CMakeFiles/CMakeTmp/CMakeLists.txt:2 (project)
-- Performing Test SNAPPY_HAVE_SSSE3 - Failed -- Performing Test SNAPPY_HAVE_X86_CRC32 CMake Warning at /home/ly/SPACE_SDD/openvino-workspace/openvino-android/android-ndk/build/cmake/android-legacy.toolchain.cmake:413 (message): An old version of CMake is being used that cannot automatically detect compiler attributes. Compiler identification is being bypassed. Some values may be wrong or missing. Update to CMake 3.19 or newer to use CMake's built-in compiler identification. Call Stack (most recent call first): /home/ly/SPACE_SDD/openvino-workspace/openvino-android/android-ndk/build/cmake/android.toolchain.cmake:54 (include) /home/ly/SPACE_SDD/openvino-workspace/openvino-android/openvino-build/CMakeFiles/3.16.3/CMakeSystem.cmake:6 (include) /home/ly/SPACE_SDD/openvino-workspace/openvino-android/openvino-build/CMakeFiles/CMakeTmp/CMakeLists.txt:2 (project)
-- Performing Test SNAPPY_HAVE_X86_CRC32 - Failed -- Performing Test SNAPPY_HAVE_NEON_CRC32 CMake Warning at /home/ly/SPACE_SDD/openvino-workspace/openvino-android/android-ndk/build/cmake/android-legacy.toolchain.cmake:413 (message): An old version of CMake is being used that cannot automatically detect compiler attributes. Compiler identification is being bypassed. Some values may be wrong or missing. Update to CMake 3.19 or newer to use CMake's built-in compiler identification. Call Stack (most recent call first): /home/ly/SPACE_SDD/openvino-workspace/openvino-android/android-ndk/build/cmake/android.toolchain.cmake:54 (include) /home/ly/SPACE_SDD/openvino-workspace/openvino-android/openvino-build/CMakeFiles/3.16.3/CMakeSystem.cmake:6 (include) /home/ly/SPACE_SDD/openvino-workspace/openvino-android/openvino-build/CMakeFiles/CMakeTmp/CMakeLists.txt:2 (project)
-- Performing Test SNAPPY_HAVE_NEON_CRC32 - Failed -- Performing Test SNAPPY_HAVE_BMI2 CMake Warning at /home/ly/SPACE_SDD/openvino-workspace/openvino-android/android-ndk/build/cmake/android-legacy.toolchain.cmake:413 (message): An old version of CMake is being used that cannot automatically detect compiler attributes. Compiler identification is being bypassed. Some values may be wrong or missing. Update to CMake 3.19 or newer to use CMake's built-in compiler identification. Call Stack (most recent call first): /home/ly/SPACE_SDD/openvino-workspace/openvino-android/android-ndk/build/cmake/android.toolchain.cmake:54 (include) /home/ly/SPACE_SDD/openvino-workspace/openvino-android/openvino-build/CMakeFiles/3.16.3/CMakeSystem.cmake:6 (include) /home/ly/SPACE_SDD/openvino-workspace/openvino-android/openvino-build/CMakeFiles/CMakeTmp/CMakeLists.txt:2 (project)
-- Performing Test SNAPPY_HAVE_BMI2 - Failed -- Performing Test SNAPPY_HAVE_NEON CMake Warning at /home/ly/SPACE_SDD/openvino-workspace/openvino-android/android-ndk/build/cmake/android-legacy.toolchain.cmake:413 (message): An old version of CMake is being used that cannot automatically detect compiler attributes. Compiler identification is being bypassed. Some values may be wrong or missing. Update to CMake 3.19 or newer to use CMake's built-in compiler identification. Call Stack (most recent call first): /home/ly/SPACE_SDD/openvino-workspace/openvino-android/android-ndk/build/cmake/android.toolchain.cmake:54 (include) /home/ly/SPACE_SDD/openvino-workspace/openvino-android/openvino-build/CMakeFiles/3.16.3/CMakeSystem.cmake:6 (include) /home/ly/SPACE_SDD/openvino-workspace/openvino-android/openvino-build/CMakeFiles/CMakeTmp/CMakeLists.txt:2 (project)
-- Performing Test SNAPPY_HAVE_NEON - Success -- Looking for mmap CMake Warning at /home/ly/SPACE_SDD/openvino-workspace/openvino-android/android-ndk/build/cmake/android-legacy.toolchain.cmake:413 (message): An old version of CMake is being used that cannot automatically detect compiler attributes. Compiler identification is being bypassed. Some values may be wrong or missing. Update to CMake 3.19 or newer to use CMake's built-in compiler identification. Call Stack (most recent call first): /home/ly/SPACE_SDD/openvino-workspace/openvino-android/android-ndk/build/cmake/android.toolchain.cmake:54 (include) /home/ly/SPACE_SDD/openvino-workspace/openvino-android/openvino-build/CMakeFiles/3.16.3/CMakeSystem.cmake:6 (include) /home/ly/SPACE_SDD/openvino-workspace/openvino-android/openvino-build/CMakeFiles/CMakeTmp/CMakeLists.txt:2 (project)
-- Looking for mmap - found -- Looking for sysconf CMake Warning at /home/ly/SPACE_SDD/openvino-workspace/openvino-android/android-ndk/build/cmake/android-legacy.toolchain.cmake:413 (message): An old version of CMake is being used that cannot automatically detect compiler attributes. Compiler identification is being bypassed. Some values may be wrong or missing. Update to CMake 3.19 or newer to use CMake's built-in compiler identification. Call Stack (most recent call first): /home/ly/SPACE_SDD/openvino-workspace/openvino-android/android-ndk/build/cmake/android.toolchain.cmake:54 (include) /home/ly/SPACE_SDD/openvino-workspace/openvino-android/openvino-build/CMakeFiles/3.16.3/CMakeSystem.cmake:6 (include) /home/ly/SPACE_SDD/openvino-workspace/openvino-android/openvino-build/CMakeFiles/CMakeTmp/CMakeLists.txt:2 (project)
-- Looking for sysconf - found -- Found PythonInterp: /home/ly/miniconda3/bin/python3.7 (found version "3.7.9") Generated: /home/ly/SPACE_SDD/openvino-workspace/openvino-android/openvino-build/thirdparty/onnx/onnx/onnx/onnx_openvino_onnx-ml.proto Generated: /home/ly/SPACE_SDD/openvino-workspace/openvino-android/openvino-build/thirdparty/onnx/onnx/onnx/onnx-operators_openvino_onnx-ml.proto Generated: /home/ly/SPACE_SDD/openvino-workspace/openvino-android/openvino-build/thirdparty/onnx/onnx/onnx/onnx-data_openvino_onnx.proto -- -- **** Summary **** -- CMake version : 3.16.3 -- CMake command : /usr/bin/cmake -- System : Android -- C++ compiler : /home/ly/SPACE_SDD/openvino-workspace/openvino-android/android-ndk/toolchains/llvm/prebuilt/linux-x86_64/bin/clang++ -- C++ compiler version : 17.0.2 -- CXX flags : -Wsuggest-override -g -DANDROID -fdata-sections -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fsigned-char -ffunction-sections -fdata-sections -fdiagnostics-show-option -Wall -Wundef -Wno-suggest-override -Wnon-virtual-dtor -- Build type : Release -- Compile definitions : OV_BUILD_POSTFIX="";OV_NATIVE_PARENT_PROJECT_ROOT_DIR="openvino";__STDC_FORMAT_MACROS -- CMAKE_PREFIX_PATH : /home/ly/SPACE_SDD/openvino-workspace/openvino-android/android-ndk/toolchains/llvm/prebuilt/linux-x86_64 -- CMAKE_INSTALL_PREFIX : /home/ly/SPACE_SDD/openvino-workspace/openvino-android/openvino-install -- CMAKE_MODULE_PATH : -- -- ONNX version : 1.15.0 -- ONNX NAMESPACE : openvino_onnx -- ONNX_USE_LITE_PROTO : ON -- USE_PROTOBUF_SHARED_LIBS : OFF -- Protobuf_USE_STATIC_LIBS : ON -- ONNX_DISABLE_EXCEPTIONS : OFF -- ONNX_DISABLE_STATIC_REGISTRATION : OFF -- ONNX_WERROR : OFF -- ONNX_BUILD_TESTS : OFF -- ONNX_BUILD_BENCHMARKS : OFF -- ONNX_BUILD_SHARED_LIBS : -- BUILD_SHARED_LIBS : OFF -- -- Protobuf compiler : -- Protobuf includes : -- Protobuf libraries : -- BUILD_ONNX_PYTHON : OFF -- Using the multi-header code from /home/ly/SPACE_SDD/openvino-workspace/openvino-android/openvino/thirdparty/json/nlohmann_json/include/ -- TBB (2021.13.0) is found at /home/ly/SPACE_SDD/openvino-workspace/openvino-android/one-tbb-install/lib/cmake/TBB -- oneTBB (ver. 2021.13.0) is used, but dynamic TBBBind 2.5+ is not found. Use custom static TBBBind 2.5 CMake Warning at cmake/dependencies.cmake:216 (message): prebuilt TBBBIND_2_5 is not available.
Build oneTBB from sources and set TBBROOT environment var before OpenVINO cmake configure Call Stack (most recent call first): src/cmake/install_tbb.cmake:49 (ov_download_tbbbind_2_5) src/CMakeLists.txt:11 (include)
-- Prebuilt static tbbbind_2_5 package is not available for current platform (Android) -- The ASM compiler identification is Clang 17.0.2 -- Found assembler: /home/ly/SPACE_SDD/openvino-workspace/openvino-android/android-ndk/toolchains/llvm/prebuilt/linux-x86_64/bin/clang -- The ASM_MASM compiler identification is unknown -- Found assembler: ml -- DNNL_TARGET_ARCH: AARCH64 -- DNNL_LIBRARY_NAME: openvino_onednn_cpu -- Configure to build /home/ly/SPACE_SDD/openvino-workspace/openvino-android/openvino/src/plugins/intel_cpu/thirdparty/ComputeLibrary -- SCONS: using ANDROID_TOOLCHAIN_PREFIX= -- Arm Compute Library: arm_compute::arm_compute;arm_compute::half -- Arm Compute Library headers: $<TARGET_PROPERTY:arm_compute::arm_compute,INTERFACE_INCLUDE_DIRECTORIES>;$<TARGET_PROPERTY:arm_compute::half,INTERFACE_INCLUDE_DIRECTORIES> -- Could NOT find Doxyrest (missing: DOXYREST_EXECUTABLE) -- Could NOT find Sphinx (missing: SPHINX_EXECUTABLE) -- Found Git: /usr/bin/git (found version "2.25.1") -- Enabled workload: INFERENCE -- Enabled primitives: CONVOLUTION;DECONVOLUTION;CONCAT;LRN;INNER_PRODUCT;MATMUL;POOLING;REDUCTION;REORDER;RNN;SOFTMAX -- Enabled primitive CPU ISA: ALL -- Enabled primitive GPU ISA: ALL -- Enabled GeMM kernels ISA: ALL -- Primitive cache is enabled CMake Warning at src/bindings/python/CMakeLists.txt:72 (message): Python 3.x Interpreter and Development.Module components are not found. OpenVINO Python API will be turned off (ENABLE_PYTHON is OFF) Call Stack (most recent call first): src/bindings/python/CMakeLists.txt:89 (ov_check_python_build_conditions)
CMake Warning at cmake/developer_package/python_requirements.cmake:118 (message): Python requirement file /home/ly/SPACE_SDD/openvino-workspace/openvino-android/openvino/src/bindings/python/wheel/requirements-dev.txt is not installed, Call Stack (most recent call first): src/bindings/python/CMakeLists.txt:133 (ov_check_pip_packages)
CMake Warning at samples/cpp/common/format_reader/CMakeLists.txt:22 (message): OpenCV ver. 3.0+ is not found, format_reader will be built without OpenCV support
CMake Warning at samples/cpp/benchmark_app/CMakeLists.txt:112 (message): OpenCV ver. 3.0+ is not found, benchmark_app will be built without OpenCV support. Set OpenCV_DIR
CMake Warning at samples/c/common/opencv_c_wrapper/CMakeLists.txt:20 (message): OpenCV ver. 3.0+ is not found, opencv_c_wrapper is built without OPENCV support
-- Register template to be built in build-modules/template -- Register template_extension to be built in build-modules/template_extension CMake Warning at tools/mo/CMakeLists.txt:5 (message): Please enable OpenVINO Runtime Python API (set -DENABLE_PYTHON=ON) targets to enable Model Optimizer target
CMake Warning at cmake/developer_package/shellcheck/shellcheck.cmake:22 (message): shellcheck tool is not found Call Stack (most recent call first): scripts/CMakeLists.txt:18 (ov_shellcheck_process)
-- Configuring done -- Generating done -- Build files have been written to: /home/ly/SPACE_SDD/openvino-workspace/openvino-android/openvino-build
@ly0303521 hi, please re-configure cmake with additional flag -DENABLE_TESTS=ON
then re-build it. And then run commands on device with illegal instruction case:
$ANDROID_TOOLS_PATH/adb push --sync $OPV_HOME_DIR/openvino/bin/aarch64/Release/ov_cpu_func_tests /data/local/tmp/
$ANDROID_TOOLS_PATH/adb shell "LD_LIBRARY_PATH=/data/local/tmp ./data/local/tmp/ov_cpu_func_tests
@ly0303521 hi, please re-configure cmake with additional flag
-DENABLE_TESTS=ON
then re-build it. And then run commands on device with illegal instruction case:$ANDROID_TOOLS_PATH/adb push --sync $OPV_HOME_DIR/openvino/bin/aarch64/Release/ov_cpu_func_tests /data/local/tmp/ $ANDROID_TOOLS_PATH/adb shell "LD_LIBRARY_PATH=/data/local/tmp ./data/local/tmp/ov_cpu_func_tests
@allnes Hi, my result is below:
@ly0303521 what device's spefication do you use?
@ly0303521 what device's spefication do you use?
@allnes Device is MT8788,The MT8788 octa-core CPU incorporates four Arm Cortex-A73 high performance cores, plus four Cortex-A53 power-efficiency cores. MT8788 link
@ly0303521 what device's spefication do you use?
@allnes Device is MT8788,The MT8788 octa-core CPU incorporates four Arm Cortex-A73 high performance cores, plus four Cortex-A53 power-efficiency cores. MT8788 link
@ly0303521 hi, could you build OpenVINO with -DCMAKE_BUILD_TYPE=Debug
and could you share more information where is failed, alas I can't reproduce it
@allnes Thank you for reply. I rebuild openvino with -DCMAKE_BUILD_TYPE=Debug
, the log is the same with before, through benchmark_app, it failed in [Step 10/11] Measuring performance (Start inference asynchronously, 1 inference requests, limits: 60000 ms duration)
@allnes Hello, do you know How to run benchmark_app on android GPU ?
@allnes Hello, do you know How to run benchmark_app on android GPU ?
@ly0303521 hi, OpenVINO haven't supported Android GPU part
OpenVINO Version
2022.3.0
Operating System
Android System
Device used for inference
CPU
Framework
None
Model used
No response
Issue description
I wanna use openvino C++ library in android, but errors occured when app is running.
Step-by-step reproduction
No response
Relevant log output
No response
Issue submission checklist