g491840695 2018-01-12 09:06 采纳率: 0%
浏览 2509
已结题

tensorflow android demo在bazel build时候报错

bazel build -c opt //tensorflow/examples/android:tensorflow_demo
报错:
ERROR: /Users/Gsh__Docu/tensorflow/tensorflow/examples/android/BUILD:22:1: C++ compilation of rule '//tensorflow/examples/android:libtensorflow_d_emo.so' failed (Exit 1).
src/main/tools/process-wrapper-legacy.cc:56: "execvp(/bin/false, ...)": No such file or directory
不知什么原因

另外,有许多warning,类如:
WARNING: /Users/Gsh_Docu/tensorflow/tensorflow/core/BUILD:1026:12: in srcs attribute of cc_library rule //tensorflow/core:android_tensorflow_lib_lite: please do not import '//tensorflow/core/util/tensor_bundle:tensor_bundle.h' directly. You should either move the file to this package or depend on an appropriate rule there.

git tensorflow的时候加了recurse-submodules;sdk用的oreo,ndk用的r14b

  • 写回答

1条回答

  • devmiao 2018-01-12 11:07
    关注
    评论

报告相同问题?

悬赏问题

  • ¥15 如何获取烟草零售终端数据
  • ¥15 数学建模招标中位数问题
  • ¥15 phython路径名过长报错 不知道什么问题
  • ¥15 深度学习中模型转换该怎么实现
  • ¥15 HLs设计手写数字识别程序编译通不过
  • ¥15 Stata外部命令安装问题求帮助!
  • ¥15 从键盘随机输入A-H中的一串字符串,用七段数码管方法进行绘制。提交代码及运行截图。
  • ¥15 TYPCE母转母,插入认方向
  • ¥15 如何用python向钉钉机器人发送可以放大的图片?
  • ¥15 matlab(相关搜索:紧聚焦)