240 发简信
IP属地:广东
  • INFO: Analysed target //tensorflow/examples/android:tensorflow_demo (0 packages loaded).
    INFO: Found 1 target...
    ERROR: /home/billy/.cache/bazel/_bazel_billy/4f43b02146855c6bea0daafe4d8bd7b2/external/nsync/BUILD:441:1: C++ compilation of rule '@nsync//:nsync_cpp' failed (Exit 1)
    In file included from external/nsync/internal/time_internal.c:16:
    ./external/nsync//platform/c++11/platform.h:19:10: fatal error: 'string.h' file not found
    #include <string.h>
    ^~~~~~~~~~
    1 error generated.
    Target //tensorflow/examples/android:tensorflow_demo failed to build
    Use --verbose_failures to see the command lines of failed build steps.
    INFO: Elapsed time: 0.524s, Critical Path: 0.18s
    FAILED: Build did NOT complete successfully

    Tensorflow-1-Tensorflow Moblie Android平台编译安装

    之前就看到Tensorflow有手机平台的API了,今天终于抽了点时间出来鼓捣一下。 首先是把tensorflow克隆到本地一份。 既然是谷歌官方要求的,最好把--recur...

  • INFO: Analysed target //tensorflow/examples/android:tensorflow_demo (0 packages loaded).
    INFO: Found 1 target...
    ERROR: /home/billy/Documents/tensorflow-master/tensorflow/examples/android/BUILD:22:1: C++ compilation of rule '//tensorflow/examples/android:libtensorflow_demo.so' failed (Exit 1)
    In file included from tensorflow/examples/android/jni/object_tracking/logging.cc:16:
    ./tensorflow/examples/android/jni/object_tracking/logging.h:19:10: fatal error: 'android/log.h' file not found
    #include <android/log.h>
    ^~~~~~~~~~~~~~~
    1 error generated.
    Target //tensorflow/examples/android:tensorflow_demo failed to build
    Use --verbose_failures to see the command lines of failed build steps.
    INFO: Elapsed time: 0.899s, Critical Path: 0.15s
    FAILED: Build did NOT complete successfully
    billy@billy-chen:~/Documents/tensorflow-master$ bazel bui

    Tensorflow-1-Tensorflow Moblie Android平台编译安装

    之前就看到Tensorflow有手机平台的API了,今天终于抽了点时间出来鼓捣一下。 首先是把tensorflow克隆到本地一份。 既然是谷歌官方要求的,最好把--recur...

  • 大神你好,我这边学习了你的文章,并进行实践过程中遇到编译错误。每次编译错误大都不同,log中表现出来的都是编译过程中发现头文件没有找到,请问您知道是什么原因么?

    Tensorflow-1-Tensorflow Moblie Android平台编译安装

    之前就看到Tensorflow有手机平台的API了,今天终于抽了点时间出来鼓捣一下。 首先是把tensorflow克隆到本地一份。 既然是谷歌官方要求的,最好把--recur...