tensorflow-object-detection-cpp
tensorflow-object-detection-cpp copied to clipboard
undefined reference to `tensorflow::Scope::WithOpNameImpl(std::string const&) const'
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