The same error appears in Lazarus. I fixed that and added DelphiDX12 as a submodule in the repository, which will download the headers along with the examples on one hand. And on the other hand it will bind the examples to a particular DelphiDX12 version.

It should compile successfully now, thanks for your feedback. On interest, I am able to add more examples.