While compiling mk2

For help with anything that CEGUI doesn't offer straight out-of-the-box, e.g.:
- Implementation of new features, such as new Core classes, widgets, WindowRenderers, etc. ...
- Modification of any existing features for specific purposes
- Integration of CEGUI in new engines or frameworks and writing of new plugins (Renderer, Parser, ...) or modules

Moderators: CEGUI MVP, CEGUI Team

User avatar
Shift
Just popping in
Just popping in
Posts: 8
Joined: Wed Jan 12, 2005 12:06

While compiling mk2

Postby Shift » Fri Jul 09, 2004 02:52

If I am not mistaken, Ogremain_d.dll would be the debug binary and Ogremain.dll would be the release one. Asuming this, if you are compiling in debug, you might want to make sure that the Ogremain_d.dll exists in your output directory. Compiling ogremain in debug generates the dll with such a filename.

Hope this helps...

User avatar
CrazyEddie
CEGUI Project Lead
Posts: 6760
Joined: Wed Jan 12, 2005 12:06
Location: England
Contact:

While compiling mk2

Postby CrazyEddie » Fri Jul 09, 2004 08:42

The problems you had are mainly due to Ogre versioning issues. The line:

Code: Select all

d_texelOffset = Point((float)d_render_sys->getHorizontalTexelOffset(), (float)d_render_sys->getVerticalTexelOffset());

Uses methods that were added shortly after the 0.14 release of Ogre, though they have now been merged into the 0.14 source tree as well (not sure if the download packages have them though, you may have to get the 0.14 branch from the Ogre CVS repository). Without these calls rendering og GUI imagery will be incorrect using the D3D driver for Ogre.

The library issue is a similar story, though you have applied the appropriate fix already... Ogre has changed it's configuration recently to output the debug version with the _d appended, if you're using a version that does not do this, all you have to do is modify the project settings for the OgreGUIRenderer within CEGUI and change OgreMain_d.lib to OgreMain.lib.

HTH

CE.


Return to “Modifications / Integrations / Customisations”

Who is online

Users browsing this forum: No registered users and 7 guests