Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

At 31% the build process is building the core module... the highgui module comes around 40%. Is this a successive build or did you remove some (relevant) modules ? Did you have any warning while configure/generate ?

Sincerely mingw32-make.exe is the make of mingw64. I can build OCV 2.4.13 with TDM-GCC-64 like a charm.

BTW, the BTNS_AUTOSIZE symbol is defined in <MINGW_ROOT>/x86_64-w64-mingw32/include/commctrl.h which is common include file for TDM-GCC-64.

window_w32.cpp:50 includes commctrl.h which is supposed to exist because your error is later. (or your builds doesn't have defined WIN32 || _WIN32)

Maybe your issue is from mingw / windows_32 libs... check if the file commctrl.h exists in your mingw installation and if it contains the symbols BTNS_AUTOSIZE.

You can also test it with a simple program like this:

#include <iostream>
#include <windows.h>
#include <commctrl.h>
using namespace std;

int main()
{
    int test = BTNS_AUTOSIZE;
    cout << "Test should be 16: " << test << endl;
    return 0;
}

at the end... check/update your mingw end ensure you have the windows_32 lib.