Tesseract Android arm64-v8a CpuFeaturesNdkCompatConfig.cmake

28 views
Skip to first unread message

polki paul

unread,
Dec 7, 2025, 2:56:57 AM (8 days ago) Dec 7
to tesseract-ocr

when I configure tesseract project for Android arm64-v8a :

set(CMAKE_TOOLCHAIN_FILE /home/user/Bureau/SDKs/android_ndk/android_ndk_clang/build/cmake/android.toolchain.cmake)
set(ANDROID_ABI arm64-v8a)
set(ANDROID_PLATFORM 26)
set(ANDROID_STL c++_shared
)


I have this message when I configure CMake :

CMake Error at CMakeLists.txt:967 (find_package): By not providing "FindCpuFeaturesNdkCompat.cmake" in CMAKE_MODULE_PATH this project has asked CMake to find a package configuration file provided by "CpuFeaturesNdkCompat", but CMake did not find one. Could not find a package configuration file provided by "CpuFeaturesNdkCompat" with any of the following names:
CpuFeaturesNdkCompatConfig.cmake
cpufeaturesndkcompat-config.cmake
Add the installation prefix of "CpuFeaturesNdkCompat" to CMAKE_PREFIX_PATH or set "CpuFeaturesNdkCompat_DIR" to a directory containing one of the above files. If "CpuFeaturesNdkCompat" provides a separate development package or SDK, be sure it has been installed.


How can solve this error, thanks.

Reply all
Reply to author
Forward
0 new messages