Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

did you accidentally set ENABLE_INSTRUMENTATION=ON in cmake ? this has to go OFF, since mingw can't compile it

did if you accidentally want to use mingw, you have to set ENABLE_INSTRUMENTATION=ON in some cmake ? this has to go OFF, since mingw can't compile itflags:

ENABLE_INSTRUMENTATION=OFF
ENABLE_PRECOMPILED_HEADERS=OFF
WITH_MSMF=OFF
CPU_DISPATCH=""

if you want to use mingw, you have to set some special cmake flags:

ENABLE_INSTRUMENTATION=OFF
ENABLE_PRECOMPILED_HEADERS=OFF
WITH_MSMF=OFF
CPU_DISPATCH=""
ENABLE_INSTRUMENTATION=OFF             // your errors above
ENABLE_PRECOMPILED_HEADERS=OFF         // else the resource compiler crashes
WITH_MSMF=OFF                          // mingw is lacking some headers
CPU_DISPATCH=""                        // leave empty, (avx related runtime errors)

if you want to use mingw, you have to set some special cmake flags:

ENABLE_INSTRUMENTATION=OFF             // your errors above
above (mingw can't compile it)
ENABLE_PRECOMPILED_HEADERS=OFF         // else the resource compiler crashes
WITH_MSMF=OFF                          // mingw is lacking some headers
CPU_DISPATCH=""                        // leave empty, (avx related runtime errors)