Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [ 50%] Building CXX object CMakeFiles/sandbox.dir/src/SandBox/sandbox.cpp.o
- In file included from /opt/eigen333/include/eigen3/unsupported/Eigen/CXX11/Tensor:106:0,
- from /home/lars/programming/fsd_cpp/src/SandBox/sandbox.cpp:3:
- /opt/eigen333/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorExpr.h: In instantiation of ‘struct Eigen::internal::traits<Eigen::TensorCwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Tensor<double, 3>, const int> >’:
- /opt/eigen333/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorBase.h:31:44: required from ‘class Eigen::TensorBase<Eigen::TensorCwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Tensor<double, 3>, const int>, 0>’
- /opt/eigen333/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorExpr.h:187:7: required from ‘class Eigen::TensorCwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Tensor<double, 3>, const int>’
- /home/lars/programming/fsd_cpp/src/SandBox/sandbox.cpp:30:9: required from here
- /opt/eigen333/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorExpr.h:150:52: error: ‘const int’ is not a class, struct, or union type
- typename RhsXprType::Scalar)>::type Scalar;
- ^
- In file included from /opt/eigen333/include/eigen3/Eigen/Core:346:0,
- from /opt/eigen333/include/eigen3/Eigen/Dense:1,
- from /home/lars/programming/fsd_cpp/src/SandBox/sandbox.cpp:2:
- /opt/eigen333/include/eigen3/Eigen/src/Core/util/ForwardDeclarations.h: In instantiation of ‘struct Eigen::internal::traits<const int>’:
- /opt/eigen333/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorExpr.h:154:54: required from ‘struct Eigen::internal::traits<Eigen::TensorCwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Tensor<double, 3>, const int> >’
- /opt/eigen333/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorBase.h:31:44: required from ‘class Eigen::TensorBase<Eigen::TensorCwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Tensor<double, 3>, const int>, 0>’
- /opt/eigen333/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorExpr.h:187:7: required from ‘class Eigen::TensorCwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Tensor<double, 3>, const int>’
- /home/lars/programming/fsd_cpp/src/SandBox/sandbox.cpp:30:9: required from here
- /opt/eigen333/include/eigen3/Eigen/src/Core/util/ForwardDeclarations.h:23:29: error: invalid use of incomplete type ‘struct Eigen::internal::traits<int>’
- template<typename T> struct traits<const T> : traits<T> {};
- ^
- /opt/eigen333/include/eigen3/Eigen/src/Core/util/ForwardDeclarations.h:17:29: note: declaration of ‘struct Eigen::internal::traits<int>’
- template<typename T> struct traits;
- ^
- In file included from /opt/eigen333/include/eigen3/unsupported/Eigen/CXX11/Tensor:106:0,
- from /home/lars/programming/fsd_cpp/src/SandBox/sandbox.cpp:3:
- /opt/eigen333/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorExpr.h: In instantiation of ‘struct Eigen::internal::traits<Eigen::TensorCwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Tensor<double, 3>, const int> >’:
- /opt/eigen333/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorBase.h:31:44: required from ‘class Eigen::TensorBase<Eigen::TensorCwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Tensor<double, 3>, const int>, 0>’
- /opt/eigen333/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorExpr.h:187:7: required from ‘class Eigen::TensorCwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Tensor<double, 3>, const int>’
- /home/lars/programming/fsd_cpp/src/SandBox/sandbox.cpp:30:9: required from here
- /opt/eigen333/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorExpr.h:154:54: error: no type named ‘StorageKind’ in ‘struct Eigen::internal::traits<const int>’
- typename traits<RhsXprType>::StorageKind>::ret StorageKind;
- ^
- /opt/eigen333/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorExpr.h:157:49: error: no type named ‘Index’ in ‘struct Eigen::internal::traits<const int>’
- typename traits<RhsXprType>::Index>::type Index;
- ^
- /opt/eigen333/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorExpr.h:159:39: error: ‘const int’ is not a class, struct, or union type
- typedef typename RhsXprType::Nested RhsNested;
- ^
- /opt/eigen333/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorExpr.h:161:54: error: ‘const int’ is not a class, struct, or union type
- typedef typename remove_reference<RhsNested>::type _RhsNested;
- ^
- In file included from /opt/eigen333/include/eigen3/unsupported/Eigen/CXX11/Tensor:106:0,
- from /home/lars/programming/fsd_cpp/src/SandBox/sandbox.cpp:3:
- /opt/eigen333/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorExpr.h: In instantiation of ‘class Eigen::TensorCwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Tensor<double, 3>, const int>’:
- /home/lars/programming/fsd_cpp/src/SandBox/sandbox.cpp:30:9: required from here
- /opt/eigen333/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorExpr.h:212:5: error: ‘const int’ is not a class, struct, or union type
- rhsExpression() const { return m_rhs_xpr; }
- ^
- /opt/eigen333/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorExpr.h:216:33: error: ‘const int’ is not a class, struct, or union type
- typename RhsXprType::Nested m_rhs_xpr;
- ^
- In file included from /opt/eigen333/include/eigen3/unsupported/Eigen/CXX11/Tensor:103:0,
- from /home/lars/programming/fsd_cpp/src/SandBox/sandbox.cpp:3:
- /opt/eigen333/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorBase.h: In instantiation of ‘const Eigen::TensorCwiseBinaryOp<Eigen::internal::scalar_product_op<typename Eigen::internal::traits<T>::Scalar>, const Derived, const OtherDerived> Eigen::TensorBase<Derived, 0>::operator*(const OtherDerived&) const [with OtherDerived = int; Derived = Eigen::Tensor<double, 3>; typename Eigen::internal::traits<T>::Scalar = double]’:
- /home/lars/programming/fsd_cpp/src/SandBox/sandbox.cpp:30:9: required from here
- /opt/eigen333/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorBase.h:349:24: error: request for member ‘derived’ in ‘other’, which is of non-class type ‘const int’
- return binaryExpr(other.derived(), internal::scalar_product_op<Scalar>());
- ^
- In file included from /opt/eigen333/include/eigen3/unsupported/Eigen/CXX11/Tensor:105:0,
- from /home/lars/programming/fsd_cpp/src/SandBox/sandbox.cpp:3:
- /opt/eigen333/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorEvaluator.h: In instantiation of ‘struct Eigen::TensorEvaluator<const int, Eigen::DefaultDevice>’:
- /opt/eigen333/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorEvaluator.h:366:65: required from ‘struct Eigen::TensorEvaluator<const Eigen::TensorCwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Tensor<double, 3>, const int>, Eigen::DefaultDevice>’
- /opt/eigen333/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorAssign.h:96:70: required from ‘struct Eigen::TensorEvaluator<const Eigen::TensorAssignOp<Eigen::Tensor<double, 3>, const Eigen::TensorCwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Tensor<double, 3>, const int> >, Eigen::DefaultDevice>’
- /opt/eigen333/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/Tensor.h:416:13: required from ‘Eigen::Tensor<Scalar_, NumIndices_, Options_, IndexType>& Eigen::Tensor<Scalar_, NumIndices_, Options_, IndexType>::operator=(const OtherDerived&) [with OtherDerived = Eigen::TensorCwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Tensor<double, 3>, const int>; Scalar_ = double; int NumIndices_ = 3; int Options_ = 0; IndexType_ = long int]’
- /home/lars/programming/fsd_cpp/src/SandBox/sandbox.cpp:30:6: required from here
- /opt/eigen333/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorEvaluator.h:150:35: error: ‘int’ is not a class, struct, or union type
- typedef typename Derived::Index Index;
- ^
- /opt/eigen333/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorEvaluator.h:151:36: error: ‘int’ is not a class, struct, or union type
- typedef typename Derived::Scalar Scalar;
- ^
- /opt/eigen333/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorEvaluator.h:152:36: error: ‘int’ is not a class, struct, or union type
- typedef typename Derived::Scalar CoeffReturnType;
- ^
- /opt/eigen333/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorEvaluator.h:153:62: error: ‘int’ is not a class, struct, or union type
- typedef typename PacketType<CoeffReturnType, Device>::type PacketReturnType;
- ^
- /opt/eigen333/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorEvaluator.h:154:40: error: ‘int’ is not a class, struct, or union type
- typedef typename Derived::Dimensions Dimensions;
- ^
- /opt/eigen333/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorEvaluator.h:160:8: error: ‘IsAligned’ is not a member of ‘int’
- enum {
- ^
- /opt/eigen333/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorEvaluator.h:162:71: error: ‘int’ is not a class, struct, or union type
- PacketAccess = (internal::unpacket_traits<PacketReturnType>::size > 1),
- ^
- /opt/eigen333/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorEvaluator.h:160:8: error: ‘Layout’ is not a member of ‘int’
- enum {
- ^
- /opt/eigen333/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorEvaluator.h: In instantiation of ‘const int Eigen::TensorEvaluator<const int, Eigen::DefaultDevice>::NumCoords’:
- /opt/eigen333/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorEvaluator.h:164:29: required from ‘struct Eigen::TensorEvaluator<const int, Eigen::DefaultDevice>’
- /opt/eigen333/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorEvaluator.h:366:65: required from ‘struct Eigen::TensorEvaluator<const Eigen::TensorCwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Tensor<double, 3>, const int>, Eigen::DefaultDevice>’
- /opt/eigen333/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorAssign.h:96:70: required from ‘struct Eigen::TensorEvaluator<const Eigen::TensorAssignOp<Eigen::Tensor<double, 3>, const Eigen::TensorCwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Tensor<double, 3>, const int> >, Eigen::DefaultDevice>’
- /opt/eigen333/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/Tensor.h:416:13: required from ‘Eigen::Tensor<Scalar_, NumIndices_, Options_, IndexType>& Eigen::Tensor<Scalar_, NumIndices_, Options_, IndexType>::operator=(const OtherDerived&) [with OtherDerived = Eigen::TensorCwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Tensor<double, 3>, const int>; Scalar_ = double; int NumIndices_ = 3; int Options_ = 0; IndexType_ = long int]’
- /home/lars/programming/fsd_cpp/src/SandBox/sandbox.cpp:30:6: required from here
- /opt/eigen333/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorEvaluator.h:157:73: error: incomplete type ‘Eigen::internal::traits<int>’ used in nested name specifier
- static const int NumCoords = internal::traits<Derived>::NumDimensions > 0 ?
- ^
- /opt/eigen333/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorEvaluator.h:157:77: error: incomplete type ‘Eigen::internal::traits<int>’ used in nested name specifier
- static const int NumCoords = internal::traits<Derived>::NumDimensions > 0 ?
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement