首页 文章

使用TensorFlow Android演示版构建错误

提问于
浏览
1

在编译TensorFlow Android演示时获取protobuf错误在OSX上使用Android Studio .

采取的步骤:

  • 安装Bazel升级查看brew

  • 使用--recursive标志克隆tensorflow repo .

  • 运行.configure .

  • 运行该项目

错误:/ private / var / tmp / _bazel_xxxxx / 1b55123784db7232f203473c18395341 / external / protobuf / BUILD:73:1:C编译规则'@protobuf //:protobuf_lite'失败:false失败:错误执行命令/ bin / false -MD -MF bazel-out / stub_armeabi-v7a-opt / bin / external / protobuf / _objs / protobuf_lite / external / protobuf / src / google / protobuf / wire_format_lite.pic.d ...(其余26个参数被跳过): com.google.devtools.build.lib.shell.BadExitStatusException:进程退出,状态为1 .

2 回答

相关问题