Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compilation fails at eigen, compiler finds an error #77

Open
rasmysamy opened this issue Sep 6, 2017 · 0 comments
Open

Compilation fails at eigen, compiler finds an error #77

rasmysamy opened this issue Sep 6, 2017 · 0 comments

Comments

@rasmysamy
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant