Advertisement
E1Dor4do

dlib in Qt for stackoverflow

Nov 9th, 2015
181
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 52.54 KB | None | 0 0
  1. 12:52:46: Starting: "/usr/bin/make"
  2. /usr/lib64/qt5/bin/uic ../../OpenCVPlayer/mainwindow.ui -o ui_mainwindow.h
  3. g++ -c -pipe -g -Wall -W -D_REENTRANT -fPIC -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I../../OpenCVPlayer -I. -I../../OpenCVPlayer/opencv/include -I../../OpenCVPlayer/dlib/include -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtCore -I. -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o main.o ../../OpenCVPlayer/main.cpp
  4. In file included from ../../OpenCVPlayer/dlib/include/dlib/image_processing/../matrix.h:11:0,
  5. from ../../OpenCVPlayer/dlib/include/dlib/image_processing/scan_image.h:9,
  6. from ../../OpenCVPlayer/dlib/include/dlib/image_processing.h:6,
  7. from ../../OpenCVPlayer/trackerdlib.h:9,
  8. from ../../OpenCVPlayer/opencvplayer.h:19,
  9. from ../../OpenCVPlayer/mainwindow.h:7,
  10. from ../../OpenCVPlayer/main.cpp:1:
  11. ../../OpenCVPlayer/dlib/include/dlib/image_processing/../matrix/matrix_la.h:64:45: error: macro "sign" passed 2 arguments, but takes just 1
  12. inline T sign(const T& a, const T& b)
  13. ^
  14. ../../OpenCVPlayer/dlib/include/dlib/image_processing/../matrix/matrix_la.h:158:49: error: macro "sign" passed 2 arguments, but takes just 1
  15. g = -sign(std::sqrt(s),f);
  16. ^
  17. ../../OpenCVPlayer/dlib/include/dlib/image_processing/../matrix/matrix_la.h:194:49: error: macro "sign" passed 2 arguments, but takes just 1
  18. g = -sign(std::sqrt(s),f);
  19. ^
  20. ../../OpenCVPlayer/dlib/include/dlib/image_processing/../matrix/matrix_la.h:348:57: error: macro "sign" passed 2 arguments, but takes just 1
  21. f = ((x-z)*(x+z) + h*((y/(f+sign(g,f)))-h))/x;
  22. ^
  23. In file included from ../../OpenCVPlayer/opencvplayer.h:14:0,
  24. from ../../OpenCVPlayer/mainwindow.h:7,
  25. from ../../OpenCVPlayer/main.cpp:1:
  26. ../../OpenCVPlayer/trackerabstract.h:19:37: warning: unused parameter 'frame' [-Wunused-parameter]
  27. virtual void initialize(cv::Mat frame, cv::Rect bbFrame) {}
  28. ^
  29. ../../OpenCVPlayer/trackerabstract.h:19:53: warning: unused parameter 'bbFrame' [-Wunused-parameter]
  30. virtual void initialize(cv::Mat frame, cv::Rect bbFrame) {}
  31. ^
  32. ../../OpenCVPlayer/trackerabstract.h:21:39: warning: unused parameter 'frame' [-Wunused-parameter]
  33. virtual void processImage(cv::Mat frame) {}
  34. ^
  35. In file included from ../../OpenCVPlayer/opencvplayer.h:16:0,
  36. from ../../OpenCVPlayer/mainwindow.h:7,
  37. from ../../OpenCVPlayer/main.cpp:1:
  38. ../../OpenCVPlayer/trackercolor.h:18:29: warning: non-static data member initializers only available with -std=c++11 or -std=gnu++11
  39. const float* phranges = hranges;
  40. ^
  41. In file included from ../../OpenCVPlayer/CppMT/common.h:11:0,
  42. from ../../OpenCVPlayer/CppMT/CMT.h:5,
  43. from ../../OpenCVPlayer/trackercluster.h:7,
  44. from ../../OpenCVPlayer/opencvplayer.h:17,
  45. from ../../OpenCVPlayer/mainwindow.h:7,
  46. from ../../OpenCVPlayer/main.cpp:1:
  47. ../../OpenCVPlayer/CppMT/logging/log.h: In function 'std::string NowTime()':
  48. ../../OpenCVPlayer/CppMT/logging/log.h:161:14: warning: missing initializer for member 'tm::tm_min' [-Wmissing-field-initializers]
  49. tm r = {0};
  50. ^
  51. ../../OpenCVPlayer/CppMT/logging/log.h:161:14: warning: missing initializer for member 'tm::tm_hour' [-Wmissing-field-initializers]
  52. ../../OpenCVPlayer/CppMT/logging/log.h:161:14: warning: missing initializer for member 'tm::tm_mday' [-Wmissing-field-initializers]
  53. ../../OpenCVPlayer/CppMT/logging/log.h:161:14: warning: missing initializer for member 'tm::tm_mon' [-Wmissing-field-initializers]
  54. ../../OpenCVPlayer/CppMT/logging/log.h:161:14: warning: missing initializer for member 'tm::tm_year' [-Wmissing-field-initializers]
  55. ../../OpenCVPlayer/CppMT/logging/log.h:161:14: warning: missing initializer for member 'tm::tm_wday' [-Wmissing-field-initializers]
  56. ../../OpenCVPlayer/CppMT/logging/log.h:161:14: warning: missing initializer for member 'tm::tm_yday' [-Wmissing-field-initializers]
  57. ../../OpenCVPlayer/CppMT/logging/log.h:161:14: warning: missing initializer for member 'tm::tm_isdst' [-Wmissing-field-initializers]
  58. ../../OpenCVPlayer/CppMT/logging/log.h:161:14: warning: missing initializer for member 'tm::tm_gmtoff' [-Wmissing-field-initializers]
  59. ../../OpenCVPlayer/CppMT/logging/log.h:161:14: warning: missing initializer for member 'tm::tm_zone' [-Wmissing-field-initializers]
  60. In file included from ../../OpenCVPlayer/opencv/include/opencv2/tracking/tracker.hpp:48:0,
  61. from ../../OpenCVPlayer/opencv/include/opencv2/tracking.hpp:309,
  62. from ../../OpenCVPlayer/opencvplayer.h:12,
  63. from ../../OpenCVPlayer/mainwindow.h:7,
  64. from ../../OpenCVPlayer/main.cpp:1:
  65. ../../OpenCVPlayer/dlib/include/dlib/image_processing/../matrix/matrix_math_functions.h: At global scope:
  66. ../../OpenCVPlayer/dlib/include/dlib/image_processing/../matrix/matrix_math_functions.h:83:27: error: expected unqualified-id before 'const'
  67. inline type sign (const type& val)
  68. ^
  69. ../../OpenCVPlayer/opencv/include/opencv2/tracking/onlineMIL.hpp:57:21: note: in definition of macro 'sign'
  70. #define sign(s) ((s > 0 ) ? 1 : ((s<0) ? -1 : 0))
  71. ^
  72. ../../OpenCVPlayer/dlib/include/dlib/image_processing/../matrix/matrix_math_functions.h:83:27: error: expected ')' before 'const'
  73. inline type sign (const type& val)
  74. ^
  75. ../../OpenCVPlayer/opencv/include/opencv2/tracking/onlineMIL.hpp:57:21: note: in definition of macro 'sign'
  76. #define sign(s) ((s > 0 ) ? 1 : ((s<0) ? -1 : 0))
  77. ^
  78. ../../OpenCVPlayer/dlib/include/dlib/image_processing/../matrix/matrix_math_functions.h:83:27: error: expected ')' before 'const'
  79. inline type sign (const type& val)
  80. ^
  81. ../../OpenCVPlayer/opencv/include/opencv2/tracking/onlineMIL.hpp:57:21: note: in definition of macro 'sign'
  82. #define sign(s) ((s > 0 ) ? 1 : ((s<0) ? -1 : 0))
  83. ^
  84. ../../OpenCVPlayer/dlib/include/dlib/image_processing/../matrix/matrix_math_functions.h: In member function 'dlib::op_sign<M>::const_ret_type dlib::op_sign<M>::apply(long int, long int) const':
  85. ../../OpenCVPlayer/opencv/include/opencv2/tracking/onlineMIL.hpp:57:19: error: expected unqualified-id before '(' token
  86. #define sign(s) ((s > 0 ) ? 1 : ((s<0) ? -1 : 0))
  87. ^
  88. ../../OpenCVPlayer/dlib/include/dlib/image_processing/../matrix/matrix_op.h:367:62: note: in expansion of macro 'sign'
  89. const_ret_type apply (long r, long c) const { return function(m(r,c)); } \
  90. ^
  91. ../../OpenCVPlayer/dlib/include/dlib/image_processing/../matrix/matrix_op.h:380:5: note: in expansion of macro 'DLIB_DEFINE_OP_M'
  92. DLIB_DEFINE_OP_M(op_name, function, extra_cost) \
  93. ^
  94. ../../OpenCVPlayer/dlib/include/dlib/image_processing/../matrix/matrix_math_functions.h:165:5: note: in expansion of macro 'DLIB_DEFINE_FUNCTION_M'
  95. DLIB_DEFINE_FUNCTION_M(op_sign, sign, impl::sign, 6);
  96. ^
  97. ../../OpenCVPlayer/dlib/include/dlib/image_processing/../matrix/matrix_math_functions.h: At global scope:
  98. ../../OpenCVPlayer/dlib/include/dlib/image_processing/../matrix/matrix_op.h:382:41: error: expected unqualified-id before 'const'
  99. const matrix_op<op_name<M> > name ( const matrix_exp<M>& m) \
  100. ^
  101. ../../OpenCVPlayer/opencv/include/opencv2/tracking/onlineMIL.hpp:57:21: note: in definition of macro 'sign'
  102. #define sign(s) ((s > 0 ) ? 1 : ((s<0) ? -1 : 0))
  103. ^
  104. ../../OpenCVPlayer/dlib/include/dlib/image_processing/../matrix/matrix_math_functions.h:165:5: note: in expansion of macro 'DLIB_DEFINE_FUNCTION_M'
  105. DLIB_DEFINE_FUNCTION_M(op_sign, sign, impl::sign, 6);
  106. ^
  107. ../../OpenCVPlayer/dlib/include/dlib/image_processing/../matrix/matrix_op.h:382:41: error: expected ')' before 'const'
  108. const matrix_op<op_name<M> > name ( const matrix_exp<M>& m) \
  109. ^
  110. ../../OpenCVPlayer/opencv/include/opencv2/tracking/onlineMIL.hpp:57:21: note: in definition of macro 'sign'
  111. #define sign(s) ((s > 0 ) ? 1 : ((s<0) ? -1 : 0))
  112. ^
  113. ../../OpenCVPlayer/dlib/include/dlib/image_processing/../matrix/matrix_math_functions.h:165:5: note: in expansion of macro 'DLIB_DEFINE_FUNCTION_M'
  114. DLIB_DEFINE_FUNCTION_M(op_sign, sign, impl::sign, 6);
  115. ^
  116. ../../OpenCVPlayer/dlib/include/dlib/image_processing/../matrix/matrix_op.h:382:41: error: expected ')' before 'const'
  117. const matrix_op<op_name<M> > name ( const matrix_exp<M>& m) \
  118. ^
  119. ../../OpenCVPlayer/opencv/include/opencv2/tracking/onlineMIL.hpp:57:21: note: in definition of macro 'sign'
  120. #define sign(s) ((s > 0 ) ? 1 : ((s<0) ? -1 : 0))
  121. ^
  122. ../../OpenCVPlayer/dlib/include/dlib/image_processing/../matrix/matrix_math_functions.h:165:5: note: in expansion of macro 'DLIB_DEFINE_FUNCTION_M'
  123. DLIB_DEFINE_FUNCTION_M(op_sign, sign, impl::sign, 6);
  124. ^
  125. In file included from ../../OpenCVPlayer/dlib/include/dlib/image_processing/../matrix.h:11:0,
  126. from ../../OpenCVPlayer/dlib/include/dlib/image_processing/scan_image.h:9,
  127. from ../../OpenCVPlayer/dlib/include/dlib/image_processing.h:6,
  128. from ../../OpenCVPlayer/trackerdlib.h:9,
  129. from ../../OpenCVPlayer/opencvplayer.h:19,
  130. from ../../OpenCVPlayer/mainwindow.h:7,
  131. from ../../OpenCVPlayer/main.cpp:1:
  132. ../../OpenCVPlayer/dlib/include/dlib/image_processing/../matrix/matrix_la.h:64:18: error: 'dlib::nric::sign' declared as an 'inline' variable
  133. inline T sign(const T& a, const T& b)
  134. ^
  135. ../../OpenCVPlayer/dlib/include/dlib/image_processing/../matrix/matrix_la.h:64:18: error: template declaration of 'T dlib::nric::sign'
  136. ../../OpenCVPlayer/dlib/include/dlib/image_processing/../matrix/matrix_la.h:65:9: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11
  137. {
  138. ^
  139. ../../OpenCVPlayer/dlib/include/dlib/image_processing/../matrix/matrix_la.h:66:13: error: expected primary-expression before 'if'
  140. if (b < 0)
  141. ^
  142. ../../OpenCVPlayer/dlib/include/dlib/image_processing/../matrix/matrix_la.h:66:13: error: expected '}' before 'if'
  143. ../../OpenCVPlayer/dlib/include/dlib/image_processing/../matrix/matrix_la.h:70:13: error: expected unqualified-id before 'else'
  144. else
  145. ^
  146. ../../OpenCVPlayer/dlib/include/dlib/image_processing/../matrix/matrix_la.h: In function 'bool dlib::svdcmp(dlib::matrix<T, M, N, MM1, L1>&, dlib::matrix<T, wN, wX, MM2, L2>&, dlib::matrix<T, vN, vN, MM3, L3>&, dlib::matrix<T, rN, rX, MM4, L4>&)':
  147. ../../OpenCVPlayer/dlib/include/dlib/image_processing/../matrix/matrix_la.h:158:30: error: 'sign' was not declared in this scope
  148. g = -sign(std::sqrt(s),f);
  149. ^
  150. ../../OpenCVPlayer/dlib/include/dlib/image_processing/../matrix/matrix_la.h:194:30: error: 'sign' was not declared in this scope
  151. g = -sign(std::sqrt(s),f);
  152. ^
  153. ../../OpenCVPlayer/dlib/include/dlib/image_processing/../matrix/matrix_la.h:348:49: error: 'sign' was not declared in this scope
  154. f = ((x-z)*(x+z) + h*((y/(f+sign(g,f)))-h))/x;
  155. ^
  156. ../../OpenCVPlayer/dlib/include/dlib/image_processing/../matrix/matrix_la.h: At global scope:
  157. ../../OpenCVPlayer/dlib/include/dlib/image_processing/../matrix/matrix_la.h:419:15: error: 'matrix_exp' does not name a type
  158. const matrix_exp<EXP>& a,
  159. ^
  160. ../../OpenCVPlayer/dlib/include/dlib/image_processing/../matrix/matrix_la.h:419:25: error: expected ',' or '...' before '<' token
  161. const matrix_exp<EXP>& a,
  162. ^
  163. ../../OpenCVPlayer/dlib/include/dlib/image_processing/../matrix/matrix_la.h: In function 'long int svd2(bool, bool, int)':
  164. ../../OpenCVPlayer/dlib/include/dlib/image_processing/../matrix/matrix_la.h:451:25: error: 'matrix_exp' was not declared in this scope
  165. const long NR = matrix_exp<EXP>::NR;
  166. ^
  167. ../../OpenCVPlayer/dlib/include/dlib/image_processing/../matrix/matrix_la.h:451:25: note: suggested alternative:
  168. In file included from ../../OpenCVPlayer/dlib/include/dlib/image_processing/../matrix/matrix.h:6:0,
  169. from ../../OpenCVPlayer/dlib/include/dlib/image_processing/../matrix.h:6,
  170. from ../../OpenCVPlayer/dlib/include/dlib/image_processing/scan_image.h:9,
  171. from ../../OpenCVPlayer/dlib/include/dlib/image_processing.h:6,
  172. from ../../OpenCVPlayer/trackerdlib.h:9,
  173. from ../../OpenCVPlayer/opencvplayer.h:19,
  174. from ../../OpenCVPlayer/mainwindow.h:7,
  175. from ../../OpenCVPlayer/main.cpp:1:
  176. ../../OpenCVPlayer/dlib/include/dlib/image_processing/../matrix/matrix_exp.h:58:35: note: 'dlib::matrix_exp'
  177. template <typename EXP> class matrix_exp;
  178. ^
  179. In file included from ../../OpenCVPlayer/dlib/include/dlib/image_processing/../matrix.h:11:0,
  180. from ../../OpenCVPlayer/dlib/include/dlib/image_processing/scan_image.h:9,
  181. from ../../OpenCVPlayer/dlib/include/dlib/image_processing.h:6,
  182. from ../../OpenCVPlayer/trackerdlib.h:9,
  183. from ../../OpenCVPlayer/opencvplayer.h:19,
  184. from ../../OpenCVPlayer/mainwindow.h:7,
  185. from ../../OpenCVPlayer/main.cpp:1:
  186. ../../OpenCVPlayer/dlib/include/dlib/image_processing/../matrix/matrix_la.h:451:39: error: expected primary-expression before '>' token
  187. const long NR = matrix_exp<EXP>::NR;
  188. ^
  189. ../../OpenCVPlayer/dlib/include/dlib/image_processing/../matrix/matrix_la.h:451:40: error: '::NR' has not been declared
  190. const long NR = matrix_exp<EXP>::NR;
  191. ^
  192. ../../OpenCVPlayer/dlib/include/dlib/image_processing/../matrix/matrix_la.h:452:39: error: expected primary-expression before '>' token
  193. const long NC = matrix_exp<EXP>::NC;
  194. ^
  195. ../../OpenCVPlayer/dlib/include/dlib/image_processing/../matrix/matrix_la.h:452:40: error: '::NC' has not been declared
  196. const long NC = matrix_exp<EXP>::NC;
  197. ^
  198. In file included from ../../OpenCVPlayer/dlib/include/dlib/image_processing/../matrix/../algs.h:78:0,
  199. from ../../OpenCVPlayer/dlib/include/dlib/image_processing/../matrix/matrix_exp.h:6,
  200. from ../../OpenCVPlayer/dlib/include/dlib/image_processing/../matrix/matrix.h:6,
  201. from ../../OpenCVPlayer/dlib/include/dlib/image_processing/../matrix.h:6,
  202. from ../../OpenCVPlayer/dlib/include/dlib/image_processing/scan_image.h:9,
  203. from ../../OpenCVPlayer/dlib/include/dlib/image_processing.h:6,
  204. from ../../OpenCVPlayer/trackerdlib.h:9,
  205. from ../../OpenCVPlayer/opencvplayer.h:19,
  206. from ../../OpenCVPlayer/mainwindow.h:7,
  207. from ../../OpenCVPlayer/main.cpp:1:
  208. ../../OpenCVPlayer/dlib/include/dlib/image_processing/../matrix/../assert.h:76:119: error: template argument 1 is invalid
  209. DLIB_NO_WARN_UNUSED typedef char BOOST_JOIN(DLIB_CTA, __LINE__)[::dlib::compile_time_assert<(bool)(expression)>::value]
  210. ^
  211. ../../OpenCVPlayer/dlib/include/dlib/image_processing/../matrix/matrix_la.h:456:9: note: in expansion of macro 'COMPILE_TIME_ASSERT'
  212. COMPILE_TIME_ASSERT(NR == 0 || uM == 0 || NR == uM);
  213. ^
  214. ../../OpenCVPlayer/dlib/include/dlib/image_processing/../matrix/../assert.h:76:119: error: template argument 1 is invalid
  215. DLIB_NO_WARN_UNUSED typedef char BOOST_JOIN(DLIB_CTA, __LINE__)[::dlib::compile_time_assert<(bool)(expression)>::value]
  216. ^
  217. ../../OpenCVPlayer/dlib/include/dlib/image_processing/../matrix/matrix_la.h:457:9: note: in expansion of macro 'COMPILE_TIME_ASSERT'
  218. COMPILE_TIME_ASSERT(NC == 0 || vN == 0 || NC == vN);
  219. ^
  220. In file included from ../../OpenCVPlayer/dlib/include/dlib/image_processing/../matrix.h:11:0,
  221. from ../../OpenCVPlayer/dlib/include/dlib/image_processing/scan_image.h:9,
  222. from ../../OpenCVPlayer/dlib/include/dlib/image_processing.h:6,
  223. from ../../OpenCVPlayer/trackerdlib.h:9,
  224. from ../../OpenCVPlayer/opencvplayer.h:19,
  225. from ../../OpenCVPlayer/mainwindow.h:7,
  226. from ../../OpenCVPlayer/main.cpp:1:
  227. ../../OpenCVPlayer/dlib/include/dlib/image_processing/../matrix/matrix_la.h:503:24: error: 'a' was not declared in this scope
  228. const long m = a.nr();
  229. ^
  230. ../../OpenCVPlayer/dlib/include/dlib/image_processing/../matrix/matrix_la.h:508:9: error: 'matrix' was not declared in this scope
  231. matrix<T,qN,1,MM2> e(n,1);
  232. ^
  233. ../../OpenCVPlayer/dlib/include/dlib/image_processing/../matrix/matrix_la.h:508:9: note: suggested alternative:
  234. In file included from ../../OpenCVPlayer/dlib/include/dlib/image_processing/../matrix/matrix_exp.h:8:0,
  235. from ../../OpenCVPlayer/dlib/include/dlib/image_processing/../matrix/matrix.h:6,
  236. from ../../OpenCVPlayer/dlib/include/dlib/image_processing/../matrix.h:6,
  237. from ../../OpenCVPlayer/dlib/include/dlib/image_processing/scan_image.h:9,
  238. from ../../OpenCVPlayer/dlib/include/dlib/image_processing.h:6,
  239. from ../../OpenCVPlayer/trackerdlib.h:9,
  240. from ../../OpenCVPlayer/opencvplayer.h:19,
  241. from ../../OpenCVPlayer/mainwindow.h:7,
  242. from ../../OpenCVPlayer/main.cpp:1:
  243. ../../OpenCVPlayer/dlib/include/dlib/image_processing/../matrix/matrix_fwd.h:24:11: note: 'dlib::matrix'
  244. class matrix;
  245. ^
  246. In file included from ../../OpenCVPlayer/dlib/include/dlib/image_processing/../matrix.h:11:0,
  247. from ../../OpenCVPlayer/dlib/include/dlib/image_processing/scan_image.h:9,
  248. from ../../OpenCVPlayer/dlib/include/dlib/image_processing.h:6,
  249. from ../../OpenCVPlayer/trackerdlib.h:9,
  250. from ../../OpenCVPlayer/opencvplayer.h:19,
  251. from ../../OpenCVPlayer/mainwindow.h:7,
  252. from ../../OpenCVPlayer/main.cpp:1:
  253. ../../OpenCVPlayer/dlib/include/dlib/image_processing/../matrix/matrix_la.h:508:17: error: expected primary-expression before ',' token
  254. matrix<T,qN,1,MM2> e(n,1);
  255. ^
  256. ../../OpenCVPlayer/dlib/include/dlib/image_processing/../matrix/matrix_la.h:508:26: error: expected primary-expression before '>' token
  257. matrix<T,qN,1,MM2> e(n,1);
  258. ^
  259. ../../OpenCVPlayer/dlib/include/dlib/image_processing/../matrix/matrix_la.h:508:33: error: there are no arguments to 'e' that depend on a template parameter, so a declaration of 'e' must be available [-fpermissive]
  260. matrix<T,qN,1,MM2> e(n,1);
  261. ^
  262. ../../OpenCVPlayer/dlib/include/dlib/image_processing/../matrix/matrix_la.h:508:33: note: (if you use '-fpermissive', G++ will accept your code, but allowing the use of an undeclared name is deprecated)
  263. ../../OpenCVPlayer/dlib/include/dlib/image_processing/../matrix/matrix_la.h:509:9: error: 'q' was not declared in this scope
  264. q.set_size(n,1);
  265. ^
  266. ../../OpenCVPlayer/dlib/include/dlib/image_processing/../matrix/matrix_la.h:510:9: error: 'u' was not declared in this scope
  267. u.set_size(m,m);
  268. ^
  269. ../../OpenCVPlayer/dlib/include/dlib/image_processing/../matrix/matrix_la.h:515:13: error: 'v' was not declared in this scope
  270. v.set_size(n,n);
  271. ^
  272. ../../OpenCVPlayer/dlib/include/dlib/image_processing/../matrix/matrix_la.h:529:16: error: there are no arguments to 'e' that depend on a template parameter, so a declaration of 'e' must be available [-fpermissive]
  273. e(i) = g;
  274. ^
  275. ../../OpenCVPlayer/dlib/include/dlib/image_processing/../matrix/matrix_la.h:575:24: error: there are no arguments to 'e' that depend on a template parameter, so a declaration of 'e' must be available [-fpermissive]
  276. e(j) = u(i,j) / h;
  277. ^
  278. ../../OpenCVPlayer/dlib/include/dlib/image_processing/../matrix/matrix_la.h:585:43: error: there are no arguments to 'e' that depend on a template parameter, so a declaration of 'e' must be available [-fpermissive]
  279. u(j,k) += (s * e(k));
  280. ^
  281. ../../OpenCVPlayer/dlib/include/dlib/image_processing/../matrix/matrix_la.h:589:36: error: there are no arguments to 'e' that depend on a template parameter, so a declaration of 'e' must be available [-fpermissive]
  282. y = abs(q(i)) + abs(e(i));
  283. ^
  284. ../../OpenCVPlayer/dlib/include/dlib/image_processing/../matrix/matrix_la.h:604:30: error: there are no arguments to 'v' that depend on a template parameter, so a declaration of 'v' must be available [-fpermissive]
  285. v(j,i) = u(i,j)/h;
  286. ^
  287. ../../OpenCVPlayer/dlib/include/dlib/image_processing/../matrix/matrix_la.h:611:49: error: there are no arguments to 'v' that depend on a template parameter, so a declaration of 'v' must be available [-fpermissive]
  288. s += (u(i,k) * v(k,j));
  289. ^
  290. ../../OpenCVPlayer/dlib/include/dlib/image_processing/../matrix/matrix_la.h:614:34: error: there are no arguments to 'v' that depend on a template parameter, so a declaration of 'v' must be available [-fpermissive]
  291. v(k,j) += (s * v(k,i));
  292. ^
  293. ../../OpenCVPlayer/dlib/include/dlib/image_processing/../matrix/matrix_la.h:614:49: error: there are no arguments to 'v' that depend on a template parameter, so a declaration of 'v' must be available [-fpermissive]
  294. v(k,j) += (s * v(k,i));
  295. ^
  296. ../../OpenCVPlayer/dlib/include/dlib/image_processing/../matrix/matrix_la.h:619:26: error: there are no arguments to 'v' that depend on a template parameter, so a declaration of 'v' must be available [-fpermissive]
  297. v(i,j) = v(j,i) = 0.0;
  298. ^
  299. ../../OpenCVPlayer/dlib/include/dlib/image_processing/../matrix/matrix_la.h:619:35: error: there are no arguments to 'v' that depend on a template parameter, so a declaration of 'v' must be available [-fpermissive]
  300. v(i,j) = v(j,i) = 0.0;
  301. ^
  302. ../../OpenCVPlayer/dlib/include/dlib/image_processing/../matrix/matrix_la.h:621:22: error: there are no arguments to 'v' that depend on a template parameter, so a declaration of 'v' must be available [-fpermissive]
  303. v(i,i) = 1.0;
  304. ^
  305. ../../OpenCVPlayer/dlib/include/dlib/image_processing/../matrix/matrix_la.h:622:24: error: there are no arguments to 'e' that depend on a template parameter, so a declaration of 'e' must be available [-fpermissive]
  306. g = e(i);
  307. ^
  308. ../../OpenCVPlayer/dlib/include/dlib/image_processing/../matrix/matrix_la.h:690:28: error: there are no arguments to 'e' that depend on a template parameter, so a declaration of 'e' must be available [-fpermissive]
  309. if (abs(e(l)) <= eps)
  310. ^
  311. ../../OpenCVPlayer/dlib/include/dlib/image_processing/../matrix/matrix_la.h:707:28: error: there are no arguments to 'e' that depend on a template parameter, so a declaration of 'e' must be available [-fpermissive]
  312. f = s * e(i);
  313. ^
  314. ../../OpenCVPlayer/dlib/include/dlib/image_processing/../matrix/matrix_la.h:708:20: error: there are no arguments to 'e' that depend on a template parameter, so a declaration of 'e' must be available [-fpermissive]
  315. e(i) *= c;
  316. ^
  317. ../../OpenCVPlayer/dlib/include/dlib/image_processing/../matrix/matrix_la.h:745:22: error: there are no arguments to 'e' that depend on a template parameter, so a declaration of 'e' must be available [-fpermissive]
  318. g = e(k-1);
  319. ^
  320. ../../OpenCVPlayer/dlib/include/dlib/image_processing/../matrix/matrix_la.h:746:20: error: there are no arguments to 'e' that depend on a template parameter, so a declaration of 'e' must be available [-fpermissive]
  321. h = e(k);
  322. ^
  323. ../../OpenCVPlayer/dlib/include/dlib/image_processing/../matrix/matrix_la.h:756:24: error: there are no arguments to 'e' that depend on a template parameter, so a declaration of 'e' must be available [-fpermissive]
  324. g = e(i);
  325. ^
  326. ../../OpenCVPlayer/dlib/include/dlib/image_processing/../matrix/matrix_la.h:760:22: error: there are no arguments to 'e' that depend on a template parameter, so a declaration of 'e' must be available [-fpermissive]
  327. e(i-1) = z = sqrt(f * f + h * h);
  328. ^
  329. ../../OpenCVPlayer/dlib/include/dlib/image_processing/../matrix/matrix_la.h:772:36: error: there are no arguments to 'v' that depend on a template parameter, so a declaration of 'v' must be available [-fpermissive]
  330. x = v(j,i-1);
  331. ^
  332. ../../OpenCVPlayer/dlib/include/dlib/image_processing/../matrix/matrix_la.h:773:34: error: there are no arguments to 'v' that depend on a template parameter, so a declaration of 'v' must be available [-fpermissive]
  333. z = v(j,i);
  334. ^
  335. ../../OpenCVPlayer/dlib/include/dlib/image_processing/../matrix/matrix_la.h:774:32: error: there are no arguments to 'v' that depend on a template parameter, so a declaration of 'v' must be available [-fpermissive]
  336. v(j,i-1) = x * c + z * s;
  337. ^
  338. ../../OpenCVPlayer/dlib/include/dlib/image_processing/../matrix/matrix_la.h:775:30: error: there are no arguments to 'v' that depend on a template parameter, so a declaration of 'v' must be available [-fpermissive]
  339. v(j,i) = -x * s + z * c;
  340. ^
  341. ../../OpenCVPlayer/dlib/include/dlib/image_processing/../matrix/matrix_la.h:796:16: error: there are no arguments to 'e' that depend on a template parameter, so a declaration of 'e' must be available [-fpermissive]
  342. e(l) = 0.0;
  343. ^
  344. ../../OpenCVPlayer/dlib/include/dlib/image_processing/../matrix/matrix_la.h:797:16: error: there are no arguments to 'e' that depend on a template parameter, so a declaration of 'e' must be available [-fpermissive]
  345. e(k) = f;
  346. ^
  347. ../../OpenCVPlayer/dlib/include/dlib/image_processing/../matrix/matrix_la.h:811:30: error: there are no arguments to 'v' that depend on a template parameter, so a declaration of 'v' must be available [-fpermissive]
  348. v(j,k) = -v(j,k);
  349. ^
  350. ../../OpenCVPlayer/dlib/include/dlib/image_processing/../matrix/matrix_la.h:811:40: error: there are no arguments to 'v' that depend on a template parameter, so a declaration of 'v' must be available [-fpermissive]
  351. v(j,k) = -v(j,k);
  352. ^
  353. ../../OpenCVPlayer/dlib/include/dlib/image_processing/../matrix/matrix_la.h: At global scope:
  354. ../../OpenCVPlayer/dlib/include/dlib/image_processing/../matrix/matrix_la.h:830:9: error: variable or field 'orthogonalize' declared void
  355. matrix<T,NR,NC,MM,L>& m
  356. ^
  357. ../../OpenCVPlayer/dlib/include/dlib/image_processing/../matrix/matrix_la.h:830:9: error: 'matrix' was not declared in this scope
  358. ../../OpenCVPlayer/dlib/include/dlib/image_processing/../matrix/matrix_la.h:830:9: note: suggested alternative:
  359. In file included from ../../OpenCVPlayer/dlib/include/dlib/image_processing/../matrix/matrix_exp.h:8:0,
  360. from ../../OpenCVPlayer/dlib/include/dlib/image_processing/../matrix/matrix.h:6,
  361. from ../../OpenCVPlayer/dlib/include/dlib/image_processing/../matrix.h:6,
  362. from ../../OpenCVPlayer/dlib/include/dlib/image_processing/scan_image.h:9,
  363. from ../../OpenCVPlayer/dlib/include/dlib/image_processing.h:6,
  364. from ../../OpenCVPlayer/trackerdlib.h:9,
  365. from ../../OpenCVPlayer/opencvplayer.h:19,
  366. from ../../OpenCVPlayer/mainwindow.h:7,
  367. from ../../OpenCVPlayer/main.cpp:1:
  368. ../../OpenCVPlayer/dlib/include/dlib/image_processing/../matrix/matrix_fwd.h:24:11: note: 'dlib::matrix'
  369. class matrix;
  370. ^
  371. In file included from ../../OpenCVPlayer/dlib/include/dlib/image_processing/../matrix.h:11:0,
  372. from ../../OpenCVPlayer/dlib/include/dlib/image_processing/scan_image.h:9,
  373. from ../../OpenCVPlayer/dlib/include/dlib/image_processing.h:6,
  374. from ../../OpenCVPlayer/trackerdlib.h:9,
  375. from ../../OpenCVPlayer/opencvplayer.h:19,
  376. from ../../OpenCVPlayer/mainwindow.h:7,
  377. from ../../OpenCVPlayer/main.cpp:1:
  378. ../../OpenCVPlayer/dlib/include/dlib/image_processing/../matrix/matrix_la.h:830:17: error: expected primary-expression before ',' token
  379. matrix<T,NR,NC,MM,L>& m
  380. ^
  381. ../../OpenCVPlayer/dlib/include/dlib/image_processing/../matrix/matrix_la.h:830:26: error: expected primary-expression before ',' token
  382. matrix<T,NR,NC,MM,L>& m
  383. ^
  384. ../../OpenCVPlayer/dlib/include/dlib/image_processing/../matrix/matrix_la.h:830:28: error: expected primary-expression before '>' token
  385. matrix<T,NR,NC,MM,L>& m
  386. ^
  387. ../../OpenCVPlayer/dlib/include/dlib/image_processing/../matrix/matrix_la.h:830:31: error: 'm' was not declared in this scope
  388. matrix<T,NR,NC,MM,L>& m
  389. ^
  390. ../../OpenCVPlayer/dlib/include/dlib/image_processing/../matrix/matrix_la.h:846:15: error: 'matrix' does not name a type
  391. const matrix<T,Anr,Anc,MM,L>& A,
  392. ^
  393. ../../OpenCVPlayer/dlib/include/dlib/image_processing/../matrix/matrix_la.h:846:21: error: expected ',' or '...' before '<' token
  394. const matrix<T,Anr,Anc,MM,L>& A,
  395. ^
  396. ../../OpenCVPlayer/dlib/include/dlib/image_processing/../matrix/matrix_la.h: In function 'void find_matrix_range(int)':
  397. ../../OpenCVPlayer/dlib/include/dlib/image_processing/../matrix/matrix_la.h:870:9: error: 'Q' was not declared in this scope
  398. Q = A*matrix_cast<T>(gaussian_randm(A.nc(), l));
  399. ^
  400. ../../OpenCVPlayer/dlib/include/dlib/image_processing/../matrix/matrix_la.h:870:13: error: 'A' was not declared in this scope
  401. Q = A*matrix_cast<T>(gaussian_randm(A.nc(), l));
  402. ^
  403. ../../OpenCVPlayer/dlib/include/dlib/image_processing/../matrix/matrix_la.h:870:15: error: 'matrix_cast' was not declared in this scope
  404. Q = A*matrix_cast<T>(gaussian_randm(A.nc(), l));
  405. ^
  406. ../../OpenCVPlayer/dlib/include/dlib/image_processing/../matrix/matrix_la.h:870:15: note: suggested alternative:
  407. In file included from ../../OpenCVPlayer/dlib/include/dlib/image_processing/../matrix.h:7:0,
  408. from ../../OpenCVPlayer/dlib/include/dlib/image_processing/scan_image.h:9,
  409. from ../../OpenCVPlayer/dlib/include/dlib/image_processing.h:6,
  410. from ../../OpenCVPlayer/trackerdlib.h:9,
  411. from ../../OpenCVPlayer/opencvplayer.h:19,
  412. from ../../OpenCVPlayer/mainwindow.h:7,
  413. from ../../OpenCVPlayer/main.cpp:1:
  414. ../../OpenCVPlayer/dlib/include/dlib/image_processing/../matrix/matrix_utilities.h:1041:49: note: 'dlib::matrix_cast'
  415. const matrix_op<op_cast<EXP, target_type> > matrix_cast (
  416. ^
  417. In file included from ../../OpenCVPlayer/dlib/include/dlib/image_processing/../matrix.h:11:0,
  418. from ../../OpenCVPlayer/dlib/include/dlib/image_processing/scan_image.h:9,
  419. from ../../OpenCVPlayer/dlib/include/dlib/image_processing.h:6,
  420. from ../../OpenCVPlayer/trackerdlib.h:9,
  421. from ../../OpenCVPlayer/opencvplayer.h:19,
  422. from ../../OpenCVPlayer/mainwindow.h:7,
  423. from ../../OpenCVPlayer/main.cpp:1:
  424. ../../OpenCVPlayer/dlib/include/dlib/image_processing/../matrix/matrix_la.h:870:28: error: expected primary-expression before '>' token
  425. Q = A*matrix_cast<T>(gaussian_randm(A.nc(), l));
  426. ^
  427. ../../OpenCVPlayer/dlib/include/dlib/image_processing/../matrix/matrix_la.h:870:53: error: 'l' was not declared in this scope
  428. Q = A*matrix_cast<T>(gaussian_randm(A.nc(), l));
  429. ^
  430. ../../OpenCVPlayer/dlib/include/dlib/image_processing/../matrix/matrix_la.h:870:54: error: there are no arguments to 'gaussian_randm' that depend on a template parameter, so a declaration of 'gaussian_randm' must be available [-fpermissive]
  431. Q = A*matrix_cast<T>(gaussian_randm(A.nc(), l));
  432. ^
  433. ../../OpenCVPlayer/dlib/include/dlib/image_processing/../matrix/matrix_la.h:872:24: error: there are no arguments to 'orthogonalize' that depend on a template parameter, so a declaration of 'orthogonalize' must be available [-fpermissive]
  434. orthogonalize(Q);
  435. ^
  436. ../../OpenCVPlayer/dlib/include/dlib/image_processing/../matrix/matrix_la.h:876:13: error: 'q' was not declared in this scope
  437. if (q != 0)
  438. ^
  439. ../../OpenCVPlayer/dlib/include/dlib/image_processing/../matrix/matrix_la.h:880:28: error: there are no arguments to 'trans' that depend on a template parameter, so a declaration of 'trans' must be available [-fpermissive]
  440. Q = trans(A)*Q;
  441. ^
  442. ../../OpenCVPlayer/dlib/include/dlib/image_processing/../matrix/matrix_la.h:881:32: error: there are no arguments to 'orthogonalize' that depend on a template parameter, so a declaration of 'orthogonalize' must be available [-fpermissive]
  443. orthogonalize(Q);
  444. ^
  445. ../../OpenCVPlayer/dlib/include/dlib/image_processing/../matrix/matrix_la.h:884:32: error: there are no arguments to 'orthogonalize' that depend on a template parameter, so a declaration of 'orthogonalize' must be available [-fpermissive]
  446. orthogonalize(Q);
  447. ^
  448. ../../OpenCVPlayer/dlib/include/dlib/image_processing/../matrix/matrix_la.h: At global scope:
  449. ../../OpenCVPlayer/dlib/include/dlib/image_processing/../matrix/matrix_la.h:901:15: error: 'matrix' does not name a type
  450. const matrix<T,Anr,Anc,MM,L>& A,
  451. ^
  452. ../../OpenCVPlayer/dlib/include/dlib/image_processing/../matrix/matrix_la.h:901:21: error: expected ',' or '...' before '<' token
  453. const matrix<T,Anr,Anc,MM,L>& A,
  454. ^
  455. ../../OpenCVPlayer/dlib/include/dlib/image_processing/../matrix/matrix_la.h: In function 'void svd_fast(int)':
  456. ../../OpenCVPlayer/dlib/include/dlib/image_processing/../matrix/matrix_la.h:909:42: error: 'l' was not declared in this scope
  457. const unsigned long k = std::min(l, std::min<unsigned long>(A.nr(),A.nc()));
  458. ^
  459. ../../OpenCVPlayer/dlib/include/dlib/image_processing/../matrix/matrix_la.h:909:69: error: 'A' was not declared in this scope
  460. const unsigned long k = std::min(l, std::min<unsigned long>(A.nr(),A.nc()));
  461. ^
  462. ../../OpenCVPlayer/dlib/include/dlib/image_processing/../matrix/matrix_la.h:918:9: error: 'matrix' was not declared in this scope
  463. matrix<T,Anr,0,MM,L> Q;
  464. ^
  465. ../../OpenCVPlayer/dlib/include/dlib/image_processing/../matrix/matrix_la.h:918:9: note: suggested alternative:
  466. In file included from ../../OpenCVPlayer/dlib/include/dlib/image_processing/../matrix/matrix_exp.h:8:0,
  467. from ../../OpenCVPlayer/dlib/include/dlib/image_processing/../matrix/matrix.h:6,
  468. from ../../OpenCVPlayer/dlib/include/dlib/image_processing/../matrix.h:6,
  469. from ../../OpenCVPlayer/dlib/include/dlib/image_processing/scan_image.h:9,
  470. from ../../OpenCVPlayer/dlib/include/dlib/image_processing.h:6,
  471. from ../../OpenCVPlayer/trackerdlib.h:9,
  472. from ../../OpenCVPlayer/opencvplayer.h:19,
  473. from ../../OpenCVPlayer/mainwindow.h:7,
  474. from ../../OpenCVPlayer/main.cpp:1:
  475. ../../OpenCVPlayer/dlib/include/dlib/image_processing/../matrix/matrix_fwd.h:24:11: note: 'dlib::matrix'
  476. class matrix;
  477. ^
  478. In file included from ../../OpenCVPlayer/dlib/include/dlib/image_processing/../matrix.h:11:0,
  479. from ../../OpenCVPlayer/dlib/include/dlib/image_processing/scan_image.h:9,
  480. from ../../OpenCVPlayer/dlib/include/dlib/image_processing.h:6,
  481. from ../../OpenCVPlayer/trackerdlib.h:9,
  482. from ../../OpenCVPlayer/opencvplayer.h:19,
  483. from ../../OpenCVPlayer/mainwindow.h:7,
  484. from ../../OpenCVPlayer/main.cpp:1:
  485. ../../OpenCVPlayer/dlib/include/dlib/image_processing/../matrix/matrix_la.h:918:17: error: expected primary-expression before ',' token
  486. matrix<T,Anr,0,MM,L> Q;
  487. ^
  488. ../../OpenCVPlayer/dlib/include/dlib/image_processing/../matrix/matrix_la.h:918:26: error: expected primary-expression before ',' token
  489. matrix<T,Anr,0,MM,L> Q;
  490. ^
  491. ../../OpenCVPlayer/dlib/include/dlib/image_processing/../matrix/matrix_la.h:918:28: error: expected primary-expression before '>' token
  492. matrix<T,Anr,0,MM,L> Q;
  493. ^
  494. ../../OpenCVPlayer/dlib/include/dlib/image_processing/../matrix/matrix_la.h:918:30: error: 'Q' was not declared in this scope
  495. matrix<T,Anr,0,MM,L> Q;
  496. ^
  497. ../../OpenCVPlayer/dlib/include/dlib/image_processing/../matrix/matrix_la.h:919:36: error: 'q' was not declared in this scope
  498. find_matrix_range(A, k, Q, q);
  499. ^
  500. ../../OpenCVPlayer/dlib/include/dlib/image_processing/../matrix/matrix_la.h:925:17: error: expected primary-expression before ',' token
  501. matrix<T,0,0,MM,L> B = trans(A)*Q;
  502. ^
  503. ../../OpenCVPlayer/dlib/include/dlib/image_processing/../matrix/matrix_la.h:925:24: error: expected primary-expression before ',' token
  504. matrix<T,0,0,MM,L> B = trans(A)*Q;
  505. ^
  506. ../../OpenCVPlayer/dlib/include/dlib/image_processing/../matrix/matrix_la.h:925:26: error: expected primary-expression before '>' token
  507. matrix<T,0,0,MM,L> B = trans(A)*Q;
  508. ^
  509. ../../OpenCVPlayer/dlib/include/dlib/image_processing/../matrix/matrix_la.h:925:28: error: 'B' was not declared in this scope
  510. matrix<T,0,0,MM,L> B = trans(A)*Q;
  511. ^
  512. ../../OpenCVPlayer/dlib/include/dlib/image_processing/../matrix/matrix_la.h:925:39: error: there are no arguments to 'trans' that depend on a template parameter, so a declaration of 'trans' must be available [-fpermissive]
  513. matrix<T,0,0,MM,L> B = trans(A)*Q;
  514. ^
  515. ../../OpenCVPlayer/dlib/include/dlib/image_processing/../matrix/matrix_la.h:926:17: error: 'v' was not declared in this scope
  516. svd3(B, v,w,u);
  517. ^
  518. ../../OpenCVPlayer/dlib/include/dlib/image_processing/../matrix/matrix_la.h:926:19: error: 'w' was not declared in this scope
  519. svd3(B, v,w,u);
  520. ^
  521. ../../OpenCVPlayer/dlib/include/dlib/image_processing/../matrix/matrix_la.h:926:21: error: 'u' was not declared in this scope
  522. svd3(B, v,w,u);
  523. ^
  524. ../../OpenCVPlayer/dlib/include/dlib/image_processing/../matrix/matrix_la.h:926:22: error: there are no arguments to 'svd3' that depend on a template parameter, so a declaration of 'svd3' must be available [-fpermissive]
  525. svd3(B, v,w,u);
  526. ^
  527. ../../OpenCVPlayer/dlib/include/dlib/image_processing/../matrix/matrix_la.h: At global scope:
  528. ../../OpenCVPlayer/dlib/include/dlib/image_processing/../matrix/matrix_la.h:941:9: error: 'matrix' has not been declared
  529. matrix<T,0,0,MM,L>& Q,
  530. ^
  531. ../../OpenCVPlayer/dlib/include/dlib/image_processing/../matrix/matrix_la.h:941:15: error: expected ',' or '...' before '<' token
  532. matrix<T,0,0,MM,L>& Q,
  533. ^
  534. ../../OpenCVPlayer/dlib/include/dlib/image_processing/../matrix/matrix_la.h: In function 'void find_matrix_range(const std::vector<T>&, long unsigned int, int)':
  535. ../../OpenCVPlayer/dlib/include/dlib/image_processing/../matrix/matrix_la.h:964:9: error: 'Q' was not declared in this scope
  536. Q.set_size(A.size(), l);
  537. ^
  538. ../../OpenCVPlayer/dlib/include/dlib/image_processing/../matrix/matrix_la.h:971:89: error: there are no arguments to 'gaussian_randm' that depend on a template parameter, so a declaration of 'gaussian_randm' must be available [-fpermissive]
  539. Q(r,c) = dot(A[r], gaussian_randm(std::numeric_limits<long>::max(), 1, c));
  540. ^
  541. ../../OpenCVPlayer/dlib/include/dlib/image_processing/../matrix/matrix_la.h:975:24: error: there are no arguments to 'orthogonalize' that depend on a template parameter, so a declaration of 'orthogonalize' must be available [-fpermissive]
  542. orthogonalize(Q);
  543. ^
  544. ../../OpenCVPlayer/dlib/include/dlib/image_processing/../matrix/matrix_la.h:979:13: error: 'q' was not declared in this scope
  545. if (q != 0)
  546. ^
  547. ../../OpenCVPlayer/dlib/include/dlib/image_processing/../matrix/matrix_la.h:984:17: error: 'matrix' was not declared in this scope
  548. matrix<T,0,0,MM,L> Z(n, l);
  549. ^
  550. ../../OpenCVPlayer/dlib/include/dlib/image_processing/../matrix/matrix_la.h:984:17: note: suggested alternative:
  551. In file included from ../../OpenCVPlayer/dlib/include/dlib/image_processing/../matrix/matrix_exp.h:8:0,
  552. from ../../OpenCVPlayer/dlib/include/dlib/image_processing/../matrix/matrix.h:6,
  553. from ../../OpenCVPlayer/dlib/include/dlib/image_processing/../matrix.h:6,
  554. from ../../OpenCVPlayer/dlib/include/dlib/image_processing/scan_image.h:9,
  555. from ../../OpenCVPlayer/dlib/include/dlib/image_processing.h:6,
  556. from ../../OpenCVPlayer/trackerdlib.h:9,
  557. from ../../OpenCVPlayer/opencvplayer.h:19,
  558. from ../../OpenCVPlayer/mainwindow.h:7,
  559. from ../../OpenCVPlayer/main.cpp:1:
  560. ../../OpenCVPlayer/dlib/include/dlib/image_processing/../matrix/matrix_fwd.h:24:11: note: 'dlib::matrix'
  561. class matrix;
  562. ^
  563. In file included from ../../OpenCVPlayer/dlib/include/dlib/image_processing/../matrix.h:11:0,
  564. from ../../OpenCVPlayer/dlib/include/dlib/image_processing/scan_image.h:9,
  565. from ../../OpenCVPlayer/dlib/include/dlib/image_processing.h:6,
  566. from ../../OpenCVPlayer/trackerdlib.h:9,
  567. from ../../OpenCVPlayer/opencvplayer.h:19,
  568. from ../../OpenCVPlayer/mainwindow.h:7,
  569. from ../../OpenCVPlayer/main.cpp:1:
  570. ../../OpenCVPlayer/dlib/include/dlib/image_processing/../matrix/matrix_la.h:984:25: error: expected primary-expression before ',' token
  571. matrix<T,0,0,MM,L> Z(n, l);
  572. ^
  573. ../../OpenCVPlayer/dlib/include/dlib/image_processing/../matrix/matrix_la.h:984:32: error: expected primary-expression before ',' token
  574. matrix<T,0,0,MM,L> Z(n, l);
  575. ^
  576. ../../OpenCVPlayer/dlib/include/dlib/image_processing/../matrix/matrix_la.h:984:34: error: expected primary-expression before '>' token
  577. matrix<T,0,0,MM,L> Z(n, l);
  578. ^
  579. ../../OpenCVPlayer/dlib/include/dlib/image_processing/../matrix/matrix_la.h:984:42: error: there are no arguments to 'Z' that depend on a template parameter, so a declaration of 'Z' must be available [-fpermissive]
  580. matrix<T,0,0,MM,L> Z(n, l);
  581. ^
  582. ../../OpenCVPlayer/dlib/include/dlib/image_processing/../matrix/matrix_la.h:986:17: error: 'Z' was not declared in this scope
  583. Z = 0;
  584. ^
  585. ../../OpenCVPlayer/dlib/include/dlib/image_processing/../matrix/matrix_la.h:1003:32: error: there are no arguments to 'orthogonalize' that depend on a template parameter, so a declaration of 'orthogonalize' must be available [-fpermissive]
  586. orthogonalize(Z);
  587. ^
  588. ../../OpenCVPlayer/dlib/include/dlib/image_processing/../matrix/matrix_la.h:1011:52: error: there are no arguments to 'colm' that depend on a template parameter, so a declaration of 'colm' must be available [-fpermissive]
  589. Q(r,c) = dot(A[r], colm(Z,c));
  590. ^
  591. ../../OpenCVPlayer/dlib/include/dlib/image_processing/../matrix/matrix_la.h:1016:32: error: there are no arguments to 'orthogonalize' that depend on a template parameter, so a declaration of 'orthogonalize' must be available [-fpermissive]
  592. orthogonalize(Q);
  593. ^
  594. ../../OpenCVPlayer/dlib/include/dlib/image_processing/../matrix/matrix_la.h: At global scope:
  595. ../../OpenCVPlayer/dlib/include/dlib/image_processing/../matrix/matrix_la.h:1034:9: error: 'matrix' has not been declared
  596. matrix<T,Unr,Unc,MM,L>& u,
  597. ^
  598. ../../OpenCVPlayer/dlib/include/dlib/image_processing/../matrix/matrix_la.h:1034:15: error: expected ',' or '...' before '<' token
  599. matrix<T,Unr,Unc,MM,L>& u,
  600. ^
  601. ../../OpenCVPlayer/dlib/include/dlib/image_processing/../matrix/matrix_la.h: In function 'void svd_fast(const std::vector<T>&, int)':
  602. ../../OpenCVPlayer/dlib/include/dlib/image_processing/../matrix/matrix_la.h:1042:42: error: 'l' was not declared in this scope
  603. const unsigned long k = std::min(l, std::min<unsigned long>(A.size(),n));
  604. ^
  605. ../../OpenCVPlayer/dlib/include/dlib/image_processing/../matrix/matrix_la.h:1052:9: error: 'matrix' was not declared in this scope
  606. matrix<T,0,0,MM,L> Q;
  607. ^
  608. ../../OpenCVPlayer/dlib/include/dlib/image_processing/../matrix/matrix_la.h:1052:9: note: suggested alternative:
  609. In file included from ../../OpenCVPlayer/dlib/include/dlib/image_processing/../matrix/matrix_exp.h:8:0,
  610. from ../../OpenCVPlayer/dlib/include/dlib/image_processing/../matrix/matrix.h:6,
  611. from ../../OpenCVPlayer/dlib/include/dlib/image_processing/../matrix.h:6,
  612. from ../../OpenCVPlayer/dlib/include/dlib/image_processing/scan_image.h:9,
  613. from ../../OpenCVPlayer/dlib/include/dlib/image_processing.h:6,
  614. from ../../OpenCVPlayer/trackerdlib.h:9,
  615. from ../../OpenCVPlayer/opencvplayer.h:19,
  616. from ../../OpenCVPlayer/mainwindow.h:7,
  617. from ../../OpenCVPlayer/main.cpp:1:
  618. ../../OpenCVPlayer/dlib/include/dlib/image_processing/../matrix/matrix_fwd.h:24:11: note: 'dlib::matrix'
  619. class matrix;
  620. ^
  621. In file included from ../../OpenCVPlayer/dlib/include/dlib/image_processing/../matrix.h:11:0,
  622. from ../../OpenCVPlayer/dlib/include/dlib/image_processing/scan_image.h:9,
  623. from ../../OpenCVPlayer/dlib/include/dlib/image_processing.h:6,
  624. from ../../OpenCVPlayer/trackerdlib.h:9,
  625. from ../../OpenCVPlayer/opencvplayer.h:19,
  626. from ../../OpenCVPlayer/mainwindow.h:7,
  627. from ../../OpenCVPlayer/main.cpp:1:
  628. ../../OpenCVPlayer/dlib/include/dlib/image_processing/../matrix/matrix_la.h:1052:17: error: expected primary-expression before ',' token
  629. matrix<T,0,0,MM,L> Q;
  630. ^
  631. ../../OpenCVPlayer/dlib/include/dlib/image_processing/../matrix/matrix_la.h:1052:24: error: expected primary-expression before ',' token
  632. matrix<T,0,0,MM,L> Q;
  633. ^
  634. ../../OpenCVPlayer/dlib/include/dlib/image_processing/../matrix/matrix_la.h:1052:26: error: expected primary-expression before '>' token
  635. matrix<T,0,0,MM,L> Q;
  636. ^
  637. ../../OpenCVPlayer/dlib/include/dlib/image_processing/../matrix/matrix_la.h:1052:28: error: 'Q' was not declared in this scope
  638. matrix<T,0,0,MM,L> Q;
  639. ^
  640. ../../OpenCVPlayer/dlib/include/dlib/image_processing/../matrix/matrix_la.h:1053:36: error: 'q' was not declared in this scope
  641. find_matrix_range(A, k, Q, q);
  642. ^
  643. ../../OpenCVPlayer/dlib/include/dlib/image_processing/../matrix/matrix_la.h:1059:17: error: expected primary-expression before ',' token
  644. matrix<T,0,0,MM,L> B(n,k);
  645. ^
  646. ../../OpenCVPlayer/dlib/include/dlib/image_processing/../matrix/matrix_la.h:1059:24: error: expected primary-expression before ',' token
  647. matrix<T,0,0,MM,L> B(n,k);
  648. ^
  649. ../../OpenCVPlayer/dlib/include/dlib/image_processing/../matrix/matrix_la.h:1059:26: error: expected primary-expression before '>' token
  650. matrix<T,0,0,MM,L> B(n,k);
  651. ^
  652. ../../OpenCVPlayer/dlib/include/dlib/image_processing/../matrix/matrix_la.h:1059:33: error: there are no arguments to 'B' that depend on a template parameter, so a declaration of 'B' must be available [-fpermissive]
  653. matrix<T,0,0,MM,L> B(n,k);
  654. ^
  655. ../../OpenCVPlayer/dlib/include/dlib/image_processing/../matrix/matrix_la.h:1060:9: error: 'B' was not declared in this scope
  656. B = 0;
  657. ^
  658. ../../OpenCVPlayer/dlib/include/dlib/image_processing/../matrix/matrix_la.h:1076:17: error: 'v' was not declared in this scope
  659. svd3(B, v,w,u);
  660. ^
  661. ../../OpenCVPlayer/dlib/include/dlib/image_processing/../matrix/matrix_la.h:1076:19: error: 'w' was not declared in this scope
  662. svd3(B, v,w,u);
  663. ^
  664. ../../OpenCVPlayer/dlib/include/dlib/image_processing/../matrix/matrix_la.h:1076:21: error: 'u' was not declared in this scope
  665. svd3(B, v,w,u);
  666. ^
  667. ../../OpenCVPlayer/dlib/include/dlib/image_processing/../matrix/matrix_la.h:1076:22: error: there are no arguments to 'svd3' that depend on a template parameter, so a declaration of 'svd3' must be available [-fpermissive]
  668. svd3(B, v,w,u);
  669. ^
  670. ../../OpenCVPlayer/dlib/include/dlib/image_processing/../matrix/matrix_la.h: At global scope:
  671. ../../OpenCVPlayer/dlib/include/dlib/image_processing/../matrix/matrix_la.h:1089:31: error: expected nested-name-specifier before 'matrix_exp'
  672. static const typename matrix_exp<EXP>::matrix_type inv (
  673. ^
  674. ../../OpenCVPlayer/dlib/include/dlib/image_processing/../matrix/matrix_la.h:1089:31: error: expected ';' at end of member declaration
  675. ../../OpenCVPlayer/dlib/include/dlib/image_processing/../matrix/matrix_la.h:1089:41: error: expected unqualified-id before '<' token
  676. static const typename matrix_exp<EXP>::matrix_type inv (
  677. ^
  678. ../../OpenCVPlayer/main.cpp:17:1: error: expected '}' at end of input
  679. }
  680. ^
  681. ../../OpenCVPlayer/main.cpp:17:1: error: expected unqualified-id at end of input
  682. Makefile:3615: recipe for target 'main.o' failed
  683. make: *** [main.o] Error 1
  684. 12:52:48: The process "/usr/bin/make" exited with code 2.
  685. Error while building/deploying project OpenCVPlayer (kit: Linux Qt 5.4.2)
  686. When executing step "Make"
  687. 12:52:48: Elapsed time: 00:02.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement