Advertisement
Guest User

error

a guest
Oct 15th, 2015
219
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 19.19 KB | None | 0 0
  1. In file included from /Users/vlad/eigen/Eigen/Core:366:0,
  2. from /Users/vlad/eigen/Eigen/Dense:1,
  3. from /Users/vlad/Dropbox/programming/cpp/scratch/so.cpp:2:
  4. /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]':
  5. /Users/vlad/Dropbox/programming/cpp/scratch/so.cpp:16:35: required from here
  6. /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&)'
  7. Base::template _init1<T>(x);
  8. ^
  9. In file included from /Users/vlad/eigen/Eigen/Core:365:0,
  10. from /Users/vlad/eigen/Eigen/Dense:1,
  11. from /Users/vlad/Dropbox/programming/cpp/scratch/so.cpp:2:
  12. /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>]
  13. EIGEN_STRONG_INLINE void _init1(Index size, typename internal::enable_if< (Base::SizeAtCompileTime!=1 || !internal::is_convertible<T, Scalar>::value)
  14. ^
  15. /Users/vlad/eigen/Eigen/src/Core/PlainObjectBase.h:735:30: note: template argument deduction/substitution failed:
  16. In file included from /Users/vlad/eigen/Eigen/Core:366:0,
  17. from /Users/vlad/eigen/Eigen/Dense:1,
  18. from /Users/vlad/Dropbox/programming/cpp/scratch/so.cpp:2:
  19. /Users/vlad/eigen/Eigen/src/Core/Matrix.h:296:31: note: cannot convert 'x' (type 'const MatrixView') to type 'Eigen::Index {aka long int}'
  20. Base::template _init1<T>(x);
  21. ^
  22. In file included from /Users/vlad/eigen/Eigen/Core:365:0,
  23. from /Users/vlad/eigen/Eigen/Dense:1,
  24. from /Users/vlad/Dropbox/programming/cpp/scratch/so.cpp:2:
  25. /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>]
  26. EIGEN_STRONG_INLINE void _init1(const Scalar& val0, typename internal::enable_if<Base::SizeAtCompileTime==1 && internal::is_convertible<T, Scalar>::value,T>::type* = 0)
  27. ^
  28. /Users/vlad/eigen/Eigen/src/Core/PlainObjectBase.h:748:30: note: template argument deduction/substitution failed:
  29. /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]':
  30. /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]'
  31. /Users/vlad/Dropbox/programming/cpp/scratch/so.cpp:16:35: required from here
  32. /Users/vlad/eigen/Eigen/src/Core/PlainObjectBase.h:748:30: error: invalid use of incomplete type 'struct Eigen::internal::enable_if<false, MatrixView>'
  33. In file included from /Users/vlad/eigen/Eigen/Core:295:0,
  34. from /Users/vlad/eigen/Eigen/Dense:1,
  35. from /Users/vlad/Dropbox/programming/cpp/scratch/so.cpp:2:
  36. /Users/vlad/eigen/Eigen/src/Core/util/Meta.h:114:45: note: declaration of 'struct Eigen::internal::enable_if<false, MatrixView>'
  37. template<bool Condition, typename T> struct enable_if;
  38. ^
  39. In file included from /Users/vlad/eigen/Eigen/Core:365:0,
  40. from /Users/vlad/eigen/Eigen/Dense:1,
  41. from /Users/vlad/Dropbox/programming/cpp/scratch/so.cpp:2:
  42. /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]':
  43. /Users/vlad/Dropbox/programming/cpp/scratch/so.cpp:16:35: required from here
  44. /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>]
  45. EIGEN_STRONG_INLINE void _init1(const Index& val0,
  46. ^
  47. /Users/vlad/eigen/Eigen/src/Core/PlainObjectBase.h:757:30: note: template argument deduction/substitution failed:
  48. /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]':
  49. /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]'
  50. /Users/vlad/Dropbox/programming/cpp/scratch/so.cpp:16:35: required from here
  51. /Users/vlad/eigen/Eigen/src/Core/PlainObjectBase.h:757:30: error: invalid use of incomplete type 'struct Eigen::internal::enable_if<false, MatrixView*>'
  52. In file included from /Users/vlad/eigen/Eigen/Core:295:0,
  53. from /Users/vlad/eigen/Eigen/Dense:1,
  54. from /Users/vlad/Dropbox/programming/cpp/scratch/so.cpp:2:
  55. /Users/vlad/eigen/Eigen/src/Core/util/Meta.h:114:45: note: declaration of 'struct Eigen::internal::enable_if<false, MatrixView*>'
  56. template<bool Condition, typename T> struct enable_if;
  57. ^
  58. In file included from /Users/vlad/eigen/Eigen/Core:365:0,
  59. from /Users/vlad/eigen/Eigen/Dense:1,
  60. from /Users/vlad/Dropbox/programming/cpp/scratch/so.cpp:2:
  61. /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]':
  62. /Users/vlad/Dropbox/programming/cpp/scratch/so.cpp:16:35: required from here
  63. /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>]
  64. EIGEN_STRONG_INLINE void _init1(const Scalar* data){
  65. ^
  66. /Users/vlad/eigen/Eigen/src/Core/PlainObjectBase.h:770:30: note: template argument deduction/substitution failed:
  67. In file included from /Users/vlad/eigen/Eigen/Core:366:0,
  68. from /Users/vlad/eigen/Eigen/Dense:1,
  69. from /Users/vlad/Dropbox/programming/cpp/scratch/so.cpp:2:
  70. /Users/vlad/eigen/Eigen/src/Core/Matrix.h:296:31: note: cannot convert 'x' (type 'const MatrixView') to type 'const Scalar* {aka const double*}'
  71. Base::template _init1<T>(x);
  72. ^
  73. In file included from /Users/vlad/eigen/Eigen/Core:365:0,
  74. from /Users/vlad/eigen/Eigen/Dense:1,
  75. from /Users/vlad/Dropbox/programming/cpp/scratch/so.cpp:2:
  76. /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>]
  77. EIGEN_STRONG_INLINE void _init1(const DenseBase<OtherDerived>& other){
  78. ^
  79. /Users/vlad/eigen/Eigen/src/Core/PlainObjectBase.h:777:30: note: template argument deduction/substitution failed:
  80. In file included from /Users/vlad/eigen/Eigen/Core:366:0,
  81. from /Users/vlad/eigen/Eigen/Dense:1,
  82. from /Users/vlad/Dropbox/programming/cpp/scratch/so.cpp:2:
  83. /Users/vlad/eigen/Eigen/src/Core/Matrix.h:296:31: note: 'const MatrixView' is not derived from 'const Eigen::DenseBase<Derived>'
  84. Base::template _init1<T>(x);
  85. ^
  86. In file included from /Users/vlad/eigen/Eigen/Core:365:0,
  87. from /Users/vlad/eigen/Eigen/Dense:1,
  88. from /Users/vlad/Dropbox/programming/cpp/scratch/so.cpp:2:
  89. /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>]
  90. EIGEN_STRONG_INLINE void _init1(const EigenBase<OtherDerived>& other){
  91. ^
  92. /Users/vlad/eigen/Eigen/src/Core/PlainObjectBase.h:784:30: note: template argument deduction/substitution failed:
  93. In file included from /Users/vlad/eigen/Eigen/Core:366:0,
  94. from /Users/vlad/eigen/Eigen/Dense:1,
  95. from /Users/vlad/Dropbox/programming/cpp/scratch/so.cpp:2:
  96. /Users/vlad/eigen/Eigen/src/Core/Matrix.h:296:31: note: 'const MatrixView' is not derived from 'const Eigen::EigenBase<OtherDerived>'
  97. Base::template _init1<T>(x);
  98. ^
  99. In file included from /Users/vlad/eigen/Eigen/Core:365:0,
  100. from /Users/vlad/eigen/Eigen/Dense:1,
  101. from /Users/vlad/Dropbox/programming/cpp/scratch/so.cpp:2:
  102. /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>]
  103. EIGEN_STRONG_INLINE void _init1(const ReturnByValue<OtherDerived>& other)
  104. ^
  105. /Users/vlad/eigen/Eigen/src/Core/PlainObjectBase.h:790:30: note: template argument deduction/substitution failed:
  106. In file included from /Users/vlad/eigen/Eigen/Core:366:0,
  107. from /Users/vlad/eigen/Eigen/Dense:1,
  108. from /Users/vlad/Dropbox/programming/cpp/scratch/so.cpp:2:
  109. /Users/vlad/eigen/Eigen/src/Core/Matrix.h:296:31: note: 'const MatrixView' is not derived from 'const Eigen::ReturnByValue<OtherDerived>'
  110. Base::template _init1<T>(x);
  111. ^
  112. In file included from /Users/vlad/eigen/Eigen/Core:365:0,
  113. from /Users/vlad/eigen/Eigen/Dense:1,
  114. from /Users/vlad/Dropbox/programming/cpp/scratch/so.cpp:2:
  115. /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>]
  116. EIGEN_STRONG_INLINE void _init1(const RotationBase<OtherDerived,ColsAtCompileTime>& r)
  117. ^
  118. /Users/vlad/eigen/Eigen/src/Core/PlainObjectBase.h:798:30: note: template argument deduction/substitution failed:
  119. In file included from /Users/vlad/eigen/Eigen/Core:366:0,
  120. from /Users/vlad/eigen/Eigen/Dense:1,
  121. from /Users/vlad/Dropbox/programming/cpp/scratch/so.cpp:2:
  122. /Users/vlad/eigen/Eigen/src/Core/Matrix.h:296:31: note: 'const MatrixView' is not derived from 'const Eigen::RotationBase<OtherDerived, ColsAtCompileTime>'
  123. Base::template _init1<T>(x);
  124. ^
  125. In file included from /Users/vlad/eigen/Eigen/Core:365:0,
  126. from /Users/vlad/eigen/Eigen/Dense:1,
  127. from /Users/vlad/Dropbox/programming/cpp/scratch/so.cpp:2:
  128. /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>]
  129. EIGEN_STRONG_INLINE void _init1(const Scalar& val0,
  130. ^
  131. /Users/vlad/eigen/Eigen/src/Core/PlainObjectBase.h:806:30: note: template argument deduction/substitution failed:
  132. /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]':
  133. /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]'
  134. /Users/vlad/Dropbox/programming/cpp/scratch/so.cpp:16:35: required from here
  135. /Users/vlad/eigen/Eigen/src/Core/PlainObjectBase.h:806:30: error: invalid use of incomplete type 'struct Eigen::internal::enable_if<false, MatrixView>'
  136. In file included from /Users/vlad/eigen/Eigen/Core:295:0,
  137. from /Users/vlad/eigen/Eigen/Dense:1,
  138. from /Users/vlad/Dropbox/programming/cpp/scratch/so.cpp:2:
  139. /Users/vlad/eigen/Eigen/src/Core/util/Meta.h:114:45: note: declaration of 'struct Eigen::internal::enable_if<false, MatrixView>'
  140. template<bool Condition, typename T> struct enable_if;
  141. ^
  142. In file included from /Users/vlad/eigen/Eigen/Core:365:0,
  143. from /Users/vlad/eigen/Eigen/Dense:1,
  144. from /Users/vlad/Dropbox/programming/cpp/scratch/so.cpp:2:
  145. /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]':
  146. /Users/vlad/Dropbox/programming/cpp/scratch/so.cpp:16:35: required from here
  147. /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>]
  148. EIGEN_STRONG_INLINE void _init1(const Index& val0,
  149. ^
  150. /Users/vlad/eigen/Eigen/src/Core/PlainObjectBase.h:817:30: note: template argument deduction/substitution failed:
  151. /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]':
  152. /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]'
  153. /Users/vlad/Dropbox/programming/cpp/scratch/so.cpp:16:35: required from here
  154. /Users/vlad/eigen/Eigen/src/Core/PlainObjectBase.h:817:30: error: invalid use of incomplete type 'struct Eigen::internal::enable_if<false, MatrixView*>'
  155. In file included from /Users/vlad/eigen/Eigen/Core:295:0,
  156. from /Users/vlad/eigen/Eigen/Dense:1,
  157. from /Users/vlad/Dropbox/programming/cpp/scratch/so.cpp:2:
  158. /Users/vlad/eigen/Eigen/src/Core/util/Meta.h:114:45: note: declaration of 'struct Eigen::internal::enable_if<false, MatrixView*>'
  159. template<bool Condition, typename T> struct enable_if;
  160. ^
  161. [Finished in 1.9s with exit code 1]
  162. [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']]
  163. [dir: /Users/vlad/Dropbox/programming/cpp/scratch]
  164. [path: /usr/bin:/bin:/usr/sbin:/sbin]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement