2015-12-15 06:30:24 -0600 | asked a question | OpenCV 2.4.11 Failed to Build System: Windows 7 Compiler: MinGW While mingw32-make, this is what I get after 0%. [ 0%] Building C object 3rdparty/zlib/CMakeFiles/zlib.dir/adler32.c.obj 3rdparty\zlib\CMakeFiles\zlib.dir\build.make:62: recipe for target '3rdparty/zli b/CMakeFiles/zlib.dir/adler32.c.obj' failed mingw32-make[2]: * [3rdparty/zlib/CMakeFiles/zlib.dir/adler32.c.obj] Error 1 CMakeFiles\Makefile2:255: recipe for target '3rdparty/zlib/CMakeFiles/zlib.dir/a ll' failed mingw32-make[1]: [3rdparty/zlib/CMakeFiles/zlib.dir/all] Error 2 makefile:159: recipe for target 'all' failed mingw32-make: ** [all] Error 2 Can you help me? |
2015-12-14 08:02:50 -0600 | commented question | cannot use c++ methods of openCV Thank you for your reply. While I was not able to rebuild opencv with mingw |
2015-12-14 07:32:41 -0600 | asked a question | cannot use c++ methods of openCV I use QT creator (QT 5.5.1)+MinGW and OpenCV 2.4.11 binaries I try to link opencv libraries in qt creator by following code: LIBS += -L$$PWD/../../OpenCV/opencv/build/x86/vc12/bin/ -lopencv_core2411 -lopencv_highgui2411 -lopencv_objdetect2411 -lopencv_imgproc2411 All OK if i use simple C funcitons, like cvLoadImageM("img.jpg"), but when i try to use C++ version of this function imread("img.jpg") i get error that it is undefined. It seems that there is some linker error, but i don't understand how to fix it... Can you help me ? |