“unsupported/Eigen/CXX11/Tensor: No such file or directory” while working with TensorFlow

后端 未结 2 1813
慢半拍i
慢半拍i 2021-02-10 00:41

I\'m trying to use tensorflow as a external library in my C++ application (mainly following this tutorial). What I done so far:

  1. I have cloned the tensorflow repori
2条回答
  •  我寻月下人不归
    2021-02-10 01:35

    the problem was actually in the relative path of the header file taken in the Tensor file.

    installed path for Tensor is /usr/include/eigen3/unsupported/Eigen/CXX11/Tensor

    but mentioned in the Tensor file is "unsupported/Eigen/CXX11/Tensor"

    So there should be an entry upto /usr/include/eigen3/ in the project path to run this correctly so that it can be used.

提交回复
热议问题