tensorflow-object-detection-cpp icon indicating copy to clipboard operation
tensorflow-object-detection-cpp copied to clipboard

undefined reference to `tensorflow::Scope::WithOpNameImpl(std::string const&) const'

Open molyswu opened this issue 5 years ago • 0 comments

ubuntu 16.04

create libtensorflow_cc.so and libtensorflow_framework.so in tensorflow1.12

1.mkdir -p build &&cd build 2.cmake .. 3.make

CMakeFiles/tf_detector_example.dir/utils.cpp.o: In function tensorflow::Scope tensorflow::Scope::WithOpName<char const*>(char const*) const': utils.cpp:(.text._ZNK10tensorflow5Scope10WithOpNameIJPKcEEES0_DpT_[_ZNK10tensorflow5Scope10WithOpNameIJPKcEEES0_DpT_]+0x5d): undefined reference to tensorflow::Scope::WithOpNameImpl(std::string const&) cons

molyswu avatar Jul 19 '19 07:07 molyswu