Compilation fatal error: d3d11on12.h: No such file or directory
alixintong opened this issue · 1 comments
Currently working on a project that is tested on Linux 22.04 and Linux 20.04. Unfortunately when I tried to build it with the addition #include "d3d12compatibility.h"
, I'm getting a DirectX-Header compilation error because in lines 111-114 of d3d12compatibility.h
:
/* header files for imported files */
#include "oaidl.h"
#include "ocidl.h"
#include "d3d11on12.h"
It is unable to find d3d11on12.h
, resulting in this build failure: third_party/directx_headers/include/directx/d3d12compatibility.h:114:10: fatal error: d3d11on12.h: No such file or directory
.
I see in this repository both oaidl.h
and ocidl.h
are found, would it be possible to add in the file d3d11on12.h
at the appropriate place as well?
What is it in the "d3d12compatibilty" header that you feel is required when building on Linux? The intent is for this header to only be used for interop on Windows.