An issue about the Android Platform Demo
Created by: ckeys
Hi All,
我在linux上尝试安卓平台的交叉编译,并且想跑文档提供的demo
step1: http://www.paddlepaddle.org/docs/develop/documentation/zh/mobile/cross_compiling_for_android_cn.html step2: https://github.com/PaddlePaddle/Mobile/blob/develop/benchmark/tool/C/README.md
当我到最后一步的时候,使用命令行:
cmake ..
-DANDROID_ABI=arm64-v8a
-DANDROID_STANDALONE_TOOLCHAIN=your/path/to/arm64_standalone_toolchain
-DPADDLE_ROOT=The output path generated in the first step
-DCMAKE_BUILD_TYPE=MinSizeRel
出现错误:
Generator
Unix Makefiles
does not support platform specification, but platform
NDROID_STANDALONE_TOOLCHAIN=/home/USERNAME/Desktop/your/path/to/arm_standalone_toolchain
was specified
--Configuring incomplete, errors occurred/
我的os 版本: ubuntu 12.04.5 lts cmake:3.10.0
Thanks,