cannot allocate object of bstracttype MyGUI::OgreRendeManger

yaxinhoo

25-08-2010 05:16:37

i build the mygui engine for iphone ,
fist use cmake to create xcodeproj, then i change the base sdk , and remove -msse option, it all successs .

but when i build in my project , i got the folowing error's , why , any hints to help me ?


Category: Error: '*' has not been declared

/Volumes/MACWORK2/IGame/my-gui/trunk/MyGUIEngine/include/MyGUI_IRenderTarget.h:43:0 'size_t' has not been declared

/Volumes/MACWORK2/IGame/my-gui/trunk/MyGUIEngine/include/MyGUI_IRenderTarget.h:43:0 'size_t' has not been declared


Category: Error: Other

/Volumes/MACWORK2/IGame/my-gui/trunk/Platforms/Ogre/OgrePlatform/include/MyGUI_OgrePlatform.h:31:0 Cannot allocate an object of abstract type 'MyGUI::OgreRenderManager'

/Volumes/MACWORK2/IGame/my-gui/trunk/Common/BaseLayout/BaseLayout.h:65:0 No matching function for call to 'wraps::RenderBoxScene::RenderBoxScene(MyGUI::Widget*&)'

/Volumes/MACWORK2/IGame/my-gui/trunk/Common/BaseLayout/BaseLayout.h:66:0 No matching function for call to 'std::vector<wraps::BaseLayout*, std::allocator<wraps::BaseLayout*> >::push_back(wraps::RenderBoxScene*&)'

/Volumes/MACWORK2/IGame/my-gui/trunk/Platforms/Ogre/OgrePlatform/include/MyGUI_OgrePlatform.h:31:0 Cannot allocate an object of abstract type 'MyGUI::OgreRenderManager'

/Volumes/MACWORK2/IGame/my-gui/trunk/Common/BaseLayout/BaseLayout.h:65:0 No matching function for call to 'wraps::RenderBoxScene::RenderBoxScene(MyGUI::Widget*&)'

/Volumes/MACWORK2/IGame/my-gui/trunk/Common/BaseLayout/BaseLayout.h:66:0 No matching function for call to 'std::vector<wraps::BaseLayout*, std::allocator<wraps::BaseLayout*> >::push_back(wraps::RenderBoxScene*&)'

my.name

25-08-2010 10:04:49

add to MyGUI_Types.h

typedef unsigned int size_t;