Need helping building cegui for Directx11

For help with general CEGUI usage:
- Questions about the usage of CEGUI and its features, if not explained in the documentation.
- Problems with the CMAKE configuration or problems occuring during the build process/compilation.
- Errors or unexpected behaviour.

Moderators: CEGUI MVP, CEGUI Team

quintyboy2
Just popping in
Just popping in
Posts: 3
Joined: Tue Sep 18, 2018 23:31

Need helping building cegui for Directx11

Postby quintyboy2 » Tue Sep 18, 2018 23:41

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

User avatar
Ident
CEGUI Team
Posts: 1998
Joined: Sat Oct 31, 2009 13:57
Location: Austria

Re: Need helping building cegui for Directx11

Postby Ident » Wed Sep 19, 2018 05:51

What error?
CrazyEddie: "I don't like GUIs"

quintyboy2
Just popping in
Just popping in
Posts: 3
Joined: Tue Sep 18, 2018 23:31

Re: Need helping building cegui for Directx11

Postby quintyboy2 » Wed Sep 19, 2018 10:42

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)

User avatar
Ident
CEGUI Team
Posts: 1998
Joined: Sat Oct 31, 2009 13:57
Location: Austria

Re: Need helping building cegui for Directx11

Postby Ident » Wed Sep 19, 2018 18:57

Yes! that should be fixed. I am on it.
CrazyEddie: "I don't like GUIs"

quintyboy2
Just popping in
Just popping in
Posts: 3
Joined: Tue Sep 18, 2018 23:31

Re: Need helping building cegui for Directx11

Postby quintyboy2 » Thu Sep 20, 2018 09:29

Oh thank you so much :)

User avatar
Ident
CEGUI Team
Posts: 1998
Joined: Sat Oct 31, 2009 13:57
Location: Austria

Re: Need helping building cegui for Directx11

Postby Ident » Thu Sep 20, 2018 18:55

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.
CrazyEddie: "I don't like GUIs"

User avatar
Ident
CEGUI Team
Posts: 1998
Joined: Sat Oct 31, 2009 13:57
Location: Austria

Re: Need helping building cegui for Directx11

Postby Ident » Thu Sep 20, 2018 19:13

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.
CrazyEddie: "I don't like GUIs"


Return to “Help”

Who is online

Users browsing this forum: No registered users and 6 guests