cjweeks/tensorflow-cmake

libtensorflow_all.so: undefined reference to ****

Essenlin opened this issue · 2 comments

Hi, When i build the examples, error occured.

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

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

Worked for me, thanks!