I compiled static tensorflow library as in https://github.com/tensorflow/tensorflow/tree/master/tensorflow/contrib/makefile. I'm able to load and use my graph using C++ api. But when I try to switch to c_api, I get bunch of undefined reference to TF_*
.
How to compile static tensorflow library with C interfaces (tensorflow/c/c_api.cc)?
I tried to add this sourcefile to tensorflow/contrib/makefile/Makefile but it produces set of undefined references as well.