You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# 1. 下载需要的 Paddle Lite 预测库
cd PaddleX-Lite-Deploy/libs
sh download.sh
# 2. 下载 paddle_lite_opt 工具优化后的模型文件
cd ../ocr/assets
sh download.sh PP-OCRv4_mobile
# 3. 完成可执行文件的编译
cd ../android/shell/ppocr_demo
sh build.sh
# 4. 预测
sh run.sh PP-OCRv4_mobile
$ ./build.sh
NDK_ROOT is D:/soft/Android/develop/sdk/ndk/27.0.11902837
ARM_TARGET_LANG is clang
ARM_ABI is arm64-v8a
PADDLE_LITE_DIR is /d/Zhang/Documents/workspace/workAndroid/OCR/PaddleX_Lite_Deploy/ocr/android/shell/ppocr_demo/src/../../../../../libs/android/cxx
OPENCV_LITE_DIR is /d/Zhang/Documents/workspace/workAndroid/OCR/PaddleX_Lite_Deploy/ocr/android/shell/ppocr_demo/src/../../../../../libs/android/opencv4.1.0
make: *** No rule to make target 'clean'. Stop.
-- Building for: Visual Studio 17 2022
-- The C compiler identification is MSVC 19.41.34120.0
-- The CXX compiler identification is MSVC 19.41.34120.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: C:/Program Files/Microsoft Visual Studio/2022/Professional/VC/Tools/MSVC/14.41.34120/bin/Hostx64/x64/cl.exe - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: C:/Program Files/Microsoft Visual Studio/2022/Professional/VC/Tools/MSVC/14.41.34120/bin/Hostx64/x64/cl.exe - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- TARGET ARM LANG: clang
-- TARGET ARCH ABI: arm64-v8a
-- PADDLE LITE DIR: D:/Zhang/Documents/workspace/workAndroid/OCR/PaddleX_Lite_Deploy/ocr/android/shell/ppocr_demo/src/../../../../../libs/android/cxx
-- PADDLE LITE DIR: D:/Zhang/Documents/workspace/workAndroid/OCR/PaddleX_Lite_Deploy/ocr/android/shell/ppocr_demo/src/../../../../../libs/android/opencv4.1.0
-- PADDLELITE_LIBS is D:/Zhang/Documents/workspace/workAndroid/OCR/PaddleX_Lite_Deploy/ocr/android/shell/ppocr_demo/src/../../../../../libs/android/cxx/libs/arm64-v8a/libpaddle_light_api_shared.so;D:/Zhang/Documents/workspace/workAndroid/OCR/PaddleX_Lite_Deploy/ocr/android/shell/ppocr_demo/src/../../../../../libs/android/cxx/libs/arm64-v8a/libc++_shared.so
-- OPENCV_PATH: D:/Zhang/Documents/workspace/workAndroid/OCR/PaddleX_Lite_Deploy/ocr/android/shell/ppocr_demo/src/../../../../../libs/android/opencv4.1.0/arm64-v8a
-- Configuring done (6.9s)
-- Generating done (0.0s)
-- Build files have been written to: D:/Zhang/Documents/workspace/workAndroid/OCR/PaddleX_Lite_Deploy/ocr/android/shell/ppocr_demo/src/build
make: *** No targets specified and no makefile found. Stop.
make successful!
cp: cannot stat './src/build/ppocr_demo': No such file or directory
copy successful!
环境
系统: win11
cmake 版本
make版本
The text was updated successfully, but these errors were encountered:
描述问题
复现
未修改任何代码
按照仓库readme方式部署,使用git bash执行:
在执行到第三步build.sh,遇到问题,执行 build后, src/build/ppocr_demo 没有生成
以下是运行日志:
环境
系统: win11
cmake 版本
make版本
The text was updated successfully, but these errors were encountered: