Ask Your Question

Revision history [back]

Error while mingw32-make


I want to use Code::Blocks as IDE.

So i have to build the OpenCV on my own. Currently I am trying to make OpenCV Version 2.4.11.

But every time the process fails at 28% with following errors:

F:\Programme\opencv\sources\modules\highgui\src\window_w32.cpp: In function 'int icvCreateTrackbar(const char, const char, int, int, CvTrackbarCallback, CvTr ackbarCallback2, void)': F:\Programme\opencv\sources\modules\highgui\src\window_w32.cpp:1853:81: error: ' BTNS_AUTOSIZE' was not declared in this scope F:\Programme\opencv\sources\modules\highgui\src\window_w32.cpp:1853:97: error: ' BTNS_BUTTON' was not declared in this scope mingw32-make[2]: * [modules/highgui/CMakeFiles/opencv_highgui.dir/src/window_w 32.cpp.obj] Error 1 mingw32-make[1]: [modules/highgui/CMakeFiles/opencv_highgui.dir/all] Error 2 mingw32-make: ** [all] Error 2

Does anyone know what the problem could be?

I have searched in many forums, but did not found any solution.

So, please help me!

Regards Robo11