caffe_mobile
来源:互联网 发布:hash-256函数算法原理 编辑:程序博客网 时间:2024/06/11 01:40
将大神的项目复现一下,仅记录历程
这是 项目来源: https://github.com/solrex/caffe-mobile
———————–2017.7.7————————————-
按照教程编译安卓版本的时候,出现错误。主要是NDK_HOME
我做了尝试
“export NDK_HOME=…./SDK/android-ndk-r15b ” add into ~/.bashrc
and then $source .bashrc
test NDK_HOME is OK
$NDK_HOME // echo $NDK_HOME
结果:设置的路径
$NDK_HOME/ndk-build -v
结果:
GNU Make 3.81Copyright (C) 2006 Free Software Foundation, Inc.This is free software; see the source for copying conditions.There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR APARTICULAR PURPOSE.This program built for x86_64-pc-linux-gnu
这表明我的变量设置成功了 so ,the path is ok.
但是错误还是和最初一样,如下:
but, $tools/build_android.sh have error:
###################################################### ERROR: Invalid NDK_HOME="" env variable, exit. ######################################################
我这里设置的路径是从官网上下载的NDK文件,不是道是否这里出现错误
I try finding…….
有朋友研究这些了解的话,望不吝赐教
阅读全文
0 0