Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- In file included from /Users/vlad/eigen/Eigen/Core:366:0,
- from /Users/vlad/eigen/Eigen/Dense:1,
- from /Users/vlad/Dropbox/programming/cpp/scratch/so.cpp:2:
- /Users/vlad/eigen/Eigen/src/Core/Matrix.h: In instantiation of 'Eigen::Matrix<_Scalar, _Rows, _Cols, _Options, _MaxRows, _MaxCols>::Matrix(const T&) [with T = MatrixView; _Scalar = double; int _Rows = 2; int _Cols = 2; int _Options = 0; int _MaxRows = 2; int _MaxCols = 2]':
- /Users/vlad/Dropbox/programming/cpp/scratch/so.cpp:16:35: required from here
- /Users/vlad/eigen/Eigen/src/Core/Matrix.h:296:31: error: no matching function for call to 'Eigen::Matrix<double, 2, 2>::_init1(const MatrixView&)'
- Base::template _init1<T>(x);
- ^
- In file included from /Users/vlad/eigen/Eigen/Core:365:0,
- from /Users/vlad/eigen/Eigen/Dense:1,
- from /Users/vlad/Dropbox/programming/cpp/scratch/so.cpp:2:
- /Users/vlad/eigen/Eigen/src/Core/PlainObjectBase.h:735:30: note: candidate: template<class T> void Eigen::PlainObjectBase<Derived>::_init1(Eigen::Index, typename Eigen::internal::enable_if<(((typename Eigen::internal::dense_xpr_base<Derived>::type:: SizeAtCompileTime != 1) || (! Eigen::internal::is_convertible<T, typename Eigen::internal::traits<T>::Scalar>::value)) && ((! Eigen::internal::is_same<typename Eigen::internal::traits<T>::XprKind, Eigen::ArrayXpr>::value) || (typename Eigen::internal::dense_xpr_base<Derived>::type:: SizeAtCompileTime == Eigen::Dynamic))), T>::type*) [with T = T; Derived = Eigen::Matrix<double, 2, 2>]
- EIGEN_STRONG_INLINE void _init1(Index size, typename internal::enable_if< (Base::SizeAtCompileTime!=1 || !internal::is_convertible<T, Scalar>::value)
- ^
- /Users/vlad/eigen/Eigen/src/Core/PlainObjectBase.h:735:30: note: template argument deduction/substitution failed:
- In file included from /Users/vlad/eigen/Eigen/Core:366:0,
- from /Users/vlad/eigen/Eigen/Dense:1,
- from /Users/vlad/Dropbox/programming/cpp/scratch/so.cpp:2:
- /Users/vlad/eigen/Eigen/src/Core/Matrix.h:296:31: note: cannot convert 'x' (type 'const MatrixView') to type 'Eigen::Index {aka long int}'
- Base::template _init1<T>(x);
- ^
- In file included from /Users/vlad/eigen/Eigen/Core:365:0,
- from /Users/vlad/eigen/Eigen/Dense:1,
- from /Users/vlad/Dropbox/programming/cpp/scratch/so.cpp:2:
- /Users/vlad/eigen/Eigen/src/Core/PlainObjectBase.h:748:30: note: candidate: template<class T> void Eigen::PlainObjectBase<Derived>::_init1(const Scalar&, typename Eigen::internal::enable_if<((typename Eigen::internal::dense_xpr_base<Derived>::type:: SizeAtCompileTime == 1) && Eigen::internal::is_convertible<T, typename Eigen::internal::traits<T>::Scalar>::value), T>::type*) [with T = T; Derived = Eigen::Matrix<double, 2, 2>]
- EIGEN_STRONG_INLINE void _init1(const Scalar& val0, typename internal::enable_if<Base::SizeAtCompileTime==1 && internal::is_convertible<T, Scalar>::value,T>::type* = 0)
- ^
- /Users/vlad/eigen/Eigen/src/Core/PlainObjectBase.h:748:30: note: template argument deduction/substitution failed:
- /Users/vlad/eigen/Eigen/src/Core/PlainObjectBase.h: In substitution of 'template<class T> void Eigen::PlainObjectBase<Derived>::_init1(const Scalar&, typename Eigen::internal::enable_if<((typename Eigen::internal::dense_xpr_base<Derived>::type:: SizeAtCompileTime == 1) && Eigen::internal::is_convertible<T, typename Eigen::internal::traits<T>::Scalar>::value), T>::type*) [with T = MatrixView]':
- /Users/vlad/eigen/Eigen/src/Core/Matrix.h:296:31: required from 'Eigen::Matrix<_Scalar, _Rows, _Cols, _Options, _MaxRows, _MaxCols>::Matrix(const T&) [with T = MatrixView; _Scalar = double; int _Rows = 2; int _Cols = 2; int _Options = 0; int _MaxRows = 2; int _MaxCols = 2]'
- /Users/vlad/Dropbox/programming/cpp/scratch/so.cpp:16:35: required from here
- /Users/vlad/eigen/Eigen/src/Core/PlainObjectBase.h:748:30: error: invalid use of incomplete type 'struct Eigen::internal::enable_if<false, MatrixView>'
- In file included from /Users/vlad/eigen/Eigen/Core:295:0,
- from /Users/vlad/eigen/Eigen/Dense:1,
- from /Users/vlad/Dropbox/programming/cpp/scratch/so.cpp:2:
- /Users/vlad/eigen/Eigen/src/Core/util/Meta.h:114:45: note: declaration of 'struct Eigen::internal::enable_if<false, MatrixView>'
- template<bool Condition, typename T> struct enable_if;
- ^
- In file included from /Users/vlad/eigen/Eigen/Core:365:0,
- from /Users/vlad/eigen/Eigen/Dense:1,
- from /Users/vlad/Dropbox/programming/cpp/scratch/so.cpp:2:
- /Users/vlad/eigen/Eigen/src/Core/Matrix.h: In instantiation of 'Eigen::Matrix<_Scalar, _Rows, _Cols, _Options, _MaxRows, _MaxCols>::Matrix(const T&) [with T = MatrixView; _Scalar = double; int _Rows = 2; int _Cols = 2; int _Options = 0; int _MaxRows = 2; int _MaxCols = 2]':
- /Users/vlad/Dropbox/programming/cpp/scratch/so.cpp:16:35: required from here
- /Users/vlad/eigen/Eigen/src/Core/PlainObjectBase.h:757:30: note: candidate: template<class T> void Eigen::PlainObjectBase<Derived>::_init1(const Index&, typename Eigen::internal::enable_if<((((! Eigen::internal::is_same<long int, typename Eigen::internal::traits<T>::Scalar>::value) && (Eigen::internal::is_same<long int, T>::value)) && (typename Eigen::internal::dense_xpr_base<Derived>::type:: SizeAtCompileTime == 1)) && Eigen::internal::is_convertible<T, typename Eigen::internal::traits<T>::Scalar>::value), T*>::type*) [with T = T; Derived = Eigen::Matrix<double, 2, 2>]
- EIGEN_STRONG_INLINE void _init1(const Index& val0,
- ^
- /Users/vlad/eigen/Eigen/src/Core/PlainObjectBase.h:757:30: note: template argument deduction/substitution failed:
- /Users/vlad/eigen/Eigen/src/Core/PlainObjectBase.h: In substitution of 'template<class T> void Eigen::PlainObjectBase<Derived>::_init1(const Index&, typename Eigen::internal::enable_if<((((! Eigen::internal::is_same<long int, typename Eigen::internal::traits<T>::Scalar>::value) && (Eigen::internal::is_same<long int, T>::value)) && (typename Eigen::internal::dense_xpr_base<Derived>::type:: SizeAtCompileTime == 1)) && Eigen::internal::is_convertible<T, typename Eigen::internal::traits<T>::Scalar>::value), T*>::type*) [with T = MatrixView]':
- /Users/vlad/eigen/Eigen/src/Core/Matrix.h:296:31: required from 'Eigen::Matrix<_Scalar, _Rows, _Cols, _Options, _MaxRows, _MaxCols>::Matrix(const T&) [with T = MatrixView; _Scalar = double; int _Rows = 2; int _Cols = 2; int _Options = 0; int _MaxRows = 2; int _MaxCols = 2]'
- /Users/vlad/Dropbox/programming/cpp/scratch/so.cpp:16:35: required from here
- /Users/vlad/eigen/Eigen/src/Core/PlainObjectBase.h:757:30: error: invalid use of incomplete type 'struct Eigen::internal::enable_if<false, MatrixView*>'
- In file included from /Users/vlad/eigen/Eigen/Core:295:0,
- from /Users/vlad/eigen/Eigen/Dense:1,
- from /Users/vlad/Dropbox/programming/cpp/scratch/so.cpp:2:
- /Users/vlad/eigen/Eigen/src/Core/util/Meta.h:114:45: note: declaration of 'struct Eigen::internal::enable_if<false, MatrixView*>'
- template<bool Condition, typename T> struct enable_if;
- ^
- In file included from /Users/vlad/eigen/Eigen/Core:365:0,
- from /Users/vlad/eigen/Eigen/Dense:1,
- from /Users/vlad/Dropbox/programming/cpp/scratch/so.cpp:2:
- /Users/vlad/eigen/Eigen/src/Core/Matrix.h: In instantiation of 'Eigen::Matrix<_Scalar, _Rows, _Cols, _Options, _MaxRows, _MaxCols>::Matrix(const T&) [with T = MatrixView; _Scalar = double; int _Rows = 2; int _Cols = 2; int _Options = 0; int _MaxRows = 2; int _MaxCols = 2]':
- /Users/vlad/Dropbox/programming/cpp/scratch/so.cpp:16:35: required from here
- /Users/vlad/eigen/Eigen/src/Core/PlainObjectBase.h:770:30: note: candidate: template<class T> void Eigen::PlainObjectBase<Derived>::_init1(const Scalar*) [with T = T; Derived = Eigen::Matrix<double, 2, 2>]
- EIGEN_STRONG_INLINE void _init1(const Scalar* data){
- ^
- /Users/vlad/eigen/Eigen/src/Core/PlainObjectBase.h:770:30: note: template argument deduction/substitution failed:
- In file included from /Users/vlad/eigen/Eigen/Core:366:0,
- from /Users/vlad/eigen/Eigen/Dense:1,
- from /Users/vlad/Dropbox/programming/cpp/scratch/so.cpp:2:
- /Users/vlad/eigen/Eigen/src/Core/Matrix.h:296:31: note: cannot convert 'x' (type 'const MatrixView') to type 'const Scalar* {aka const double*}'
- Base::template _init1<T>(x);
- ^
- In file included from /Users/vlad/eigen/Eigen/Core:365:0,
- from /Users/vlad/eigen/Eigen/Dense:1,
- from /Users/vlad/Dropbox/programming/cpp/scratch/so.cpp:2:
- /Users/vlad/eigen/Eigen/src/Core/PlainObjectBase.h:777:30: note: candidate: template<class T, class OtherDerived> void Eigen::PlainObjectBase<Derived>::_init1(const Eigen::DenseBase<ElseDerived>&) [with T = T; OtherDerived = OtherDerived; Derived = Eigen::Matrix<double, 2, 2>]
- EIGEN_STRONG_INLINE void _init1(const DenseBase<OtherDerived>& other){
- ^
- /Users/vlad/eigen/Eigen/src/Core/PlainObjectBase.h:777:30: note: template argument deduction/substitution failed:
- In file included from /Users/vlad/eigen/Eigen/Core:366:0,
- from /Users/vlad/eigen/Eigen/Dense:1,
- from /Users/vlad/Dropbox/programming/cpp/scratch/so.cpp:2:
- /Users/vlad/eigen/Eigen/src/Core/Matrix.h:296:31: note: 'const MatrixView' is not derived from 'const Eigen::DenseBase<Derived>'
- Base::template _init1<T>(x);
- ^
- In file included from /Users/vlad/eigen/Eigen/Core:365:0,
- from /Users/vlad/eigen/Eigen/Dense:1,
- from /Users/vlad/Dropbox/programming/cpp/scratch/so.cpp:2:
- /Users/vlad/eigen/Eigen/src/Core/PlainObjectBase.h:784:30: note: candidate: template<class T, class OtherDerived> void Eigen::PlainObjectBase<Derived>::_init1(const Eigen::EigenBase<OtherDerived>&) [with T = T; OtherDerived = OtherDerived; Derived = Eigen::Matrix<double, 2, 2>]
- EIGEN_STRONG_INLINE void _init1(const EigenBase<OtherDerived>& other){
- ^
- /Users/vlad/eigen/Eigen/src/Core/PlainObjectBase.h:784:30: note: template argument deduction/substitution failed:
- In file included from /Users/vlad/eigen/Eigen/Core:366:0,
- from /Users/vlad/eigen/Eigen/Dense:1,
- from /Users/vlad/Dropbox/programming/cpp/scratch/so.cpp:2:
- /Users/vlad/eigen/Eigen/src/Core/Matrix.h:296:31: note: 'const MatrixView' is not derived from 'const Eigen::EigenBase<OtherDerived>'
- Base::template _init1<T>(x);
- ^
- In file included from /Users/vlad/eigen/Eigen/Core:365:0,
- from /Users/vlad/eigen/Eigen/Dense:1,
- from /Users/vlad/Dropbox/programming/cpp/scratch/so.cpp:2:
- /Users/vlad/eigen/Eigen/src/Core/PlainObjectBase.h:790:30: note: candidate: template<class T, class OtherDerived> void Eigen::PlainObjectBase<Derived>::_init1(const Eigen::ReturnByValue<OtherDerived>&) [with T = T; OtherDerived = OtherDerived; Derived = Eigen::Matrix<double, 2, 2>]
- EIGEN_STRONG_INLINE void _init1(const ReturnByValue<OtherDerived>& other)
- ^
- /Users/vlad/eigen/Eigen/src/Core/PlainObjectBase.h:790:30: note: template argument deduction/substitution failed:
- In file included from /Users/vlad/eigen/Eigen/Core:366:0,
- from /Users/vlad/eigen/Eigen/Dense:1,
- from /Users/vlad/Dropbox/programming/cpp/scratch/so.cpp:2:
- /Users/vlad/eigen/Eigen/src/Core/Matrix.h:296:31: note: 'const MatrixView' is not derived from 'const Eigen::ReturnByValue<OtherDerived>'
- Base::template _init1<T>(x);
- ^
- In file included from /Users/vlad/eigen/Eigen/Core:365:0,
- from /Users/vlad/eigen/Eigen/Dense:1,
- from /Users/vlad/Dropbox/programming/cpp/scratch/so.cpp:2:
- /Users/vlad/eigen/Eigen/src/Core/PlainObjectBase.h:798:30: note: candidate: template<class T, class OtherDerived, int ColsAtCompileTime> void Eigen::PlainObjectBase<Derived>::_init1(const Eigen::RotationBase<OtherDerived, ColsAtCompileTime>&) [with T = T; OtherDerived = OtherDerived; int ColsAtCompileTime = ColsAtCompileTime; Derived = Eigen::Matrix<double, 2, 2>]
- EIGEN_STRONG_INLINE void _init1(const RotationBase<OtherDerived,ColsAtCompileTime>& r)
- ^
- /Users/vlad/eigen/Eigen/src/Core/PlainObjectBase.h:798:30: note: template argument deduction/substitution failed:
- In file included from /Users/vlad/eigen/Eigen/Core:366:0,
- from /Users/vlad/eigen/Eigen/Dense:1,
- from /Users/vlad/Dropbox/programming/cpp/scratch/so.cpp:2:
- /Users/vlad/eigen/Eigen/src/Core/Matrix.h:296:31: note: 'const MatrixView' is not derived from 'const Eigen::RotationBase<OtherDerived, ColsAtCompileTime>'
- Base::template _init1<T>(x);
- ^
- In file included from /Users/vlad/eigen/Eigen/Core:365:0,
- from /Users/vlad/eigen/Eigen/Dense:1,
- from /Users/vlad/Dropbox/programming/cpp/scratch/so.cpp:2:
- /Users/vlad/eigen/Eigen/src/Core/PlainObjectBase.h:806:30: note: candidate: template<class T> void Eigen::PlainObjectBase<Derived>::_init1(const Scalar&, typename Eigen::internal::enable_if<((((typename Eigen::internal::dense_xpr_base<Derived>::type:: SizeAtCompileTime != Eigen::Dynamic) && (typename Eigen::internal::dense_xpr_base<Derived>::type:: SizeAtCompileTime != 1)) && Eigen::internal::is_convertible<T, typename Eigen::internal::traits<T>::Scalar>::value) && Eigen::internal::is_same<typename Eigen::internal::traits<T>::XprKind, Eigen::ArrayXpr>::value), T>::type*) [with T = T; Derived = Eigen::Matrix<double, 2, 2>]
- EIGEN_STRONG_INLINE void _init1(const Scalar& val0,
- ^
- /Users/vlad/eigen/Eigen/src/Core/PlainObjectBase.h:806:30: note: template argument deduction/substitution failed:
- /Users/vlad/eigen/Eigen/src/Core/PlainObjectBase.h: In substitution of 'template<class T> void Eigen::PlainObjectBase<Derived>::_init1(const Scalar&, typename Eigen::internal::enable_if<((((typename Eigen::internal::dense_xpr_base<Derived>::type:: SizeAtCompileTime != Eigen::Dynamic) && (typename Eigen::internal::dense_xpr_base<Derived>::type:: SizeAtCompileTime != 1)) && Eigen::internal::is_convertible<T, typename Eigen::internal::traits<T>::Scalar>::value) && Eigen::internal::is_same<typename Eigen::internal::traits<T>::XprKind, Eigen::ArrayXpr>::value), T>::type*) [with T = MatrixView]':
- /Users/vlad/eigen/Eigen/src/Core/Matrix.h:296:31: required from 'Eigen::Matrix<_Scalar, _Rows, _Cols, _Options, _MaxRows, _MaxCols>::Matrix(const T&) [with T = MatrixView; _Scalar = double; int _Rows = 2; int _Cols = 2; int _Options = 0; int _MaxRows = 2; int _MaxCols = 2]'
- /Users/vlad/Dropbox/programming/cpp/scratch/so.cpp:16:35: required from here
- /Users/vlad/eigen/Eigen/src/Core/PlainObjectBase.h:806:30: error: invalid use of incomplete type 'struct Eigen::internal::enable_if<false, MatrixView>'
- In file included from /Users/vlad/eigen/Eigen/Core:295:0,
- from /Users/vlad/eigen/Eigen/Dense:1,
- from /Users/vlad/Dropbox/programming/cpp/scratch/so.cpp:2:
- /Users/vlad/eigen/Eigen/src/Core/util/Meta.h:114:45: note: declaration of 'struct Eigen::internal::enable_if<false, MatrixView>'
- template<bool Condition, typename T> struct enable_if;
- ^
- In file included from /Users/vlad/eigen/Eigen/Core:365:0,
- from /Users/vlad/eigen/Eigen/Dense:1,
- from /Users/vlad/Dropbox/programming/cpp/scratch/so.cpp:2:
- /Users/vlad/eigen/Eigen/src/Core/Matrix.h: In instantiation of 'Eigen::Matrix<_Scalar, _Rows, _Cols, _Options, _MaxRows, _MaxCols>::Matrix(const T&) [with T = MatrixView; _Scalar = double; int _Rows = 2; int _Cols = 2; int _Options = 0; int _MaxRows = 2; int _MaxCols = 2]':
- /Users/vlad/Dropbox/programming/cpp/scratch/so.cpp:16:35: required from here
- /Users/vlad/eigen/Eigen/src/Core/PlainObjectBase.h:817:30: note: candidate: template<class T> void Eigen::PlainObjectBase<Derived>::_init1(const Index&, typename Eigen::internal::enable_if<((((((! Eigen::internal::is_same<long int, typename Eigen::internal::traits<T>::Scalar>::value) && (Eigen::internal::is_same<long int, T>::value)) && (typename Eigen::internal::dense_xpr_base<Derived>::type:: SizeAtCompileTime != Eigen::Dynamic)) && (typename Eigen::internal::dense_xpr_base<Derived>::type:: SizeAtCompileTime != 1)) && Eigen::internal::is_convertible<T, typename Eigen::internal::traits<T>::Scalar>::value) && Eigen::internal::is_same<typename Eigen::internal::traits<T>::XprKind, Eigen::ArrayXpr>::value), T*>::type*) [with T = T; Derived = Eigen::Matrix<double, 2, 2>]
- EIGEN_STRONG_INLINE void _init1(const Index& val0,
- ^
- /Users/vlad/eigen/Eigen/src/Core/PlainObjectBase.h:817:30: note: template argument deduction/substitution failed:
- /Users/vlad/eigen/Eigen/src/Core/PlainObjectBase.h: In substitution of 'template<class T> void Eigen::PlainObjectBase<Derived>::_init1(const Index&, typename Eigen::internal::enable_if<((((((! Eigen::internal::is_same<long int, typename Eigen::internal::traits<T>::Scalar>::value) && (Eigen::internal::is_same<long int, T>::value)) && (typename Eigen::internal::dense_xpr_base<Derived>::type:: SizeAtCompileTime != Eigen::Dynamic)) && (typename Eigen::internal::dense_xpr_base<Derived>::type:: SizeAtCompileTime != 1)) && Eigen::internal::is_convertible<T, typename Eigen::internal::traits<T>::Scalar>::value) && Eigen::internal::is_same<typename Eigen::internal::traits<T>::XprKind, Eigen::ArrayXpr>::value), T*>::type*) [with T = MatrixView]':
- /Users/vlad/eigen/Eigen/src/Core/Matrix.h:296:31: required from 'Eigen::Matrix<_Scalar, _Rows, _Cols, _Options, _MaxRows, _MaxCols>::Matrix(const T&) [with T = MatrixView; _Scalar = double; int _Rows = 2; int _Cols = 2; int _Options = 0; int _MaxRows = 2; int _MaxCols = 2]'
- /Users/vlad/Dropbox/programming/cpp/scratch/so.cpp:16:35: required from here
- /Users/vlad/eigen/Eigen/src/Core/PlainObjectBase.h:817:30: error: invalid use of incomplete type 'struct Eigen::internal::enable_if<false, MatrixView*>'
- In file included from /Users/vlad/eigen/Eigen/Core:295:0,
- from /Users/vlad/eigen/Eigen/Dense:1,
- from /Users/vlad/Dropbox/programming/cpp/scratch/so.cpp:2:
- /Users/vlad/eigen/Eigen/src/Core/util/Meta.h:114:45: note: declaration of 'struct Eigen::internal::enable_if<false, MatrixView*>'
- template<bool Condition, typename T> struct enable_if;
- ^
- [Finished in 1.9s with exit code 1]
- [cmd: ['/opt/local/bin/g++', '-std=c++14', '-Wall', '-Wextra', '-Wpedantic', '-Weffc++', '-fopenmp', '-O3', '-I/Users/vlad/Dropbox/programming/cpp/qpp_clion/include', '-isystem/Users/vlad/boost/', '-isystem/Users/vlad/eigen', '-isystem/Users/vlad/gmock/gtest/include/', '-L/Users/vlad/gmock/build/', '-lgmock', '/Users/vlad/Dropbox/programming/cpp/scratch/so.cpp', '-o', '/Users/vlad/Dropbox/programming/cpp/scratch/so']]
- [dir: /Users/vlad/Dropbox/programming/cpp/scratch]
- [path: /usr/bin:/bin:/usr/sbin:/sbin]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement