ran into build error with Tensorflow Android examples: tensorflow/core/kernels/split_v_op.cc -
i cloned tensorflow android example https://github.com/tensorflow/tensorflow/tree/master/tensorflow/examples/android/, followed steps @ https://bazel.build/versions/master/docs/install-ubuntu.html build it, ran problems following error:
tensorflow/core/kernels/split_v_op.cc:172:12: note: in instantiation of member function 'tensorflow::splitvopcpu::compute' requested here explicit splitvopcpu(opkernelconstruction* c) : base(c) {}
the build command used is:
sudo bazel build --genrule_strategy=standalone --spawn_strategy=standalone --local_resources 4096,4.0,1.0 -j 1 -c opt //tensorflow/examples/android:tensorflow_demo
please share ideas fix issue.
the issue similar 1 posted @
https://github.com/tensorflow/tensorflow/issues/8641#issuecomment-288586320
the bazel builder not work latest ndk build comes android studio.
need use ndk r12b in workspace file.
code compiled, still spilled out warnings...
Comments
Post a Comment