Ask Your Question

Revision history [back]

OpenCV 3.4.1 & GCC5.1.0 with codeblocks in windows

Does this combination works ? OpenCV 3.4.1 + Contrib & GCC5.1.0 with codeblocks in windows. I am getting several errors while compiling. In cmake I have disabled matlab, examples, java, python, proto, vtk, ipp, precompiled headers. This is because I was getting different errors, and disabled these to clear one by one errors. Now at the stage of 43% of compilation I get error, which I have copied below. Request for inputs to sort out the error. Any suggestion on the tools combination?

C:\Users\user\Desktop\tool\OCV34\opencv_contrib-master\modules\phase_unwrapping\src\histogramphaseunwrapping.cpp:54:46: error: 'CV_OVERRIDE' does not name a type virtual ~HistogramPhaseUnwrapping_Impl() CV_OVERRIDE {}; ^ C:\Users\user\Desktop\tool\OCV34\opencv_contrib-master\modules\phase_unwrapping\src\histogramphaseunwrapping.cpp:58:60: error: expected ';' at end of member declaration InputArray shadowMask = noArray() ) CV_OVERRIDE; ^ C:\Users\user\Desktop\tool\OCV34\opencv_contrib-master\modules\phase_unwrapping\src\histogramphaseunwrapping.cpp:58:62: error: 'CV_OVERRIDE' does not name a type InputArray shadowMask = noArray() ) CV_OVERRIDE; ^ C:\Users\user\Desktop\tool\OCV34\opencv_contrib-master\modules\phase_unwrapping\src\histogramphaseunwrapping.cpp:60:63: error: expected ';' at end of member declaration void getInverseReliabilityMap( OutputArray reliabilityMap ) CV_OVERRIDE; ^ C:\Users\user\Desktop\tool\OCV34\opencv_contrib-master\modules\phase_unwrapping\src\histogramphaseunwrapping.cpp:60:65: error: 'CV_OVERRIDE' does not name a type void getInverseReliabilityMap( OutputArray reliabilityMap ) CV_OVERRIDE; ^

                                                            ^

mingw32-make.exe[2]: * [modules/phase_unwrapping/CMakeFiles/opencv_phase_unwrapping.dir/src/histogramphaseunwrapping.cpp.obj] Error 1 mingw32-make.exe[1]: [modules/phase_unwrapping/CMakeFiles/opencv_phase_unwrapping.dir/all] Error 2 mingw32-make.exe: ** [all] Error 2 modules\phase_unwrapping\CMakeFiles\opencv_phase_unwrapping.dir\build.make:54: recipe for target 'modules/phase_unwrapping/CMakeFiles/opencv_phase_unwrapping.dir/src/histogramphaseunwrapping.cpp.obj' failed mingw32-make.exe[2]: Leaving directory 'C:/opencv34/myBuild' CMakeFiles\Makefile2:2861: recipe for target 'modules/phase_unwrapping/CMakeFiles/opencv_phase_unwrapping.dir/all' failed mingw32-make.exe[1]: Leaving directory 'C:/opencv34/myBuild' C:/opencv34/myBuild/Makefile:145: recipe for target 'all' failed

click to hide/show revision 2
None

updated 2018-05-18 04:07:29 -0600

berak gravatar image

OpenCV 3.4.1 & GCC5.1.0 with codeblocks in windows

Does this combination works ? OpenCV 3.4.1 + Contrib & GCC5.1.0 with codeblocks in windows. I am getting several errors while compiling. In cmake I have disabled matlab, examples, java, python, proto, vtk, ipp, precompiled headers. This is because I was getting different errors, and disabled these to clear one by one errors. Now at the stage of 43% of compilation I get error, which I have copied below. Request for inputs to sort out the error. Any suggestion on the tools combination?

C:\Users\user\Desktop\tool\OCV34\opencv_contrib-master\modules\phase_unwrapping\src\histogramphaseunwrapping.cpp:54:46: error: 'CV_OVERRIDE' does not name a type
     virtual ~HistogramPhaseUnwrapping_Impl() CV_OVERRIDE {};
                                              ^
C:\Users\user\Desktop\tool\OCV34\opencv_contrib-master\modules\phase_unwrapping\src\histogramphaseunwrapping.cpp:58:60: error: expected ';' at end of member declaration
                          InputArray shadowMask = noArray() ) CV_OVERRIDE;
                                                            ^
C:\Users\user\Desktop\tool\OCV34\opencv_contrib-master\modules\phase_unwrapping\src\histogramphaseunwrapping.cpp:58:62: error: 'CV_OVERRIDE' does not name a type
                          InputArray shadowMask = noArray() ) CV_OVERRIDE;
                                                              ^
C:\Users\user\Desktop\tool\OCV34\opencv_contrib-master\modules\phase_unwrapping\src\histogramphaseunwrapping.cpp:60:63: error: expected ';' at end of member declaration
     void getInverseReliabilityMap( OutputArray reliabilityMap ) CV_OVERRIDE;
                                                               ^
C:\Users\user\Desktop\tool\OCV34\opencv_contrib-master\modules\phase_unwrapping\src\histogramphaseunwrapping.cpp:60:65: error: 'CV_OVERRIDE' does not name a type
     void getInverseReliabilityMap( OutputArray reliabilityMap ) CV_OVERRIDE;
                                                                 ^

^
                                                             ^

mingw32-make.exe[2]: * *** [modules/phase_unwrapping/CMakeFiles/opencv_phase_unwrapping.dir/src/histogramphaseunwrapping.cpp.obj] Error 1 mingw32-make.exe[1]: *** [modules/phase_unwrapping/CMakeFiles/opencv_phase_unwrapping.dir/all] Error 2 mingw32-make.exe: ** *** [all] Error 2 modules\phase_unwrapping\CMakeFiles\opencv_phase_unwrapping.dir\build.make:54: recipe for target 'modules/phase_unwrapping/CMakeFiles/opencv_phase_unwrapping.dir/src/histogramphaseunwrapping.cpp.obj' failed mingw32-make.exe[2]: Leaving directory 'C:/opencv34/myBuild' CMakeFiles\Makefile2:2861: recipe for target 'modules/phase_unwrapping/CMakeFiles/opencv_phase_unwrapping.dir/all' failed mingw32-make.exe[1]: Leaving directory 'C:/opencv34/myBuild' C:/opencv34/myBuild/Makefile:145: recipe for target 'all' failed

failed