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