Hi all,
I'm trying to get CEGUI working with OGRE. I've been following this tutorial: http://www.ogre3d.org/wiki/index.php/Basic_Tutorial_6
At first I tried CEGUI 0.5 and OGRE 1.2.5 [Dagon], both downloaded SDKs from the website. The problem was I kept getting link errors! I had linked the two libraries correctly but for some reason it just couldn't find certain functions.
After a lot of messing around, I tried with CEGUI 0.4. I got farther this time. Now I can compile successfully, but when I try to run, it says that "Entry point not found" in certain DLLs.
Any suggestions on how to get CEGUI working? I don't have any odd setups (Using Visual Studio 8 [2005] in Windows XP) and I follow the instructions pretty well.
Need help with CEGUI + OGRE
Moderators: CEGUI MVP, CEGUI Team
First, the dagon-branch including 1.2.5 and the CEGUI 0.5.0 is not directly compatible, its quite easy to make them work together if you are able to compile your own sdk's. If not you need the Eihort branch of ogre which is compatible with 0.5.0.
The following is from Ogres wiki and it shows which lines need to be modified in which files:
Otherwise you must use the CEGUI 0.4.1 release if you want it to work out-of-the-box wise.
But I can only recommend that you go straight to 0.5.0 using either Eihort or modifying Dagon, as the 0.5.0 release has some api breaks, architecture changes and a lot of changes in layoutfiles.
Kind regards
Martin Bang Andesen
The following is from Ogres wiki and it shows which lines need to be modified in which files:
Code: Select all
OgreCEGUITexture.h, Line 109
virtual void loadFromMemory(const void* buffPtr, uint buffWidth, uint buffHeight, PixelFormat pixelFormat = CEGUI::Texture::PF_RGBA);
OgreCEGUITexture.cpp, Line 144
void OgreCEGUITexture::loadFromMemory(const void* buffPtr, uint buffWidth, uint buffHeight, PixelFormat pixelFormat)
OgreCEGUITexture.cpp, Line 167
d_ogre_texture = TextureManager::getSingleton().loadRawData(getUniqueName(), "General", odc, buffWidth, buffHeight, pixelFormat ==
CEGUI::Texture::PF_RGB ? PF_R8G8B8 : PF_A8R8G8B8, TEX_TYPE_2D, 0, 1.0f);
Otherwise you must use the CEGUI 0.4.1 release if you want it to work out-of-the-box wise.
But I can only recommend that you go straight to 0.5.0 using either Eihort or modifying Dagon, as the 0.5.0 release has some api breaks, architecture changes and a lot of changes in layoutfiles.
Kind regards
Martin Bang Andesen
Thanks for the replies everyone!
So I think I'm going to give CEGUI 0.4 a swing for now (and do a giant Eihort + CEGUI 0.5 upgrade in the future when everything's stable and happy)
Currently, I get this error when I try to run my application:
Any suggestions on how to fix?
Thanks again!
So I think I'm going to give CEGUI 0.4 a swing for now (and do a giant Eihort + CEGUI 0.5 upgrade in the future when everything's stable and happy)
Currently, I get this error when I try to run my application:
Code: Select all
The procedure entry point ?getSceneManager@Root@Ogre@@QAEPAVSceneManager@2@W4SceneType@2@@Z could not be located in the dynamic link library OgreMain_d.dll
Any suggestions on how to fix?
Thanks again!
Who is online
Users browsing this forum: No registered users and 10 guests