tensorflow-mtcnn
tensorflow-mtcnn copied to clipboard
C++ version (tf_embedded) build failed
Hi, cyberfire, Thanks for you codes. when I build the C++ version (tf_embedded) use bazel, there were some errors. It looks like that the tensorflow version dost not match well. I want to know which tensorflow version you used
./tensorflow/core/framework/tensor_shape.h:507: error: undefined reference to 'tensorflow::TensorShapeRep::DestructorOutOfLine()'
./tensorflow/core/public/session_options.h:28: error: undefined reference to 'tensorflow::ConfigProto::~ConfigProto()'
tensorflow/examples/mtcnn/main.cc:80: error: undefined reference to 'tensorflow::GraphDef::GraphDef()'
tensorflow/examples/mtcnn/main.cc:82: error: undefined reference to 'tensorflow::Env::Default()'
tensorflow/examples/mtcnn/main.cc:82: error: undefined reference to 'tensorflow::ReadBinaryProto(tensorflow::Env*, std::string const&, google::protobuf::MessageLite*)'
tensorflow/examples/mtcnn/main.cc:87: error: undefined reference to 'tensorflow::SessionOptions::SessionOptions()'
tensorflow/examples/mtcnn/main.cc:87: error: undefined reference to 'tensorflow::NewSession(tensorflow::SessionOptions const&)'
tensorflow/examples/mtcnn/main.cc:92: error: undefined reference to 'tensorflow::GraphDef::~GraphDef()'
tensorflow/examples/mtcnn/main.cc:92: error: undefined reference to 'tensorflow::GraphDef::~GraphDef()'
tensorflow/examples/mtcnn/main.cc:116: error: undefined reference to 'tensorflow::cpu_allocator()'
tensorflow/examples/mtcnn/main.cc:126: error: undefined reference to 'tensorflow::Tensor::Tensor(tensorflow::DataType, tensorflow::TensorShape const&, tensorflow::TensorBuffer*)'
./tensorflow/core/framework/tensor_shape.h:288: error: undefined reference to 'tensorflow::TensorShapeBasetensorflow::TensorShape::TensorShapeBase(tensorflow::gtl::ArraySlice