2 g491840695 g491840695 于 2018.01.12 17:06 提问

tensorflow android demo在bazel build时候报错 5C

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
devmiao   Ds   Rxr 2018.01.12 19:07
Csdn user default icon
上传中...
上传图片
插入图片
准确详细的回答,更有利于被提问者采纳,从而获得C币。复制、灌水、广告等回答会被删除,是时候展现真正的技术了!