Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

the windres.exe that comes with mingw cannot escape / handle "long long" in the vs_version.rc

(it stops at the blank and sees the 2nd "long" as a file argument)

remedy:

either switch off the allocator stats:

 cmake -DOPENCV_ENABLE_ALLOCATOR_STATS=OFF

or change the type:

 cmake -DOPENCV_ALLOCATOR_STATS_COUNTER_TYPE=int64

then, clean your build folder and re-run cmake