Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

#include <mutex> error with CLR compilation with opencv-4.0.0-alpha-vc14_vc15.exe

Dears all,

I just want to make a report: When developping application with opencv-4.0.0-alpha-vc14_vc15.exe there is an error of compilation with VC2017.

"E0035 directive #errorĀ : <mutex> is not supported when compiling with /clr or /clr:pure. C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.15.26726\include\mutex 8"

By investigating: only the header file "utility.hpp" use "#include < mutex >" line 61. How could fixe this issue?

With the opencv realease 343, there is no this error. It means "utility.hpp" in this realease didn't use #include <mutex>.

Thank a lot for help in the future to maintain the possibility to developp Opencv application under VC with CLR.

#include <mutex> error with CLR compilation with opencv-4.0.0-alpha-vc14_vc15.exe

Dears all,

I just want to make a report: When developping application with opencv-4.0.0-alpha-vc14_vc15.exe there is an error of compilation with VC2017.

"E0035 directive #errorĀ : <mutex> is not supported when compiling with /clr or /clr:pure. C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.15.26726\include\mutex 8"

By investigating: only the header file "utility.hpp" use "#include < mutex >" line 61. How could fixe this issue?

With the opencv realease 343, there is no this error. It means "utility.hpp" in this realease didn't use #include <mutex>.

Thank a lot for help in the future to maintain the possibility to developp Opencv application under VC with CLR.