Error while mingw32-make

asked 2015-03-21 08:33:09 -0600

Robo11 gravatar image

Hi,

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

edit retag flag offensive close merge delete

Comments

I too am having this difficulty, I can however using the same setup complie 2.4.10... Not sure what has broken between the revisions.

conoral11 gravatar imageconoral11 ( 2015-04-23 08:45:31 -0600 )edit

I would like to acknowledge the same problem with version 2.4.11.

g4481699 gravatar imageg4481699 ( 2015-05-31 08:03:38 -0600 )edit