tensorflow-cmake icon indicating copy to clipboard operation
tensorflow-cmake copied to clipboard

libtensorflow_all.so: undefined reference to ****

Open Essenlin opened this issue 7 years ago • 2 comments

Hi, When i build the examples, error occured.

libtensorflow_all.so: undefined reference to `tensorflow::OpDef_ArgDef::OpDef_ArgDef()'

Essenlin avatar Nov 15 '17 04:11 Essenlin

I solved this error by adding the flag '--config=monolithic' when building tensorflow

SebastienLinker avatar Jan 05 '18 05:01 SebastienLinker

Worked for me, thanks!

vincentcaux avatar Jan 14 '18 22:01 vincentcaux