Crazy Eddie's GUI - Version 0.6.0 Released!

Announce new projects or updates of Irrlicht Engine related tools, games, and applications.
Also check the Wiki
lymantok
Posts: 67
Joined: Mon Dec 31, 2007 6:13 am

CEGUI 0.6.2 and Irrlicht 1.5 does not work - how to fix?

Post by lymantok »

It looks like the precompiled SDK was built for Irrlicht 1.4. I recompiled CEGUI 0.6.2 from source and pointed it to use Irrlicht 1.5. I copied the updated CEGUI *.dll's to my project directory. The results below are the compiler warnings for CEGUI 0.6.2 for the Irrlicht renderer.

The following call works:

m_pCEGUIRenderer = new CEGUI::IrrlichtRenderer( m_pIrrDevice, false );

The following failure occurs on the next statement:

new CEGUI::System( m_pCEGUIRenderer ); //pCEGUIRenderer is not NULL

The debugger shows:

First-chance exception at 0x7c812a5b in fitg.exe: Microsoft C++ exception: CEGUI::GenericException at memory location 0x0012e0b0..
Unhandled exception at 0x7c812a5b in fitg.exe: Microsoft C++ exception: CEGUI::GenericException at memory location 0x0012e0b0..

The debugger opens in _wctype.c:

*Purpose:
* This file provides function versions of the wide character
* classification and conversion macros in ctype.h.

...and points to this line:

return (_loc_update.GetLocaleT()->locinfo->pctype[(unsigned char)(c)] & _LEADBYTE);

Any ideas on the problem and how to correct?

Is CEGUI 0.6.2 supposed to work with Irrlicht 1.5?

Does anyone have CEGUI 0.6.2 working with Irrlicht 1.5?

Thx!

----------

14>..\..\..\..\RendererModules\IrrlichtRenderer\irrlichttexture.cpp(56) : warning C4244: 'argument' : conversion from 'float' to 'const irr::s32', possible loss of data
14>..\..\..\..\RendererModules\IrrlichtRenderer\irrlichttexture.cpp(56) : warning C4244: 'argument' : conversion from 'float' to 'const irr::s32', possible loss of data
14>..\..\..\..\RendererModules\IrrlichtRenderer\irrlichttexture.cpp(126) : warning C4267: 'argument' : conversion from 'size_t' to 'CEGUI::uint32', possible loss of data
14>IrrlichtResourceProvider.cpp
14>irrlichtrenderer.cpp
14>d:\personal\cegui\cegui-0.6.2\renderermodules\irrlichtrenderer\IrrlichtEventPusher.h(130) : warning C4244: 'argument' : conversion from 'irr::s32' to 'float', possible loss of data
14>d:\personal\cegui\cegui-0.6.2\renderermodules\irrlichtrenderer\IrrlichtEventPusher.h(130) : warning C4244: 'argument' : conversion from 'irr::s32' to 'float', possible loss of data
14>..\..\..\..\RendererModules\IrrlichtRenderer\irrlichtrenderer.cpp(68) : warning C4244: '=' : conversion from 'const float' to 'irr::s32', possible loss of data
14>..\..\..\..\RendererModules\IrrlichtRenderer\irrlichtrenderer.cpp(69) : warning C4244: '=' : conversion from 'const float' to 'irr::s32', possible loss of data
14>..\..\..\..\RendererModules\IrrlichtRenderer\irrlichtrenderer.cpp(70) : warning C4244: '=' : conversion from 'const float' to 'irr::s32', possible loss of data
14>..\..\..\..\RendererModules\IrrlichtRenderer\irrlichtrenderer.cpp(71) : warning C4244: '=' : conversion from 'const float' to 'irr::s32', possible loss of data
14>..\..\..\..\RendererModules\IrrlichtRenderer\irrlichtrenderer.cpp(73) : warning C4244: '=' : conversion from 'const float' to 'irr::s32', possible loss of data
14>..\..\..\..\RendererModules\IrrlichtRenderer\irrlichtrenderer.cpp(74) : warning C4244: '=' : conversion from 'const float' to 'irr::s32', possible loss of data
14>..\..\..\..\RendererModules\IrrlichtRenderer\irrlichtrenderer.cpp(75) : warning C4244: '=' : conversion from 'const float' to 'irr::s32', possible loss of data
14>..\..\..\..\RendererModules\IrrlichtRenderer\irrlichtrenderer.cpp(76) : warning C4244: '=' : conversion from 'const float' to 'irr::s32', possible loss of data
14>..\..\..\..\RendererModules\IrrlichtRenderer\irrlichtrenderer.cpp(215) : warning C4244: 'return' : conversion from 'const irr::s32' to 'float', possible loss of data
14>..\..\..\..\RendererModules\IrrlichtRenderer\irrlichtrenderer.cpp(220) : warning C4244: 'return' : conversion from 'const irr::s32' to 'float', possible loss of data
14>..\..\..\..\RendererModules\IrrlichtRenderer\irrlichtrenderer.cpp(225) : warning C4244: 'argument' : conversion from 'const irr::s32' to 'float', possible loss of data
14>..\..\..\..\RendererModules\IrrlichtRenderer\irrlichtrenderer.cpp(225) : warning C4244: 'argument' : conversion from 'const irr::s32' to 'float', possible loss of data
14>..\..\..\..\RendererModules\IrrlichtRenderer\irrlichtrenderer.cpp(230) : warning C4244: 'argument' : conversion from 'const irr::s32' to 'float', possible loss of data
14>..\..\..\..\RendererModules\IrrlichtRenderer\irrlichtrenderer.cpp(230) : warning C4244: 'argument' : conversion from 'const irr::s32' to 'float', possible loss of data
14>..\..\..\..\RendererModules\IrrlichtRenderer\irrlichtrenderer.cpp(278) : warning C4244: '=' : conversion from 'const float' to 'irr::s32', possible loss of data
14>..\..\..\..\RendererModules\IrrlichtRenderer\irrlichtrenderer.cpp(279) : warning C4244: '=' : conversion from 'const float' to 'irr::s32', possible loss of data
14>IrrlichtMemoryFile.cpp
14>Generating Code...
14>Linking...
14> Creating library ../../../../lib/IrrlichtRenderer.lib and object ../../../../lib/IrrlichtRenderer.exp
14>Embedding manifest...
14>Build log was saved at "file://d:\Personal\CEGUI\CEGUI-0.6.2\makefiles\premake\RendererModules\IrrlichtRenderer\obj\Release\BuildLog.htm"
14>IrrlichtRenderer - 0 error(s), 21 warning(s)
Post Reply