I am writing an application using DirectX SDK in C ++. Everything was fine until I started writing support for shaders in my application. When building a project, the following error occurs:
I guess this is somehow related to the name of the file d3d12shader.h , usually I did not use d3dx12 , but d3dx11 . Maybe because of compatibility or something.
The error refers me to this piece of code d3d12shader.h
Application code: https://pastebin.com/Zetad5y1


d3dcommon.h? This isD3D_INTERPOLATION_MODE,D3D_MIN_PRECISIONandD3D_PARAMETER_FLAGS. - ߊߚߤߘD3d12shader.h, where did you get thed3dx12shader.h? - VTTd3dcommon.hincluded inD3d12shader.h. - VTT