Cegui for OgreIPhone Target’s error
Posted: Sun Jun 27, 2010 07:02
I want to use cegui for ogre IPhone, I got the cegui source and build it in the mac 。then i setup three iphone static lib target in the project,it is CEGUIbase_I,CEGUIOgreRenderer_I,CEGUITinyXMLParser_I ,replace the dependence pcre and freetype2 with iphone dependencies. it work, i build and got the static lib for iphone.
but when i use it in i phone project ,the project can't bootstartupsystem
it is error in runtime when cegui load the tinyXmlparser, the exception code process createBundle in the function of mac_loadexebundle(const char*name)
it log a message "Couldn't get bundle from main app bundle reference; trying CEGUIbase instead"
i want to know the diffrence of macexebundle and iphonebundle to let the cegui work for iphone .
anyone can tell me ,or tell me the way to let cegui work for iphone .
but when i use it in i phone project ,the project can't bootstartupsystem
Code: Select all
mOgreRenderer = &CEGUI::OgreRenderer::bootstrapSystem(*m_pRenderWnd);
it is error in runtime when cegui load the tinyXmlparser, the exception code process createBundle in the function of mac_loadexebundle(const char*name)
it log a message "Couldn't get bundle from main app bundle reference; trying CEGUIbase instead"
Code: Select all
if (pluginName)
{
bundle = createBundle(CFBundleGetMainBundle(), pluginName);
if (!bundle)
{
if(logger)
logger->logEvent(
"-- Couldn't get bundle from main app bundle reference; "
"trying CEGUIbase instead.");
bundle =
createBundle(CFBundleGetBundleWithIdentifier(
CFSTR("net.sourceforge.crayzedsgui.CEGUIBase")),
pluginName);
}
i want to know the diffrence of macexebundle and iphonebundle to let the cegui work for iphone .
anyone can tell me ,or tell me the way to let cegui work for iphone .