1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
| [ 42%] Building CXX object src/cxcore/CMakeFiles/cxcore.dir/cxcopy.obj
[ 42%] Building CXX object src/cxcore/CMakeFiles/cxcore.dir/cxdatastructs.obj
[ 42%] Building CXX object src/cxcore/CMakeFiles/cxcore.dir/cxdrawing.obj
C:/xxx/OpenCV-1.2.0/include/opencv/cxcore.hpp: In instantiation of `cv::Vec<_Tp, cn>& cv::Point_<_Tp>::operator=(const cv::Point_<_Tp>&) [with _Tp = int]':
C:\xxx\OpenCV-1.2.0\src\cxcore\cxdrawing.cpp:954: instantiated from here
C:/xxx/OpenCV-1.2.0/include/opencv/cxcore.hpp:289: error: new declaration `cv::Vec<_Tp, cn>& cv::Point_<_Tp>::operator=(const cv::Point_<_Tp>&) [with _Tp = int]'
C:/xxx/OpenCV-1.2.0/include/opencv/cxcore.hpp:289: error: ambiguates old declaration `cv::Vec<_Tp, cn>& cv::Point_<_Tp>::operator=(const cv::Point_<_Tp>&) [with _Tp = int]'
C:/xxx/OpenCV-1.2.0/include/opencv/cxcore.hpp: In instantiation of `cv::Vec<int, cn>':
C:/xxx/OpenCV-1.2.0/include/opencv/cxoperations.hpp:589: instantiated from `cv::Vec<_Tp, cn>& cv::Point_<_Tp>::operator=(const cv::Point_<_Tp>&) [with _Tp = int]'
C:\xxx\OpenCV-1.2.0\src\cxcore\cxdrawing.cpp:954: instantiated from here
C:/xxx/OpenCV-1.2.0/include/opencv/cxcore.hpp:232: error: size of array is not an integral constant-expression
C:/xxx/OpenCV-1.2.0/include/opencv/cxoperations.hpp: In member function `cv::Vec<_Tp, cn>& cv::Point_<_Tp>::operator=(const cv::Point_<_Tp>&) [with _Tp = int]':
C:\xxx\OpenCV-1.2.0\src\cxcore\cxdrawing.cpp:954: instantiated from here
C:/xxx/OpenCV-1.2.0/include/opencv/cxoperations.hpp:589: error: invalid initialization of reference of type 'cv::Vec<int, cn>&' from expression of type 'cv::Point_<int>'
mingw32-make[2]: *** [src/cxcore/CMakeFiles/cxcore.dir/cxdrawing.obj] Error 1
mingw32-make[1]: *** [src/cxcore/CMakeFiles/cxcore.dir/all] Error 2
mingw32-make: *** [all] Error 2 |
Partager