Page 1 of 1

Need helping building cegui for Directx11

Posted: Tue Sep 18, 2018 23:41
by quintyboy2
Hi,

I need some help building for Direcx11. Currently I can't build the lib and bin for Directx11.
When I try to build the CEGUIDirect3D11Renderer, I get an error that d3dx10 can't be included.
If I understand correctly these are headers for an older Directx version? Why do I need to have the older directx version to build for Directx11?
And how can I fix this? I wasn't able to find any solution.

Thanks for reading

Re: Need helping building cegui for Directx11

Posted: Wed Sep 19, 2018 05:51
by Ident
What error?

Re: Need helping building cegui for Directx11

Posted: Wed Sep 19, 2018 10:42
by quintyboy2
Cannot open include file: 'd3dx10.h': No such file or directory (compiling source file \CEGUI\cegui-0.8.7\cegui\src\RendererModules\Direct3D11\ViewportTarget.cpp)

Re: Need helping building cegui for Directx11

Posted: Wed Sep 19, 2018 18:57
by Ident
Yes! that should be fixed. I am on it.

Re: Need helping building cegui for Directx11

Posted: Thu Sep 20, 2018 09:29
by quintyboy2
Oh thank you so much :)

Re: Need helping building cegui for Directx11

Posted: Thu Sep 20, 2018 18:55
by Ident
Unfortunately it is not trivial to replace this header as they deprecated the math libs we are using in that renderer in newer d3d versio. E.g. D3DXVECTOR3 and certain math functions. I am looking into replacing it with glm.

Re: Need helping building cegui for Directx11

Posted: Thu Sep 20, 2018 19:13
by Ident
Turns out I already fixed that. On default branch (unreleased 1.0 version). You could get default branch instead of 0.8.7 but its less stable than v0-8.

Unfortunately, backporting the Renderer is not straight-forward.