DirectX11 With CEGUI Runtime Error

Anything and everything that's related to OGRE or the wider graphics field that doesn't fit into the other forums.
Post Reply
CodexHound216
Gnoblar
Posts: 15
Joined: Tue Oct 24, 2017 5:19 pm
x 2

DirectX11 With CEGUI Runtime Error

Post by CodexHound216 »

So I finally got the DirectX11Renderer to Compile and compiled CEGUI for Ogre. I had to fix some errors in the code because some of the directX code was apparently flagging for 11.1 (If Phone, I am not compiling for a phone :)). Anyways hard-coded it for DirectX11.0 and got Ogre to compile.

Then compiled CEGUI for my ogre compilation. Now I am getting this on runtime:

21:18:40: RenderingAPIException: Cannot reflect D3D11 high-level shader __cegui_internal_vs__ in D3D11HLSLProgram::compileMicrocode at E:\Codex\User\Documents\ogreRepo\RenderSystems\Direct3D11\src\OgreD3D11HLSLProgram.cpp (line 578)
21:18:40: High-level program '__cegui_internal_vs__' is not supported: Cannot reflect D3D11 high-level shader __cegui_internal_vs__
21:18:40: RenderingAPIException: Cannot reflect D3D11 high-level shader __cegui_internal_ps__ in D3D11HLSLProgram::compileMicrocode at E:\Codex\User\Documents\ogreRepo\RenderSystems\Direct3D11\src\OgreD3D11HLSLProgram.cpp (line 578)
21:18:40: High-level program '__cegui_internal_ps__' is not supported: Cannot reflect D3D11 high-level shader __cegui_internal_ps__
21:18:40: *** Initializing OIS ***
21:18:40: InvalidParametersException: Named constants have not been initialised, perhaps a compile error. in GpuProgramParameters::_findNamedConstantDefinition at E:\Codex\User\Documents\ogreRepo\OgreMain\src\OgreGpuProgramParams.cpp (line 2194)

Any thoughts? Running with DirectX, GL, or GLPlus works.

Source: Ogre Default Branch Revision: 11708 Changeset: 20fba6b1f2a413d2db2a0500cb547ca7ce6f324
Build Environment: Windows 10 64-Bit
Post Reply