Using VS2018Pro, Windows10,
I'm getting many redefinition compilation errors when pulling in DirectXTex.h, DirectXMath.h and DirectXCollision.h across project files.
DirectXMath and DirectXCollision are part of the Win10SDK headers and I pulled DirectXTex from the github repo and put it local to my project folder.
In my code base I need to include the DirectXTex.h, DirectXMath.h and DirectXCollision.h headers across various files however I'm getting many redefintion errors and duplicates that are within the DirectX namespace. I understand that I may have to include one before the other (which I've tried many variations of, and DirectXTex pulls in DirectXMath for eg) but I can't get things to compile.
Does anyone have a clue as to the correct order of pulling in these includes across project files?