在部署OCR的时候出现的问题。
Created by: tszhang20
我按照这个https://github.com/PaddlePaddle/PaddleOCR/blob/develop/deploy/lite/readme.md 的教程在ubuntu16.04下部署ARMv8。
apt-get install -y --no-install-recommends g++-arm-linux-gnueabi gcc-arm-linux-gnueabi g++-arm-linux-gnueabihf gcc-arm-linux-gnueabihf gcc-aarch64-linux-gnu g++-aarch64-linux-gnu 的输出如下:
Reading package lists... Done Building dependency tree Reading state information... Done g++-aarch64-linux-gnu is already the newest version (4:5.3.1-1ubuntu1). g++-arm-linux-gnueabihf is already the newest version (4:5.3.1-1ubuntu1). gcc-aarch64-linux-gnu is already the newest version (4:5.3.1-1ubuntu1). gcc-arm-linux-gnueabihf is already the newest version (4:5.3.1-1ubuntu1). g++-arm-linux-gnueabi is already the newest version (4:5.3.1-1ubuntu1). gcc-arm-linux-gnueabi is already the newest version (4:5.3.1-1ubuntu1). 0 upgraded, 0 newly installed, 0 to remove and 610 not upgraded.
make -j的输出如下:
/toolchains/aarch64-linux-android-4.9/prebuilt/linux-x86_64/bin/aarch64-linux-android-g++ --sysroot=/sysroot -DARM_WITH_OMP -DHPPL_STUB_FUNC -DLITE_WITH_ARM -DLITE_WITH_LIGHT_WEIGHT_FRAMEWORK -DLITE_WITH_LINUX -DPADDLE_DISABLE_PROFILER -DPADDLE_NO_PYTHON -DPADDLE_WITH_TESTING -I/sources/cxx-stl/llvm-libc++/include -I/sources/cxx-stl/llvm-libc++abi/include -I/sources/android/support/include -I/sysroot/usr/include -I/sysroot/usr/include/aarch64-linux-android -I../../../third_party/opencv4.1.0/arm64-v8a/include -I../../..//cxx/include -funwind-tables -no-canonical-prefixes -D__ANDROID_API__=23 -fexceptions -frtti -std=c++11 -fopenmp -O3 -DNDEBUG -fPIE -o ocr_db_crnn.o -c ocr_db_crnn.cc make: /toolchains/aarch64-linux-android-4.9/prebuilt/linux-x86_64/bin/aarch64-linux-android-g++: Command not found Makefile:47: recipe for target 'ocr_db_crnn.o' failed make: *** [ocr_db_crnn.o] Error 127 make: *** Waiting for unfinished jobs....
本人第一次接触这方面的东西,请问一下这个是什么问题,谢谢。