ofxMSATensorflow addon tensorflow header issues - Ubuntu 18.04 + Tensorflow r1.11


#1

I am trying to compile and run the included example files, but I am having issues compiling. I am afraid this has to do with my Tensorflow header files being outdated. Memo includes the Tensorfolow r1.3 library in the ofxMSATensorflow addon, but I’m using r1.11, and the Tensorflow library folder structure has changed quite a bit between the two versions.

I rebuilt the Tensorflow library from scratch for r1.11, which I’m not sure if I did correctly but it spat out a libtensorflow_cc.so file, so I think I did? I’m using Ubuntu 18.04, Cuda 10, Cudnn v7

When I compile one of the examples, I get this error:

/home/ats/openFrameworks/addons/ofxMSATensorFlow/libs/tensorflow/include/third_party/eigen3/unsupported/Eigen/CXX11/Tensor:1:42: error: #include nested too deeply
 #include "unsupported/Eigen/CXX11/Tensor"

It looks like this, and that same line repeats itself quite a bit more further up. I’m at a loss :frowning: