You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I compiled the 4.1.0 version with mingw-w64, there was an error
E:\opencv-4.1.0\opencv-4.1.0\modules\core\src\directx.cpp:1035:5: error: 'D3D11_TEXTURE2D_DESC' was not declared in this scope
D3D11_TEXTURE2D_DESC desc = { 0 };
^~~~~~~~~~~~~~~~~~~~
I can solve it like this
cmake -DWITH_OPENCL_D3D11_NV=OFF
But I don't know if this is the right solution, and whether this will affect the compiled dll.
The text was updated successfully, but these errors were encountered:
D3D11_TEXTURE2D_DESC is declared in d3d11.h. If you don't need interoperability between D3D11 and OpenCL, you can turn off compile options, as you did.
System information (version)
Detailed description
When I compiled the 4.1.0 version with mingw-w64, there was an error
I can solve it like this
But I don't know if this is the right solution, and whether this will affect the compiled dll.
The text was updated successfully, but these errors were encountered: