Skip to content

Compilation fails at eigen, compiler finds an error #77

@rasmysamy

Description

@rasmysamy

Environment info

Operating System: Antergos x64

Here is the following error:
ERROR: /home/samyr/programming/tools/tensorflow-opencl/tensorflow/core/kernels/BUILD:881:1: C++ compilation of rule '//tensorflow/core/kernels:gather_functor' failed (Exit 1). In file included from external/eigen_archive/unsupported/Eigen/CXX11/Tensor:141:0, from ./third_party/eigen3/unsupported/Eigen/CXX11/Tensor:4, from ./tensorflow/core/kernels/gather_functor.h:19, from tensorflow/core/kernels/gather_functor.cc:50: external/eigen_archive/unsupported/Eigen/CXX11/src/Tensor/TensorGenerator.h: In constructor 'Eigen::TensorEvaluator<const Eigen::TensorGeneratorOp<Generator, XprType>, Device>::TensorEvaluator(const XprType&, const Device&)': external/eigen_archive/unsupported/Eigen/CXX11/src/Tensor/TensorGenerator.h:100:38: error: class 'Eigen::TensorEvaluator<const Eigen::TensorGeneratorOp<Generator, XprType>, Device>' does not have any field named 'm_argImpl' : m_generator(op.generator()), m_argImpl(op.expression(), device) ^~~~~~~~~ external/eigen_archive/unsupported/Eigen/CXX11/src/Tensor/TensorGenerator.h:102:20: error: 'm_argImpl' was not declared in this scope m_dimensions = m_argImpl.dimensions(); ^~~~~~~~~
Installation has been done from source, using OpenCL. GCC version is 7.1.1

What other attempted solutions have you tried?

I have tried to download the source a second time, I have also tried to install g++, as Arch Linux only comes with GCC.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions