Advertisement
Guest User

Untitled

a guest
Jul 16th, 2016
244
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 27.48 KB | None | 0 0
  1. login as: root
  2. Debian GNU/Linux 8
  3.  
  4. BeagleBoard.org Debian Image 2016-05-13
  5.  
  6. Support/FAQ: http://elinux.org/Beagleboard:BeagleBoneBlack_Debian
  7.  
  8. default username:password is [debian:temppwd]
  9.  
  10. root@192.168.1.151's password:
  11. root@beaglebone:~/boneCV#
  12. root@beaglebone:~/boneCV#
  13. root@beaglebone:~/boneCV#
  14. root@beaglebone:~/boneCV#
  15. root@beaglebone:~/boneCV#
  16. root@beaglebone:~/boneCV# g++ -O2 `pkg-config --cflags --libs opencv`
  17. /usr/bin/ld: warning: libmp3lame.so.0, needed by //usr/lib/arm-linux-gnueabihf/libavcodec.so.56, not found (try using -rpath or -rpath-link)
  18. /usr/lib/gcc/arm-linux-gnueabihf/4.9/../../../arm-linux-gnueabihf/crt1.o: In function `_start':
  19. (.text+0x28): undefined reference to `main'
  20. //usr/lib/arm-linux-gnueabihf/libavcodec.so.56: undefined reference to `lame_get_encoder_delay'
  21. //usr/lib/arm-linux-gnueabihf/libavcodec.so.56: undefined reference to `lame_set_bWriteVbrTag'
  22. //usr/lib/arm-linux-gnueabihf/libavcodec.so.56: undefined reference to `lame_get_framesize'
  23. //usr/lib/arm-linux-gnueabihf/libavcodec.so.56: undefined reference to `lame_set_brate'
  24. //usr/lib/arm-linux-gnueabihf/libavcodec.so.56: undefined reference to `lame_set_in_samplerate'
  25. //usr/lib/arm-linux-gnueabihf/libavcodec.so.56: undefined reference to `lame_set_disable_reservoir'
  26. //usr/lib/arm-linux-gnueabihf/libavcodec.so.56: undefined reference to `lame_set_VBR'
  27. //usr/lib/arm-linux-gnueabihf/libavcodec.so.56: undefined reference to `lame_close'
  28. collect2: error: ld returned 1 exit status
  29. root@beaglebone:~/boneCV#
  30. root@beaglebone:~/boneCV#
  31. root@beaglebone:~/boneCV#
  32. root@beaglebone:~/boneCV#
  33. root@beaglebone:~/boneCV# g++ -O2 `pkg-config --cflags --libs opencv` boneCV.cpp -o bone
  34. boneCV.cpp:47:10: warning: missing terminating " character
  35. imwrite("imgInput.png, imgInput);
  36. ^
  37. boneCV.cpp:47:2: error: missing terminating " character
  38. imwrite("imgInput.png, imgInput);
  39. ^
  40. boneCV.cpp: In function 'int main()':
  41. boneCV.cpp:13:22: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11
  42. VideoCapture capture{0}; // Camera Index = 0
  43. ^
  44. boneCV.cpp:13:24: error: in C++98 'capture' must be initialized by constructor, not by '{...}'
  45. VideoCapture capture{0}; // Camera Index = 0
  46. ^
  47. boneCV.cpp:18:25: error: expected ')' before '{' token
  48. if (!capture.isOpened(){
  49. ^
  50. boneCV.cpp:25:13: error: 'imgInput' was not declared in this scope
  51. capture >> imgInput;
  52. ^
  53. boneCV.cpp:26:43: error: no match for 'operator<' (operand types are 'std::basic_ostream<char>' and '<unresolved overloaded function type>')
  54. cout << "Convert RGB To HSV Color Space" <endl;
  55. ^
  56. boneCV.cpp:26:43: note: candidates are:
  57. In file included from /usr/include/opencv2/core/core.hpp:4855:0,
  58. from /usr/include/opencv2/opencv.hpp:47,
  59. from boneCV.cpp:2:
  60. /usr/include/opencv2/core/operations.hpp:3190:20: note: bool cv::operator<(const cv::FileNodeIterator&, const cv::FileNodeIterator&)
  61. static inline bool operator < (const FileNodeIterator& it1, const FileNodeIterator& it2)
  62. ^
  63. /usr/include/opencv2/core/operations.hpp:3190:20: note: no known conversion for argument 1 from 'std::basic_ostream<char>' to 'const cv::FileNodeIterator&'
  64. In file included from /usr/include/opencv2/core/core.hpp:4856:0,
  65. from /usr/include/opencv2/opencv.hpp:47,
  66. from boneCV.cpp:2:
  67. /usr/include/opencv2/core/mat.hpp:1300:20: note: cv::MatExpr cv::operator<(const cv::Mat&, const cv::Mat&)
  68. CV_EXPORTS MatExpr operator < (const Mat& a, const Mat& b);
  69. ^
  70. /usr/include/opencv2/core/mat.hpp:1300:20: note: no known conversion for argument 1 from 'std::basic_ostream<char>' to 'const cv::Mat&'
  71. /usr/include/opencv2/core/mat.hpp:1301:20: note: cv::MatExpr cv::operator<(const cv::Mat&, double)
  72. CV_EXPORTS MatExpr operator < (const Mat& a, double s);
  73. ^
  74. /usr/include/opencv2/core/mat.hpp:1301:20: note: no known conversion for argument 1 from 'std::basic_ostream<char>' to 'const cv::Mat&'
  75. /usr/include/opencv2/core/mat.hpp:1302:20: note: cv::MatExpr cv::operator<(double, const cv::Mat&)
  76. CV_EXPORTS MatExpr operator < (double s, const Mat& a);
  77. ^
  78. /usr/include/opencv2/core/mat.hpp:1302:20: note: no known conversion for argument 1 from 'std::basic_ostream<char>' to 'double'
  79. /usr/include/opencv2/core/mat.hpp:1981:1: note: bool cv::operator<(const cv::MatConstIterator&, const cv::MatConstIterator&)
  80. operator < (const MatConstIterator& a, const MatConstIterator& b)
  81. ^
  82. /usr/include/opencv2/core/mat.hpp:1981:1: note: no known conversion for argument 1 from 'std::basic_ostream<char>' to 'const cv::MatConstIterator&'
  83. In file included from /usr/include/c++/4.9/set:62:0,
  84. from /usr/include/opencv2/contrib/openfabmap.hpp:61,
  85. from /usr/include/opencv2/contrib/contrib.hpp:981,
  86. from /usr/include/opencv2/opencv.hpp:59,
  87. from boneCV.cpp:2:
  88. /usr/include/c++/4.9/bits/stl_multiset.h:794:5: note: template<class _Key, class _Compare, class _Alloc> bool std::operator<(const std::multiset<_Key, _Compare, _Alloc>&, const std::multiset<_Key, _Compare, _Alloc>&)
  89. operator<(const multiset<_Key, _Compare, _Alloc>& __x,
  90. ^
  91. /usr/include/c++/4.9/bits/stl_multiset.h:794:5: note: template argument deduction/substitution failed:
  92. boneCV.cpp:26:44: note: 'std::basic_ostream<char>' is not derived from 'const std::multiset<_Key, _Compare, _Alloc>'
  93. cout << "Convert RGB To HSV Color Space" <endl;
  94. ^
  95. In file included from /usr/include/c++/4.9/set:61:0,
  96. from /usr/include/opencv2/contrib/openfabmap.hpp:61,
  97. from /usr/include/opencv2/contrib/contrib.hpp:981,
  98. from /usr/include/opencv2/opencv.hpp:59,
  99. from boneCV.cpp:2:
  100. /usr/include/c++/4.9/bits/stl_set.h:810:5: note: template<class _Key, class _Compare, class _Alloc> bool std::operator<(const std::set<_Key, _Compare, _Alloc>&, const std::set<_Key, _Compare, _Alloc>&)
  101. operator<(const set<_Key, _Compare, _Alloc>& __x,
  102. ^
  103. /usr/include/c++/4.9/bits/stl_set.h:810:5: note: template argument deduction/substitution failed:
  104. boneCV.cpp:26:44: note: 'std::basic_ostream<char>' is not derived from 'const std::set<_Key, _Compare, _Alloc>'
  105. cout << "Convert RGB To HSV Color Space" <endl;
  106. ^
  107. In file included from /usr/include/opencv2/contrib/retina.hpp:76:0,
  108. from /usr/include/opencv2/contrib/contrib.hpp:979,
  109. from /usr/include/opencv2/opencv.hpp:59,
  110. from boneCV.cpp:2:
  111. /usr/include/c++/4.9/valarray:1181:1: note: std::_Expr<std::_BinClos<std::__less, std::_Constant, std::_ValArray, _Tp, _Tp>, typename std::__fun<std::__less, _Tp>::result_type> std::operator<(const _Tp&, const std::valarray<_Tp>&) [with _Tp = std::basic_ostream<char>; typename std::__fun<std::__less, _Tp>::result_type = bool]
  112. _DEFINE_BINARY_OPERATOR(<, __less)
  113. ^
  114. /usr/include/c++/4.9/valarray:1181:1: note: no known conversion for argument 2 from '<unresolved overloaded function type>' to 'const std::valarray<std::basic_ostream<char> >&'
  115. /usr/include/c++/4.9/valarray:1181:1: note: template<class _Tp> std::_Expr<std::_BinClos<std::__less, std::_ValArray, std::_Constant, _Tp, _Tp>, typename std::__fun<std::__less, _Tp>::result_type> std::operator<(const std::valarray<_Tp>&, const _Tp&)
  116. _DEFINE_BINARY_OPERATOR(<, __less)
  117. ^
  118. /usr/include/c++/4.9/valarray:1181:1: note: template argument deduction/substitution failed:
  119. boneCV.cpp:26:44: note: 'std::basic_ostream<char>' is not derived from 'const std::valarray<_Tp>'
  120. cout << "Convert RGB To HSV Color Space" <endl;
  121. ^
  122. In file included from /usr/include/opencv2/contrib/retina.hpp:76:0,
  123. from /usr/include/opencv2/contrib/contrib.hpp:979,
  124. from /usr/include/opencv2/opencv.hpp:59,
  125. from boneCV.cpp:2:
  126. /usr/include/c++/4.9/valarray:1181:1: note: template<class _Tp> std::_Expr<std::_BinClos<std::__less, std::_ValArray, std::_ValArray, _Tp, _Tp>, typename std::__fun<std::__less, _Tp>::result_type> std::operator<(const std::valarray<_Tp>&, const std::valarray<_Tp>&)
  127. _DEFINE_BINARY_OPERATOR(<, __less)
  128. ^
  129. /usr/include/c++/4.9/valarray:1181:1: note: template argument deduction/substitution failed:
  130. boneCV.cpp:26:44: note: 'std::basic_ostream<char>' is not derived from 'const std::valarray<_Tp>'
  131. cout << "Convert RGB To HSV Color Space" <endl;
  132. ^
  133. In file included from /usr/include/c++/4.9/valarray:587:0,
  134. from /usr/include/opencv2/contrib/retina.hpp:76,
  135. from /usr/include/opencv2/contrib/contrib.hpp:979,
  136. from /usr/include/opencv2/opencv.hpp:59,
  137. from boneCV.cpp:2:
  138. /usr/include/c++/4.9/bits/valarray_after.h:416:5: note: template<class _Dom> std::_Expr<std::_BinClos<std::__less, std::_ValArray, std::_Expr, typename _Dom::value_type, _Dom>, typename std::__fun<std::__less, typename _Dom1::value_type>::result_type> std::operator<(const std::valarray<typename _Dom::value_type>&, const std::_Expr<_Dom1, typename _Dom1::value_type>&)
  139. _DEFINE_EXPR_BINARY_OPERATOR(<, __less)
  140. ^
  141. /usr/include/c++/4.9/bits/valarray_after.h:416:5: note: template argument deduction/substitution failed:
  142. boneCV.cpp:26:44: note: couldn't deduce template parameter '_Dom'
  143. cout << "Convert RGB To HSV Color Space" <endl;
  144. ^
  145. In file included from /usr/include/c++/4.9/valarray:587:0,
  146. from /usr/include/opencv2/contrib/retina.hpp:76,
  147. from /usr/include/opencv2/contrib/contrib.hpp:979,
  148. from /usr/include/opencv2/opencv.hpp:59,
  149. from boneCV.cpp:2:
  150. /usr/include/c++/4.9/bits/valarray_after.h:416:5: note: template<class _Dom> std::_Expr<std::_BinClos<std::__less, std::_Expr, std::_ValArray, _Dom, typename _Dom::value_type>, typename std::__fun<std::__less, typename _Dom1::value_type>::result_type> std::operator<(const std::_Expr<_Dom1, typename _Dom1::value_type>&, const std::valarray<typename _Dom::value_type>&)
  151. _DEFINE_EXPR_BINARY_OPERATOR(<, __less)
  152. ^
  153. /usr/include/c++/4.9/bits/valarray_after.h:416:5: note: template argument deduction/substitution failed:
  154. boneCV.cpp:26:44: note: 'std::basic_ostream<char>' is not derived from 'const std::_Expr<_Dom1, typename _Dom1::value_type>'
  155. cout << "Convert RGB To HSV Color Space" <endl;
  156. ^
  157. In file included from /usr/include/c++/4.9/valarray:587:0,
  158. from /usr/include/opencv2/contrib/retina.hpp:76,
  159. from /usr/include/opencv2/contrib/contrib.hpp:979,
  160. from /usr/include/opencv2/opencv.hpp:59,
  161. from boneCV.cpp:2:
  162. /usr/include/c++/4.9/bits/valarray_after.h:416:5: note: template<class _Dom> std::_Expr<std::_BinClos<std::__less, std::_Constant, std::_Expr, typename _Dom::value_type, _Dom>, typename std::__fun<std::__less, typename _Dom1::value_type>::result_type> std::operator<(const typename _Dom::value_type&, const std::_Expr<_Dom1, typename _Dom1::value_type>&)
  163. _DEFINE_EXPR_BINARY_OPERATOR(<, __less)
  164. ^
  165. /usr/include/c++/4.9/bits/valarray_after.h:416:5: note: template argument deduction/substitution failed:
  166. boneCV.cpp:26:44: note: couldn't deduce template parameter '_Dom'
  167. cout << "Convert RGB To HSV Color Space" <endl;
  168. ^
  169. In file included from /usr/include/c++/4.9/valarray:587:0,
  170. from /usr/include/opencv2/contrib/retina.hpp:76,
  171. from /usr/include/opencv2/contrib/contrib.hpp:979,
  172. from /usr/include/opencv2/opencv.hpp:59,
  173. from boneCV.cpp:2:
  174. /usr/include/c++/4.9/bits/valarray_after.h:416:5: note: template<class _Dom> std::_Expr<std::_BinClos<std::__less, std::_Expr, std::_Constant, _Dom, typename _Dom::value_type>, typename std::__fun<std::__less, typename _Dom1::value_type>::result_type> std::operator<(const std::_Expr<_Dom1, typename _Dom1::value_type>&, const typename _Dom::value_type&)
  175. _DEFINE_EXPR_BINARY_OPERATOR(<, __less)
  176. ^
  177. /usr/include/c++/4.9/bits/valarray_after.h:416:5: note: template argument deduction/substitution failed:
  178. boneCV.cpp:26:44: note: 'std::basic_ostream<char>' is not derived from 'const std::_Expr<_Dom1, typename _Dom1::value_type>'
  179. cout << "Convert RGB To HSV Color Space" <endl;
  180. ^
  181. In file included from /usr/include/c++/4.9/valarray:587:0,
  182. from /usr/include/opencv2/contrib/retina.hpp:76,
  183. from /usr/include/opencv2/contrib/contrib.hpp:979,
  184. from /usr/include/opencv2/opencv.hpp:59,
  185. from boneCV.cpp:2:
  186. /usr/include/c++/4.9/bits/valarray_after.h:416:5: note: template<class _Dom1, class _Dom2> std::_Expr<std::_BinClos<std::__less, std::_Expr, std::_Expr, _Dom1, _Dom2>, typename std::__fun<std::__less, typename _Dom1::value_type>::result_type> std::operator<(const std::_Expr<_Dom1, typename _Dom1::value_type>&, const std::_Expr<_Dom2, typename _Dom2::value_type>&)
  187. _DEFINE_EXPR_BINARY_OPERATOR(<, __less)
  188. ^
  189. /usr/include/c++/4.9/bits/valarray_after.h:416:5: note: template argument deduction/substitution failed:
  190. boneCV.cpp:26:44: note: 'std::basic_ostream<char>' is not derived from 'const std::_Expr<_Dom1, typename _Dom1::value_type>'
  191. cout << "Convert RGB To HSV Color Space" <endl;
  192. ^
  193. In file included from /usr/include/c++/4.9/deque:64:0,
  194. from /usr/include/opencv2/objdetect/objdetect.hpp:50,
  195. from /usr/include/opencv2/opencv.hpp:54,
  196. from boneCV.cpp:2:
  197. /usr/include/c++/4.9/bits/stl_deque.h:2047:5: note: template<class _Tp, class _Alloc> bool std::operator<(const std::deque<_Tp, _Alloc>&, const std::deque<_Tp, _Alloc>&)
  198. operator<(const deque<_Tp, _Alloc>& __x,
  199. ^
  200. /usr/include/c++/4.9/bits/stl_deque.h:2047:5: note: template argument deduction/substitution failed:
  201. boneCV.cpp:26:44: note: 'std::basic_ostream<char>' is not derived from 'const std::deque<_Tp, _Alloc>'
  202. cout << "Convert RGB To HSV Color Space" <endl;
  203. ^
  204. In file included from /usr/include/c++/4.9/deque:64:0,
  205. from /usr/include/opencv2/objdetect/objdetect.hpp:50,
  206. from /usr/include/opencv2/opencv.hpp:54,
  207. from boneCV.cpp:2:
  208. /usr/include/c++/4.9/bits/stl_deque.h:285:5: note: template<class _Tp, class _RefL, class _PtrL, class _RefR, class _PtrR> bool std::operator<(const std::_Deque_iterator<_Tp, _Ref, _Ptr>&, const std::_Deque_iterator<_Tp, _RefR, _PtrR>&)
  209. operator<(const _Deque_iterator<_Tp, _RefL, _PtrL>& __x,
  210. ^
  211. /usr/include/c++/4.9/bits/stl_deque.h:285:5: note: template argument deduction/substitution failed:
  212. boneCV.cpp:26:44: note: 'std::basic_ostream<char>' is not derived from 'const std::_Deque_iterator<_Tp, _Ref, _Ptr>'
  213. cout << "Convert RGB To HSV Color Space" <endl;
  214. ^
  215. In file included from /usr/include/c++/4.9/deque:64:0,
  216. from /usr/include/opencv2/objdetect/objdetect.hpp:50,
  217. from /usr/include/opencv2/opencv.hpp:54,
  218. from boneCV.cpp:2:
  219. /usr/include/c++/4.9/bits/stl_deque.h:277:5: note: template<class _Tp, class _Ref, class _Ptr> bool std::operator<(const std::_Deque_iterator<_Tp, _Ref, _Ptr>&, const std::_Deque_iterator<_Tp, _Ref, _Ptr>&)
  220. operator<(const _Deque_iterator<_Tp, _Ref, _Ptr>& __x,
  221. ^
  222. /usr/include/c++/4.9/bits/stl_deque.h:277:5: note: template argument deduction/substitution failed:
  223. boneCV.cpp:26:44: note: 'std::basic_ostream<char>' is not derived from 'const std::_Deque_iterator<_Tp, _Ref, _Ptr>'
  224. cout << "Convert RGB To HSV Color Space" <endl;
  225. ^
  226. In file included from /usr/include/c++/4.9/list:63:0,
  227. from /usr/include/opencv2/video/background_segm.hpp:47,
  228. from /usr/include/opencv2/video/video.hpp:47,
  229. from /usr/include/opencv2/opencv.hpp:52,
  230. from boneCV.cpp:2:
  231. /usr/include/c++/4.9/bits/stl_list.h:1758:5: note: template<class _Tp, class _Alloc> bool std::operator<(const std::list<_Tp, _Alloc>&, const std::list<_Tp, _Alloc>&)
  232. operator<(const list<_Tp, _Alloc>& __x, const list<_Tp, _Alloc>& __y)
  233. ^
  234. /usr/include/c++/4.9/bits/stl_list.h:1758:5: note: template argument deduction/substitution failed:
  235. boneCV.cpp:26:44: note: 'std::basic_ostream<char>' is not derived from 'const std::list<_Tp, _Alloc>'
  236. cout << "Convert RGB To HSV Color Space" <endl;
  237. ^
  238. In file included from /usr/include/c++/4.9/vector:64:0,
  239. from /usr/include/opencv2/core/core.hpp:63,
  240. from /usr/include/opencv2/opencv.hpp:47,
  241. from boneCV.cpp:2:
  242. /usr/include/c++/4.9/bits/stl_vector.h:1528:5: note: template<class _Tp, class _Alloc> bool std::operator<(const std::vector<_Tp, _Alloc>&, const std::vector<_Tp, _Alloc>&)
  243. operator<(const vector<_Tp, _Alloc>& __x, const vector<_Tp, _Alloc>& __y)
  244. ^
  245. /usr/include/c++/4.9/bits/stl_vector.h:1528:5: note: template argument deduction/substitution failed:
  246. boneCV.cpp:26:44: note: 'std::basic_ostream<char>' is not derived from 'const std::vector<_Tp, _Alloc>'
  247. cout << "Convert RGB To HSV Color Space" <endl;
  248. ^
  249. In file included from /usr/include/c++/4.9/map:62:0,
  250. from /usr/include/opencv2/core/core.hpp:60,
  251. from /usr/include/opencv2/opencv.hpp:47,
  252. from boneCV.cpp:2:
  253. /usr/include/c++/4.9/bits/stl_multimap.h:920:5: note: template<class _Key, class _Tp, class _Compare, class _Alloc> bool std::operator<(const std::multimap<_Key, _Tp, _Compare, _Alloc>&, const std::multimap<_Key, _Tp, _Compare, _Alloc>&)
  254. operator<(const multimap<_Key, _Tp, _Compare, _Alloc>& __x,
  255. ^
  256. /usr/include/c++/4.9/bits/stl_multimap.h:920:5: note: template argument deduction/substitution failed:
  257. boneCV.cpp:26:44: note: 'std::basic_ostream<char>' is not derived from 'const std::multimap<_Key, _Tp, _Compare, _Alloc>'
  258. cout << "Convert RGB To HSV Color Space" <endl;
  259. ^
  260. In file included from /usr/include/c++/4.9/map:61:0,
  261. from /usr/include/opencv2/core/core.hpp:60,
  262. from /usr/include/opencv2/opencv.hpp:47,
  263. from boneCV.cpp:2:
  264. /usr/include/c++/4.9/bits/stl_map.h:1017:5: note: template<class _Key, class _Tp, class _Compare, class _Alloc> bool std::operator<(const std::map<_Key, _Tp, _Compare, _Alloc>&, const std::map<_Key, _Tp, _Compare, _Alloc>&)
  265. operator<(const map<_Key, _Tp, _Compare, _Alloc>& __x,
  266. ^
  267. /usr/include/c++/4.9/bits/stl_map.h:1017:5: note: template argument deduction/substitution failed:
  268. boneCV.cpp:26:44: note: 'std::basic_ostream<char>' is not derived from 'const std::map<_Key, _Tp, _Compare, _Alloc>'
  269. cout << "Convert RGB To HSV Color Space" <endl;
  270. ^
  271. In file included from /usr/include/c++/4.9/map:60:0,
  272. from /usr/include/opencv2/core/core.hpp:60,
  273. from /usr/include/opencv2/opencv.hpp:47,
  274. from boneCV.cpp:2:
  275. /usr/include/c++/4.9/bits/stl_tree.h:980:5: note: template<class _Key, class _Val, class _KeyOfValue, class _Compare, class _Alloc> bool std::operator<(const std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>&, const std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>&)
  276. operator<(const _Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>& __x,
  277. ^
  278. /usr/include/c++/4.9/bits/stl_tree.h:980:5: note: template argument deduction/substitution failed:
  279. boneCV.cpp:26:44: note: 'std::basic_ostream<char>' is not derived from 'const std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>'
  280. cout << "Convert RGB To HSV Color Space" <endl;
  281. ^
  282. In file included from /usr/include/c++/4.9/string:52:0,
  283. from /usr/include/c++/4.9/bits/locale_classes.h:40,
  284. from /usr/include/c++/4.9/bits/ios_base.h:41,
  285. from /usr/include/c++/4.9/ios:42,
  286. from /usr/include/c++/4.9/ostream:38,
  287. from /usr/include/c++/4.9/iostream:39,
  288. from boneCV.cpp:1:
  289. /usr/include/c++/4.9/bits/basic_string.h:2612:5: note: template<class _CharT, class _Traits, class _Alloc> bool std::operator<(const _CharT*, const std::basic_string<_CharT, _Traits, _Alloc>&)
  290. operator<(const _CharT* __lhs,
  291. ^
  292. /usr/include/c++/4.9/bits/basic_string.h:2612:5: note: template argument deduction/substitution failed:
  293. boneCV.cpp:26:44: note: mismatched types 'const _CharT*' and 'std::basic_ostream<char>'
  294. cout << "Convert RGB To HSV Color Space" <endl;
  295. ^
  296. In file included from /usr/include/c++/4.9/string:52:0,
  297. from /usr/include/c++/4.9/bits/locale_classes.h:40,
  298. from /usr/include/c++/4.9/bits/ios_base.h:41,
  299. from /usr/include/c++/4.9/ios:42,
  300. from /usr/include/c++/4.9/ostream:38,
  301. from /usr/include/c++/4.9/iostream:39,
  302. from boneCV.cpp:1:
  303. /usr/include/c++/4.9/bits/basic_string.h:2600:5: note: template<class _CharT, class _Traits, class _Alloc> bool std::operator<(const std::basic_string<_CharT, _Traits, _Alloc>&, const _CharT*)
  304. operator<(const basic_string<_CharT, _Traits, _Alloc>& __lhs,
  305. ^
  306. /usr/include/c++/4.9/bits/basic_string.h:2600:5: note: template argument deduction/substitution failed:
  307. boneCV.cpp:26:44: note: 'std::basic_ostream<char>' is not derived from 'const std::basic_string<_CharT, _Traits, _Alloc>'
  308. cout << "Convert RGB To HSV Color Space" <endl;
  309. ^
  310. In file included from /usr/include/c++/4.9/string:52:0,
  311. from /usr/include/c++/4.9/bits/locale_classes.h:40,
  312. from /usr/include/c++/4.9/bits/ios_base.h:41,
  313. from /usr/include/c++/4.9/ios:42,
  314. from /usr/include/c++/4.9/ostream:38,
  315. from /usr/include/c++/4.9/iostream:39,
  316. from boneCV.cpp:1:
  317. /usr/include/c++/4.9/bits/basic_string.h:2588:5: note: template<class _CharT, class _Traits, class _Alloc> bool std::operator<(const std::basic_string<_CharT, _Traits, _Alloc>&, const std::basic_string<_CharT, _Traits, _Alloc>&)
  318. operator<(const basic_string<_CharT, _Traits, _Alloc>& __lhs,
  319. ^
  320. /usr/include/c++/4.9/bits/basic_string.h:2588:5: note: template argument deduction/substitution failed:
  321. boneCV.cpp:26:44: note: 'std::basic_ostream<char>' is not derived from 'const std::basic_string<_CharT, _Traits, _Alloc>'
  322. cout << "Convert RGB To HSV Color Space" <endl;
  323. ^
  324. In file included from /usr/include/c++/4.9/bits/stl_algobase.h:67:0,
  325. from /usr/include/c++/4.9/bits/char_traits.h:39,
  326. from /usr/include/c++/4.9/ios:40,
  327. from /usr/include/c++/4.9/ostream:38,
  328. from /usr/include/c++/4.9/iostream:39,
  329. from boneCV.cpp:1:
  330. /usr/include/c++/4.9/bits/stl_iterator.h:348:5: note: template<class _IteratorL, class _IteratorR> bool std::operator<(const std::reverse_iterator<_Iterator>&, const std::reverse_iterator<_IteratorR>&)
  331. operator<(const reverse_iterator<_IteratorL>& __x,
  332. ^
  333. /usr/include/c++/4.9/bits/stl_iterator.h:348:5: note: template argument deduction/substitution failed:
  334. boneCV.cpp:26:44: note: 'std::basic_ostream<char>' is not derived from 'const std::reverse_iterator<_Iterator>'
  335. cout << "Convert RGB To HSV Color Space" <endl;
  336. ^
  337. In file included from /usr/include/c++/4.9/bits/stl_algobase.h:67:0,
  338. from /usr/include/c++/4.9/bits/char_traits.h:39,
  339. from /usr/include/c++/4.9/ios:40,
  340. from /usr/include/c++/4.9/ostream:38,
  341. from /usr/include/c++/4.9/iostream:39,
  342. from boneCV.cpp:1:
  343. /usr/include/c++/4.9/bits/stl_iterator.h:298:5: note: template<class _Iterator> bool std::operator<(const std::reverse_iterator<_Iterator>&, const std::reverse_iterator<_Iterator>&)
  344. operator<(const reverse_iterator<_Iterator>& __x,
  345. ^
  346. /usr/include/c++/4.9/bits/stl_iterator.h:298:5: note: template argument deduction/substitution failed:
  347. boneCV.cpp:26:44: note: 'std::basic_ostream<char>' is not derived from 'const std::reverse_iterator<_Iterator>'
  348. cout << "Convert RGB To HSV Color Space" <endl;
  349. ^
  350. In file included from /usr/include/c++/4.9/bits/stl_algobase.h:64:0,
  351. from /usr/include/c++/4.9/bits/char_traits.h:39,
  352. from /usr/include/c++/4.9/ios:40,
  353. from /usr/include/c++/4.9/ostream:38,
  354. from /usr/include/c++/4.9/iostream:39,
  355. from boneCV.cpp:1:
  356. /usr/include/c++/4.9/bits/stl_pair.h:220:5: note: template<class _T1, class _T2> bool std::operator<(const std::pair<_T1, _T2>&, const std::pair<_T1, _T2>&)
  357. operator<(const pair<_T1, _T2>& __x, const pair<_T1, _T2>& __y)
  358. ^
  359. /usr/include/c++/4.9/bits/stl_pair.h:220:5: note: template argument deduction/substitution failed:
  360. boneCV.cpp:26:44: note: 'std::basic_ostream<char>' is not derived from 'const std::pair<_T1, _T2>'
  361. cout << "Convert RGB To HSV Color Space" <endl;
  362. ^
  363. boneCV.cpp:27:12: error: 'imnInput' was not declared in this scope
  364. cvtColor (imnInput, imgHSV, CV_RGB2HSV);
  365. ^
  366. boneCV.cpp:28:39: error: 'end' was not declared in this scope
  367. cout << "Split into Color Arrays" << end;
  368. ^
  369. boneCV.cpp:31:11: error: invalid operands of types '<unresolved overloaded function type>' and 'const char [22]' to binary 'operator<<'
  370. count << "Begin Color Threshold" << endl;
  371. ^
  372. boneCV.cpp:37:59: error: 'bitwise_end' was not declared in this scope
  373. bitwise_end(imgThresholdLow, imgThresholdHigh, planes[i]);
  374. ^
  375. boneCV.cpp:40:11: error: invalid operands of types '<unresolved overloaded function type>' and 'const char [15]' to binary 'operator<<'
  376. count << "Create Results" << endl;
  377. ^
  378. boneCV.cpp:41:59: error: 'Scaler' was not declared in this scope
  379. Mat imgResults ( Size(width, height), CV_8UC1, Scaler(255)); // Init Ch to all black (255)
  380. ^
  381. boneCV.cpp:43:15: error: 'imgResult' was not declared in this scope
  382. bitwise_end(imgResult, planes[i], imgResult);
  383. ^
  384. boneCV.cpp:43:46: error: 'bitwise_end' was not declared in this scope
  385. bitwise_end(imgResult, planes[i], imgResult);
  386. ^
  387. boneCV.cpp:46:11: error: invalid operands of types '<unresolved overloaded function type>' and 'const char [13]' to binary 'operator<<'
  388. count << "Write Images" << endl;
  389. ^
  390. boneCV.cpp:48:31: error: expected ')' before ';' token
  391. imwrite("imgHsv.png", imgHSV);
  392. ^
  393. boneCV.cpp:49:27: error: 'imgResult' was not declared in this scope
  394. imwrite("imgResult.png", imgResult);
  395. ^
  396. root@beaglebone:~/boneCV#
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement