请问Paddle Litey有没有鸿蒙OSNext的版本的预编译库?
收藏
现在app都在鸿蒙化,希望paddle Lite也能做一个鸿蒙化的预编译库,我自己没有编译出来
0
收藏
请登录后评论
鸿蒙是用ohos工具编译的,我编译以后报错:
Please check the dependencies of these items:
/Users/wangp/Documents/opencvHarmonyTwo/tpc_c_cplusplus/lycium/../thirdparty//Paddle-Lite
The follow pkg build error!
/Users/wangp/Documents/opencvHarmonyTwo/tpc_c_cplusplus/lycium/../thirdparty//glog
官方帮忙回答是glog编译问题,然后我单独编译了glog,也失败了:
编译过程以及错误提示如下:
(base) wangp@WangdeMacBook-Pro-2 lycium % ./build.sh glog
Build OS Darwin
OHOS_SDK=/Users/wangp/Library/Huawei/ohos/tools/OH_SDK/ohos-sdk/darwin
CLANG_VERSION=15.0.4
glog not ready. wait googletest gflags
Build googletest v1.13.0 start!
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 218 0 218 0 0 799 0 --:--:-- --:--:-- --:--:-- 801
100 1060k 0 1060k 0 0 801k 0 --:--:-- 0:00:01 --:--:-- 1476k
googletest-v1.13.0.zip: OK
Compile OpenHarmony armeabi-v7a googletest v1.13.0 libs...
The test must be on an OpenHarmony device!
Compile OpenHarmony arm64-v8a googletest v1.13.0 libs...
The test must be on an OpenHarmony device!
Build googletest v1.13.0 end!
Build gflags v2.2.2 start!
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 215 0 215 0 0 832 0 --:--:-- --:--:-- --:--:-- 833
100 121k 0 121k 0 0 204k 0 --:--:-- --:--:-- --:--:-- 204k
gflags-v2.2.2.zip: OK
Compile OpenHarmony armeabi-v7a gflags v2.2.2 libs...
The test must be on an OpenHarmony device!
Compile OpenHarmony arm64-v8a gflags v2.2.2 libs...
The test must be on an OpenHarmony device!
Build gflags v2.2.2 end!
Build glog v0.6.0 start!
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 213 0 213 0 0 744 0 --:--:-- --:--:-- --:--:-- 747
100 251k 0 251k 0 0 309k 0 --:--:-- --:--:-- --:--:-- 812k
glog-v0.6.0.zip: OK
Compile OpenHarmony armeabi-v7a glog v0.6.0 libs...
patching file CMakeLists.txt
patching file src/logging_custom_prefix_unittest.cc
patching file src/logging_unittest.cc
patching file src/symbolize_unittest.cc
patching file src/utilities.cc
The test must be on an OpenHarmony device!
sed: 1: "glog-v0.6.0/armeabi-v7a ...": extra characters at the end of g command
ERROR during : check
/Users/wangp/Documents/opencvHarmony/tpc_c_cplusplus/lycium/../thirdparty//glog build ERROR. errno: 1
The follow pkg build error!
/Users/wangp/Documents/opencvHarmony/tpc_c_cplusplus/lycium/../thirdparty//glog