Answer the question
In order to leave comments, you need to log in
How to properly install OpenCV for CodeBlocks with MinGW?
Using the instructions from this blog https://zahidhasan.wordpress.com/2013/02/16/how-to...
However, errors occurred during compilation (Codeblocks Settings 3 point). At first everything went correctly, compilation reached 91%, and then the following errors appeared:
C:\Anaconda2\libs\python27.lib: error adding symbols: File format not recognized
collect2.exe: error: ld returned 1 exit status
mingw32-make.exe[2]: *** [lib/cv2.pyd] Error 1
mingw32-make.exe[1]: *** [modules/python/CMakeFiles/opencv_python.dir/all] Error 2
mingw32-make.exe: *** [all] Error 2
modules\python\CMakeFiles\opencv_python.dir\build.make:154: recipe for target 'lib/cv2.pyd' failed
mingw32-make.exe[2]: Leaving directory 'C:/OpenCV/my_build'
CMakeFiles\Makefile2:5943: recipe for target 'modules/python/CMakeFiles/opencv_python.dir/all' failed
mingw32-make.exe[1]: Leaving directory 'C:/OpenCV/my_build'
C:/OpenCV/my_build/Makefile:135: recipe for target 'all' failed
Answer the question
In order to leave comments, you need to log in
<button class="button active">1</button>
<button class="button">2</button>
<button class="button">3</button>
$('.button').on('click', function(){
$('.button').removeClass('active');
$(this).addClass('active');
});
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question