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
{{ message }}
This repository was archived by the owner on Jan 24, 2024. It is now read-only.
参照 安卓文档,在进行第二步 make时提示下面的错误:
root@wyf-virtual-machine:/home/wyf/Paddle-Android/Mobile/benchmark/tool/C/build# make
Scanning dependencies of target inference
[100%] Building CXX object CMakeFiles/inference.dir/inference.cc.o
Linking CXX executable inference
/home/wyf/Paddle-Android/arm64_standalone_toolchain/bin/../lib/gcc/aarch64-linux-android/4.9.x/../../../../aarch64-linux-android/bin/ld: cannot find -lprotobuf
collect2: error: ld returned 1 exit status
make[2]: *** [inference] 错误 1
make[1]: *** [CMakeFiles/inference.dir/all] 错误 2
make: *** [all] 错误 2
然后参考了 Fix linking problem of protobuf-3.2,但没有看明白怎样修改的CMakeLists.txt,我的 ANDROID_ABI = arm64-v8a,能否较详细说下怎样修改呢?谢谢