Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- login as: root
- Debian GNU/Linux 8
- BeagleBoard.org Debian Image 2016-05-13
- Support/FAQ: http://elinux.org/Beagleboard:BeagleBoneBlack_Debian
- default username:password is [debian:temppwd]
- root@192.168.1.151's password:
- root@beaglebone:~/boneCV#
- root@beaglebone:~/boneCV#
- root@beaglebone:~/boneCV#
- root@beaglebone:~/boneCV#
- root@beaglebone:~/boneCV#
- root@beaglebone:~/boneCV# g++ -O2 `pkg-config --cflags --libs opencv`
- /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)
- /usr/lib/gcc/arm-linux-gnueabihf/4.9/../../../arm-linux-gnueabihf/crt1.o: In function `_start':
- (.text+0x28): undefined reference to `main'
- //usr/lib/arm-linux-gnueabihf/libavcodec.so.56: undefined reference to `lame_get_encoder_delay'
- //usr/lib/arm-linux-gnueabihf/libavcodec.so.56: undefined reference to `lame_set_bWriteVbrTag'
- //usr/lib/arm-linux-gnueabihf/libavcodec.so.56: undefined reference to `lame_get_framesize'
- //usr/lib/arm-linux-gnueabihf/libavcodec.so.56: undefined reference to `lame_set_brate'
- //usr/lib/arm-linux-gnueabihf/libavcodec.so.56: undefined reference to `lame_set_in_samplerate'
- //usr/lib/arm-linux-gnueabihf/libavcodec.so.56: undefined reference to `lame_set_disable_reservoir'
- //usr/lib/arm-linux-gnueabihf/libavcodec.so.56: undefined reference to `lame_set_VBR'
- //usr/lib/arm-linux-gnueabihf/libavcodec.so.56: undefined reference to `lame_close'
- collect2: error: ld returned 1 exit status
- root@beaglebone:~/boneCV#
- root@beaglebone:~/boneCV#
- root@beaglebone:~/boneCV#
- root@beaglebone:~/boneCV#
- root@beaglebone:~/boneCV# g++ -O2 `pkg-config --cflags --libs opencv` boneCV.cpp -o bone
- boneCV.cpp:47:10: warning: missing terminating " character
- imwrite("imgInput.png, imgInput);
- ^
- boneCV.cpp:47:2: error: missing terminating " character
- imwrite("imgInput.png, imgInput);
- ^
- boneCV.cpp: In function 'int main()':
- boneCV.cpp:13:22: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11
- VideoCapture capture{0}; // Camera Index = 0
- ^
- boneCV.cpp:13:24: error: in C++98 'capture' must be initialized by constructor, not by '{...}'
- VideoCapture capture{0}; // Camera Index = 0
- ^
- boneCV.cpp:18:25: error: expected ')' before '{' token
- if (!capture.isOpened(){
- ^
- boneCV.cpp:25:13: error: 'imgInput' was not declared in this scope
- capture >> imgInput;
- ^
- boneCV.cpp:26:43: error: no match for 'operator<' (operand types are 'std::basic_ostream<char>' and '<unresolved overloaded function type>')
- cout << "Convert RGB To HSV Color Space" <endl;
- ^
- boneCV.cpp:26:43: note: candidates are:
- In file included from /usr/include/opencv2/core/core.hpp:4855:0,
- from /usr/include/opencv2/opencv.hpp:47,
- from boneCV.cpp:2:
- /usr/include/opencv2/core/operations.hpp:3190:20: note: bool cv::operator<(const cv::FileNodeIterator&, const cv::FileNodeIterator&)
- static inline bool operator < (const FileNodeIterator& it1, const FileNodeIterator& it2)
- ^
- /usr/include/opencv2/core/operations.hpp:3190:20: note: no known conversion for argument 1 from 'std::basic_ostream<char>' to 'const cv::FileNodeIterator&'
- In file included from /usr/include/opencv2/core/core.hpp:4856:0,
- from /usr/include/opencv2/opencv.hpp:47,
- from boneCV.cpp:2:
- /usr/include/opencv2/core/mat.hpp:1300:20: note: cv::MatExpr cv::operator<(const cv::Mat&, const cv::Mat&)
- CV_EXPORTS MatExpr operator < (const Mat& a, const Mat& b);
- ^
- /usr/include/opencv2/core/mat.hpp:1300:20: note: no known conversion for argument 1 from 'std::basic_ostream<char>' to 'const cv::Mat&'
- /usr/include/opencv2/core/mat.hpp:1301:20: note: cv::MatExpr cv::operator<(const cv::Mat&, double)
- CV_EXPORTS MatExpr operator < (const Mat& a, double s);
- ^
- /usr/include/opencv2/core/mat.hpp:1301:20: note: no known conversion for argument 1 from 'std::basic_ostream<char>' to 'const cv::Mat&'
- /usr/include/opencv2/core/mat.hpp:1302:20: note: cv::MatExpr cv::operator<(double, const cv::Mat&)
- CV_EXPORTS MatExpr operator < (double s, const Mat& a);
- ^
- /usr/include/opencv2/core/mat.hpp:1302:20: note: no known conversion for argument 1 from 'std::basic_ostream<char>' to 'double'
- /usr/include/opencv2/core/mat.hpp:1981:1: note: bool cv::operator<(const cv::MatConstIterator&, const cv::MatConstIterator&)
- operator < (const MatConstIterator& a, const MatConstIterator& b)
- ^
- /usr/include/opencv2/core/mat.hpp:1981:1: note: no known conversion for argument 1 from 'std::basic_ostream<char>' to 'const cv::MatConstIterator&'
- In file included from /usr/include/c++/4.9/set:62:0,
- from /usr/include/opencv2/contrib/openfabmap.hpp:61,
- from /usr/include/opencv2/contrib/contrib.hpp:981,
- from /usr/include/opencv2/opencv.hpp:59,
- from boneCV.cpp:2:
- /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>&)
- operator<(const multiset<_Key, _Compare, _Alloc>& __x,
- ^
- /usr/include/c++/4.9/bits/stl_multiset.h:794:5: note: template argument deduction/substitution failed:
- boneCV.cpp:26:44: note: 'std::basic_ostream<char>' is not derived from 'const std::multiset<_Key, _Compare, _Alloc>'
- cout << "Convert RGB To HSV Color Space" <endl;
- ^
- In file included from /usr/include/c++/4.9/set:61:0,
- from /usr/include/opencv2/contrib/openfabmap.hpp:61,
- from /usr/include/opencv2/contrib/contrib.hpp:981,
- from /usr/include/opencv2/opencv.hpp:59,
- from boneCV.cpp:2:
- /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>&)
- operator<(const set<_Key, _Compare, _Alloc>& __x,
- ^
- /usr/include/c++/4.9/bits/stl_set.h:810:5: note: template argument deduction/substitution failed:
- boneCV.cpp:26:44: note: 'std::basic_ostream<char>' is not derived from 'const std::set<_Key, _Compare, _Alloc>'
- cout << "Convert RGB To HSV Color Space" <endl;
- ^
- In file included from /usr/include/opencv2/contrib/retina.hpp:76:0,
- from /usr/include/opencv2/contrib/contrib.hpp:979,
- from /usr/include/opencv2/opencv.hpp:59,
- from boneCV.cpp:2:
- /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]
- _DEFINE_BINARY_OPERATOR(<, __less)
- ^
- /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> >&'
- /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&)
- _DEFINE_BINARY_OPERATOR(<, __less)
- ^
- /usr/include/c++/4.9/valarray:1181:1: note: template argument deduction/substitution failed:
- boneCV.cpp:26:44: note: 'std::basic_ostream<char>' is not derived from 'const std::valarray<_Tp>'
- cout << "Convert RGB To HSV Color Space" <endl;
- ^
- In file included from /usr/include/opencv2/contrib/retina.hpp:76:0,
- from /usr/include/opencv2/contrib/contrib.hpp:979,
- from /usr/include/opencv2/opencv.hpp:59,
- from boneCV.cpp:2:
- /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>&)
- _DEFINE_BINARY_OPERATOR(<, __less)
- ^
- /usr/include/c++/4.9/valarray:1181:1: note: template argument deduction/substitution failed:
- boneCV.cpp:26:44: note: 'std::basic_ostream<char>' is not derived from 'const std::valarray<_Tp>'
- cout << "Convert RGB To HSV Color Space" <endl;
- ^
- In file included from /usr/include/c++/4.9/valarray:587:0,
- from /usr/include/opencv2/contrib/retina.hpp:76,
- from /usr/include/opencv2/contrib/contrib.hpp:979,
- from /usr/include/opencv2/opencv.hpp:59,
- from boneCV.cpp:2:
- /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>&)
- _DEFINE_EXPR_BINARY_OPERATOR(<, __less)
- ^
- /usr/include/c++/4.9/bits/valarray_after.h:416:5: note: template argument deduction/substitution failed:
- boneCV.cpp:26:44: note: couldn't deduce template parameter '_Dom'
- cout << "Convert RGB To HSV Color Space" <endl;
- ^
- In file included from /usr/include/c++/4.9/valarray:587:0,
- from /usr/include/opencv2/contrib/retina.hpp:76,
- from /usr/include/opencv2/contrib/contrib.hpp:979,
- from /usr/include/opencv2/opencv.hpp:59,
- from boneCV.cpp:2:
- /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>&)
- _DEFINE_EXPR_BINARY_OPERATOR(<, __less)
- ^
- /usr/include/c++/4.9/bits/valarray_after.h:416:5: note: template argument deduction/substitution failed:
- boneCV.cpp:26:44: note: 'std::basic_ostream<char>' is not derived from 'const std::_Expr<_Dom1, typename _Dom1::value_type>'
- cout << "Convert RGB To HSV Color Space" <endl;
- ^
- In file included from /usr/include/c++/4.9/valarray:587:0,
- from /usr/include/opencv2/contrib/retina.hpp:76,
- from /usr/include/opencv2/contrib/contrib.hpp:979,
- from /usr/include/opencv2/opencv.hpp:59,
- from boneCV.cpp:2:
- /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>&)
- _DEFINE_EXPR_BINARY_OPERATOR(<, __less)
- ^
- /usr/include/c++/4.9/bits/valarray_after.h:416:5: note: template argument deduction/substitution failed:
- boneCV.cpp:26:44: note: couldn't deduce template parameter '_Dom'
- cout << "Convert RGB To HSV Color Space" <endl;
- ^
- In file included from /usr/include/c++/4.9/valarray:587:0,
- from /usr/include/opencv2/contrib/retina.hpp:76,
- from /usr/include/opencv2/contrib/contrib.hpp:979,
- from /usr/include/opencv2/opencv.hpp:59,
- from boneCV.cpp:2:
- /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&)
- _DEFINE_EXPR_BINARY_OPERATOR(<, __less)
- ^
- /usr/include/c++/4.9/bits/valarray_after.h:416:5: note: template argument deduction/substitution failed:
- boneCV.cpp:26:44: note: 'std::basic_ostream<char>' is not derived from 'const std::_Expr<_Dom1, typename _Dom1::value_type>'
- cout << "Convert RGB To HSV Color Space" <endl;
- ^
- In file included from /usr/include/c++/4.9/valarray:587:0,
- from /usr/include/opencv2/contrib/retina.hpp:76,
- from /usr/include/opencv2/contrib/contrib.hpp:979,
- from /usr/include/opencv2/opencv.hpp:59,
- from boneCV.cpp:2:
- /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>&)
- _DEFINE_EXPR_BINARY_OPERATOR(<, __less)
- ^
- /usr/include/c++/4.9/bits/valarray_after.h:416:5: note: template argument deduction/substitution failed:
- boneCV.cpp:26:44: note: 'std::basic_ostream<char>' is not derived from 'const std::_Expr<_Dom1, typename _Dom1::value_type>'
- cout << "Convert RGB To HSV Color Space" <endl;
- ^
- In file included from /usr/include/c++/4.9/deque:64:0,
- from /usr/include/opencv2/objdetect/objdetect.hpp:50,
- from /usr/include/opencv2/opencv.hpp:54,
- from boneCV.cpp:2:
- /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>&)
- operator<(const deque<_Tp, _Alloc>& __x,
- ^
- /usr/include/c++/4.9/bits/stl_deque.h:2047:5: note: template argument deduction/substitution failed:
- boneCV.cpp:26:44: note: 'std::basic_ostream<char>' is not derived from 'const std::deque<_Tp, _Alloc>'
- cout << "Convert RGB To HSV Color Space" <endl;
- ^
- In file included from /usr/include/c++/4.9/deque:64:0,
- from /usr/include/opencv2/objdetect/objdetect.hpp:50,
- from /usr/include/opencv2/opencv.hpp:54,
- from boneCV.cpp:2:
- /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>&)
- operator<(const _Deque_iterator<_Tp, _RefL, _PtrL>& __x,
- ^
- /usr/include/c++/4.9/bits/stl_deque.h:285:5: note: template argument deduction/substitution failed:
- boneCV.cpp:26:44: note: 'std::basic_ostream<char>' is not derived from 'const std::_Deque_iterator<_Tp, _Ref, _Ptr>'
- cout << "Convert RGB To HSV Color Space" <endl;
- ^
- In file included from /usr/include/c++/4.9/deque:64:0,
- from /usr/include/opencv2/objdetect/objdetect.hpp:50,
- from /usr/include/opencv2/opencv.hpp:54,
- from boneCV.cpp:2:
- /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>&)
- operator<(const _Deque_iterator<_Tp, _Ref, _Ptr>& __x,
- ^
- /usr/include/c++/4.9/bits/stl_deque.h:277:5: note: template argument deduction/substitution failed:
- boneCV.cpp:26:44: note: 'std::basic_ostream<char>' is not derived from 'const std::_Deque_iterator<_Tp, _Ref, _Ptr>'
- cout << "Convert RGB To HSV Color Space" <endl;
- ^
- In file included from /usr/include/c++/4.9/list:63:0,
- from /usr/include/opencv2/video/background_segm.hpp:47,
- from /usr/include/opencv2/video/video.hpp:47,
- from /usr/include/opencv2/opencv.hpp:52,
- from boneCV.cpp:2:
- /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>&)
- operator<(const list<_Tp, _Alloc>& __x, const list<_Tp, _Alloc>& __y)
- ^
- /usr/include/c++/4.9/bits/stl_list.h:1758:5: note: template argument deduction/substitution failed:
- boneCV.cpp:26:44: note: 'std::basic_ostream<char>' is not derived from 'const std::list<_Tp, _Alloc>'
- cout << "Convert RGB To HSV Color Space" <endl;
- ^
- In file included from /usr/include/c++/4.9/vector:64:0,
- from /usr/include/opencv2/core/core.hpp:63,
- from /usr/include/opencv2/opencv.hpp:47,
- from boneCV.cpp:2:
- /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>&)
- operator<(const vector<_Tp, _Alloc>& __x, const vector<_Tp, _Alloc>& __y)
- ^
- /usr/include/c++/4.9/bits/stl_vector.h:1528:5: note: template argument deduction/substitution failed:
- boneCV.cpp:26:44: note: 'std::basic_ostream<char>' is not derived from 'const std::vector<_Tp, _Alloc>'
- cout << "Convert RGB To HSV Color Space" <endl;
- ^
- In file included from /usr/include/c++/4.9/map:62:0,
- from /usr/include/opencv2/core/core.hpp:60,
- from /usr/include/opencv2/opencv.hpp:47,
- from boneCV.cpp:2:
- /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>&)
- operator<(const multimap<_Key, _Tp, _Compare, _Alloc>& __x,
- ^
- /usr/include/c++/4.9/bits/stl_multimap.h:920:5: note: template argument deduction/substitution failed:
- boneCV.cpp:26:44: note: 'std::basic_ostream<char>' is not derived from 'const std::multimap<_Key, _Tp, _Compare, _Alloc>'
- cout << "Convert RGB To HSV Color Space" <endl;
- ^
- In file included from /usr/include/c++/4.9/map:61:0,
- from /usr/include/opencv2/core/core.hpp:60,
- from /usr/include/opencv2/opencv.hpp:47,
- from boneCV.cpp:2:
- /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>&)
- operator<(const map<_Key, _Tp, _Compare, _Alloc>& __x,
- ^
- /usr/include/c++/4.9/bits/stl_map.h:1017:5: note: template argument deduction/substitution failed:
- boneCV.cpp:26:44: note: 'std::basic_ostream<char>' is not derived from 'const std::map<_Key, _Tp, _Compare, _Alloc>'
- cout << "Convert RGB To HSV Color Space" <endl;
- ^
- In file included from /usr/include/c++/4.9/map:60:0,
- from /usr/include/opencv2/core/core.hpp:60,
- from /usr/include/opencv2/opencv.hpp:47,
- from boneCV.cpp:2:
- /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>&)
- operator<(const _Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>& __x,
- ^
- /usr/include/c++/4.9/bits/stl_tree.h:980:5: note: template argument deduction/substitution failed:
- boneCV.cpp:26:44: note: 'std::basic_ostream<char>' is not derived from 'const std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>'
- cout << "Convert RGB To HSV Color Space" <endl;
- ^
- In file included from /usr/include/c++/4.9/string:52:0,
- from /usr/include/c++/4.9/bits/locale_classes.h:40,
- from /usr/include/c++/4.9/bits/ios_base.h:41,
- from /usr/include/c++/4.9/ios:42,
- from /usr/include/c++/4.9/ostream:38,
- from /usr/include/c++/4.9/iostream:39,
- from boneCV.cpp:1:
- /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>&)
- operator<(const _CharT* __lhs,
- ^
- /usr/include/c++/4.9/bits/basic_string.h:2612:5: note: template argument deduction/substitution failed:
- boneCV.cpp:26:44: note: mismatched types 'const _CharT*' and 'std::basic_ostream<char>'
- cout << "Convert RGB To HSV Color Space" <endl;
- ^
- In file included from /usr/include/c++/4.9/string:52:0,
- from /usr/include/c++/4.9/bits/locale_classes.h:40,
- from /usr/include/c++/4.9/bits/ios_base.h:41,
- from /usr/include/c++/4.9/ios:42,
- from /usr/include/c++/4.9/ostream:38,
- from /usr/include/c++/4.9/iostream:39,
- from boneCV.cpp:1:
- /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*)
- operator<(const basic_string<_CharT, _Traits, _Alloc>& __lhs,
- ^
- /usr/include/c++/4.9/bits/basic_string.h:2600:5: note: template argument deduction/substitution failed:
- boneCV.cpp:26:44: note: 'std::basic_ostream<char>' is not derived from 'const std::basic_string<_CharT, _Traits, _Alloc>'
- cout << "Convert RGB To HSV Color Space" <endl;
- ^
- In file included from /usr/include/c++/4.9/string:52:0,
- from /usr/include/c++/4.9/bits/locale_classes.h:40,
- from /usr/include/c++/4.9/bits/ios_base.h:41,
- from /usr/include/c++/4.9/ios:42,
- from /usr/include/c++/4.9/ostream:38,
- from /usr/include/c++/4.9/iostream:39,
- from boneCV.cpp:1:
- /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>&)
- operator<(const basic_string<_CharT, _Traits, _Alloc>& __lhs,
- ^
- /usr/include/c++/4.9/bits/basic_string.h:2588:5: note: template argument deduction/substitution failed:
- boneCV.cpp:26:44: note: 'std::basic_ostream<char>' is not derived from 'const std::basic_string<_CharT, _Traits, _Alloc>'
- cout << "Convert RGB To HSV Color Space" <endl;
- ^
- In file included from /usr/include/c++/4.9/bits/stl_algobase.h:67:0,
- from /usr/include/c++/4.9/bits/char_traits.h:39,
- from /usr/include/c++/4.9/ios:40,
- from /usr/include/c++/4.9/ostream:38,
- from /usr/include/c++/4.9/iostream:39,
- from boneCV.cpp:1:
- /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>&)
- operator<(const reverse_iterator<_IteratorL>& __x,
- ^
- /usr/include/c++/4.9/bits/stl_iterator.h:348:5: note: template argument deduction/substitution failed:
- boneCV.cpp:26:44: note: 'std::basic_ostream<char>' is not derived from 'const std::reverse_iterator<_Iterator>'
- cout << "Convert RGB To HSV Color Space" <endl;
- ^
- In file included from /usr/include/c++/4.9/bits/stl_algobase.h:67:0,
- from /usr/include/c++/4.9/bits/char_traits.h:39,
- from /usr/include/c++/4.9/ios:40,
- from /usr/include/c++/4.9/ostream:38,
- from /usr/include/c++/4.9/iostream:39,
- from boneCV.cpp:1:
- /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>&)
- operator<(const reverse_iterator<_Iterator>& __x,
- ^
- /usr/include/c++/4.9/bits/stl_iterator.h:298:5: note: template argument deduction/substitution failed:
- boneCV.cpp:26:44: note: 'std::basic_ostream<char>' is not derived from 'const std::reverse_iterator<_Iterator>'
- cout << "Convert RGB To HSV Color Space" <endl;
- ^
- In file included from /usr/include/c++/4.9/bits/stl_algobase.h:64:0,
- from /usr/include/c++/4.9/bits/char_traits.h:39,
- from /usr/include/c++/4.9/ios:40,
- from /usr/include/c++/4.9/ostream:38,
- from /usr/include/c++/4.9/iostream:39,
- from boneCV.cpp:1:
- /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>&)
- operator<(const pair<_T1, _T2>& __x, const pair<_T1, _T2>& __y)
- ^
- /usr/include/c++/4.9/bits/stl_pair.h:220:5: note: template argument deduction/substitution failed:
- boneCV.cpp:26:44: note: 'std::basic_ostream<char>' is not derived from 'const std::pair<_T1, _T2>'
- cout << "Convert RGB To HSV Color Space" <endl;
- ^
- boneCV.cpp:27:12: error: 'imnInput' was not declared in this scope
- cvtColor (imnInput, imgHSV, CV_RGB2HSV);
- ^
- boneCV.cpp:28:39: error: 'end' was not declared in this scope
- cout << "Split into Color Arrays" << end;
- ^
- boneCV.cpp:31:11: error: invalid operands of types '<unresolved overloaded function type>' and 'const char [22]' to binary 'operator<<'
- count << "Begin Color Threshold" << endl;
- ^
- boneCV.cpp:37:59: error: 'bitwise_end' was not declared in this scope
- bitwise_end(imgThresholdLow, imgThresholdHigh, planes[i]);
- ^
- boneCV.cpp:40:11: error: invalid operands of types '<unresolved overloaded function type>' and 'const char [15]' to binary 'operator<<'
- count << "Create Results" << endl;
- ^
- boneCV.cpp:41:59: error: 'Scaler' was not declared in this scope
- Mat imgResults ( Size(width, height), CV_8UC1, Scaler(255)); // Init Ch to all black (255)
- ^
- boneCV.cpp:43:15: error: 'imgResult' was not declared in this scope
- bitwise_end(imgResult, planes[i], imgResult);
- ^
- boneCV.cpp:43:46: error: 'bitwise_end' was not declared in this scope
- bitwise_end(imgResult, planes[i], imgResult);
- ^
- boneCV.cpp:46:11: error: invalid operands of types '<unresolved overloaded function type>' and 'const char [13]' to binary 'operator<<'
- count << "Write Images" << endl;
- ^
- boneCV.cpp:48:31: error: expected ')' before ';' token
- imwrite("imgHsv.png", imgHSV);
- ^
- boneCV.cpp:49:27: error: 'imgResult' was not declared in this scope
- imwrite("imgResult.png", imgResult);
- ^
- root@beaglebone:~/boneCV#
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement