Greetings ppl!
I have a problem building the created projected file with cmake 2.8 from Opencv 2.1 source in Code Blocks on Windows XP. The error message that I receive is around at the 42% of the building process. Sorry because I am very noob to all of this building, compiling etc. thing.
Could You post some solution idea? What could the problem be?!
Here is the building log that i receive:
C:/OpenCV-2.1.0/include/opencv/cxcore.hpp: In instantiation of `cv::Vec<_Tp, cn>& cv::Point_<_Tp>::operator=(const cv::Point_<_Tp>&) [with _Tp = int]':
C:\OpenCV-2.1.0\src\cxcore\cxdrawing.cpp:959: instantiated from here
C:/OpenCV-2.1.0/include/opencv/cxcore.hpp:304: error: new declaration `cv::Vec<_Tp, cn>& cv::Point_<_Tp>::operator=(const cv::Point_<_Tp>&) [with _Tp = int]'
C:/OpenCV-2.1.0/include/opencv/cxcore.hpp:304: error: ambiguates old declaration `cv::Vec<_Tp, cn>& cv::Point_<_Tp>::operator=(const cv::Point_<_Tp>&) [with _Tp = int]'
C:/OpenCV-2.1.0/include/opencv/cxcore.hpp: In instantiation of `cv::Vec<int, cn>':
C:/OpenCV-2.1.0/include/opencv/cxoperations.hpp:598: instantiated from `cv::Vec<_Tp, cn>& cv::Point_<_Tp>::operator=(const cv::Point_<_Tp>&) [with _Tp = int]'
C:\OpenCV-2.1.0\src\cxcore\cxdrawing.cpp:959: instantiated from here
C:/OpenCV-2.1.0/include/opencv/cxcore.hpp:243: error: size of array is not an integral constant-expression
C:/OpenCV-2.1.0/include/opencv/cxoperations.hpp: In member function `cv::Vec<_Tp, cn>& cv::Point_<_Tp>::operator=(const cv::Point_<_Tp>&) [with _Tp = int]':
C:\OpenCV-2.1.0\src\cxcore\cxdrawing.cpp:959: instantiated from here
C:/OpenCV-2.1.0/include/opencv/cxoperations.hpp:598: error: invalid initialization of reference of type 'cv::Vec<int, cn>&' from expression of type 'cv::Point_<int>'
mingw32-make.exe[2]: *** [src/cxcore/CMakeFiles/cxcore.dir/cxdrawing.obj] Error 1
mingw32-make.exe[2]: Leaving directory `C:/OpenCV-2.1.0/release'
mingw32-make.exe[1]: *** [src/cxcore/CMakeFiles/cxcore.dir/all] Error 2
mingw32-make.exe[1]: Leaving directory `C:/OpenCV-2.1.0/release'
mingw32-make.exe: *** [all] Error 2
Process terminated with status 2 (0 minutes, 17 seconds)
4 errors, 0 warnings
Thank You very much!