libMyGUI.OgrePlatform.a with QT4.6?

emugod

20-04-2010 08:26:39

Hi ,
i compiled MyGUI 3.0.1 with Ogre 1.7 and ran demos well.
but when i added libMyGUI.OgrePlatform.a and libMyGUIEngine.dll.a into my qt .pro files like following code

LIBS+=-lOgreMain.dll\
-lOIS_d\
-lMyGUI.OgrePlatform\
-lMyGUIEngine.dll

and add sample codes in .cpp just like "http://www.ogre3d.org/wiki/index.php/MyGUI_quickstart";

MyGUI::OgrePlatform* mPlatform = new MyGUI::OgrePlatform().......

some errors ocuured

e:\Qt\2009.05\qt\lib/libMyGUI.OgrePlatform.a(MyGUI_OgreRenderManager.cpp.obj):d:/Software/ogre/MyGUI_3.0.1_source/MyGUI3.0/Platforms/Ogre/OgrePlatform/src/MyGUI_OgreRenderManager.cpp:261: undefined reference to `Ogre::Matrix4::IDENTITY'
e:\Qt\2009.05\qt\lib/libMyGUI.OgrePlatform.a(MyGUI_OgreRenderManager.cpp.obj):d:/Software/ogre/MyGUI_3.0.1_source/MyGUI3.0/Platforms/Ogre/OgrePlatform/src/MyGUI_OgreRenderManager.cpp:262: undefined reference to `Ogre::Matrix4::IDENTITY'
e:\Qt\2009.05\qt\lib/libMyGUI.OgrePlatform.a(MyGUI_OgreRenderManager.cpp.obj):d:/Software/ogre/MyGUI_3.0.1_source/MyGUI3.0/Platforms/Ogre/OgrePlatform/src/MyGUI_OgreRenderManager.cpp:263: undefined reference to `Ogre::Matrix4::IDENTITY'
e:\Qt\2009.05\qt\lib/libMyGUI.OgrePlatform.a(MyGUI_OgreRenderManager.cpp.obj):d:/Software/ogre/MyGUI_3.0.1_source/MyGUI3.0/Platforms/Ogre/OgrePlatform/src/MyGUI_OgreRenderManager.cpp:270: undefined reference to `Ogre::ColourValue::White'
e:\Qt\2009.05\qt\lib/libMyGUI.OgrePlatform.a(MyGUI_OgreRenderManager.cpp.obj):d:/Software/ogre/MyGUI_3.0.1_source/MyGUI3.0/Platforms/Ogre/OgrePlatform/src/MyGUI_OgreRenderManager.cpp:281: undefined reference to `Ogre::Matrix4::IDENTITY'
e:\Qt\2009.05\qt\lib/libMyGUI.OgrePlatform.a(MyGUI_OgreRenderManager.cpp.obj): In function `GLOBAL__I__ZN5MyGUI17OgreRenderManager10msInstanceE':
d:/Software/ogre/MyGUI_3.0.1_source/MyGUI3.0/Platforms/Ogre/OgrePlatform/src/MyGUI_OgreRenderManager.cpp:366: undefined reference to `__gxx_personality_sj0'
d:/Software/ogre/MyGUI_3.0.1_source/MyGUI3.0/Platforms/Ogre/OgrePlatform/src/MyGUI_OgreRenderManager.cpp:366: undefined reference to `_Unwind_SjLj_Register'
e:\Qt\2009.05\qt\lib/libMyGUI.OgrePlatform.a(MyGUI_OgreRenderManager.cpp.obj): In function `_static_initialization_and_destruction_0':
d:/Software/ogre/MyGUI_3.0.1_source/MyGUI3.0/Platforms/Ogre/OgrePlatform/src/MyGUI_OgreRenderManager.cpp:21: undefined reference to `_Unwind_SjLj_Unregister'
d:/Software/ogre/MyGUI_3.0.1_source/MyGUI3.0/Platforms/Ogre/OgrePlatform/src/MyGUI_OgreRenderManager.cpp:21: undefined reference to `_Unwind_SjLj_Resume'
e:\Qt\2009.05\qt\lib/libMyGUI.OgrePlatform.a(MyGUI_OgreRenderManager.cpp.obj):d:/Software/ogre/MyGUI_3.0.1_source/MyGUI3.0/Platforms/Ogre/OgrePlatform/src/MyGUI_OgreRenderManager.cpp:342: undefined reference to `Ogre::TextureManager::getSingleton()'
e:\Qt\2009.05\qt\lib/libMyGUI.OgrePlatform.a(MyGUI_OgreRenderManager.cpp.obj):d:/Software/ogre/MyGUI_3.0.1_source/MyGUI3.0/Platforms/Ogre/OgrePlatform/src/MyGUI_OgreRenderManager.cpp:210: undefined reference to `Ogre::Viewport::getActualHeight() const'
e:\Qt\2009.05\qt\lib/libMyGUI.OgrePlatform.a(MyGUI_OgreRenderManager.cpp.obj):d:/Software/ogre/MyGUI_3.0.1_source/MyGUI3.0/Platforms/Ogre/OgrePlatform/src/MyGUI_OgreRenderManager.cpp:210: undefined reference to `Ogre::Viewport::getActualWidth() const'
e:\Qt\2009.05\qt\lib/libMyGUI.OgrePlatform.a(MyGUI_OgreRenderManager.cpp.obj):d:/Software/ogre/MyGUI_3.0.1_source/MyGUI3.0/Platforms/Ogre/OgrePlatform/src/MyGUI_OgreRenderManager.cpp:217: undefined reference to `MyGUI::Gui::getInstancePtr()'
e:\Qt\2009.05\qt\lib/libMyGUI.OgrePlatform.a(MyGUI_OgreRenderManager.cpp.obj):d:/Software/ogre/MyGUI_3.0.1_source/MyGUI3.0/Platforms/Ogre/OgrePlatform/src/MyGUI_OgreRenderManager.cpp:195: undefined reference to `__gxx_personality_sj0'
e:\Qt\2009.05\qt\lib/libMyGUI.OgrePlatform.a(MyGUI_OgreRenderManager.cpp.obj):d:/Software/ogre/MyGUI_3.0.1_source/MyGUI3.0/Platforms/Ogre/OgrePlatform/src/MyGUI_OgreRenderManager.cpp:195: undefined reference to `_Unwind_SjLj_Register'
e:\Qt\2009.05\qt\lib/libMyGUI.OgrePlatform.a(MyGUI_OgreRenderManager.cpp.obj):d:/Software/ogre/MyGUI_3.0.1_source/MyGUI3.0/Platforms/Ogre/OgrePlatform/src/MyGUI_OgreRenderManager.cpp:196: undefined reference to `_Unwind_SjLj_Unregister'
e:\Qt\2009.05\qt\lib/libMyGUI.OgrePlatform.a(MyGUI_OgreRenderManager.cpp.obj):d:/Software/ogre/MyGUI_3.0.1_source/MyGUI3.0/Platforms/Ogre/OgrePlatform/src/MyGUI_OgreRenderManager.cpp:196: undefined reference to `_Unwind_SjLj_Resume'
e:\Qt\2009.05\qt\lib/libMyGUI.OgrePlatform.a(MyGUI_OgreRenderManager.cpp.obj):d:/Software/ogre/MyGUI_3.0.1_source/MyGUI3.0/Platforms/Ogre/OgrePlatform/src/MyGUI_OgreRenderManager.cpp:147: undefined reference to `__gxx_personality_sj0'
e:\Qt\2009.05\qt\lib/libMyGUI.OgrePlatform.a(MyGUI_OgreRenderManager.cpp.obj):d:/Software/ogre/MyGUI_3.0.1_source/MyGUI3.0/Platforms/Ogre/OgrePlatform/src/MyGUI_OgreRenderManager.cpp:147: undefined reference to `_Unwind_SjLj_Register'
e:\Qt\2009.05\qt\lib/libMyGUI.OgrePlatform.a(MyGUI_OgreRenderManager.cpp.obj):d:/Software/ogre/MyGUI_3.0.1_source/MyGUI3.0/Platforms/Ogre/OgrePlatform/src/MyGUI_OgreRenderManager.cpp:148: undefined reference to `_Unwind_SjLj_Unregister'
e:\Qt\2009.05\qt\lib/libMyGUI.OgrePlatform.a(MyGUI_OgreRenderManager.cpp.obj):d:/Software/ogre/MyGUI_3.0.1_source/MyGUI3.0/Platforms/Ogre/OgrePlatform/src/MyGUI_OgreRenderManager.cpp:151: undefined reference to `Ogre::Viewport::getOverlaysEnabled() const'
e:\Qt\2009.05\qt\lib/libMyGUI.OgrePlatform.a(MyGUI_OgreRenderManager.cpp.obj):d:/Software/ogre/MyGUI_3.0.1_source/MyGUI3.0/Platforms/Ogre/OgrePlatform/src/MyGUI_OgreRenderManager.cpp:161: undefined reference to `MyGUI::Timer::getMilliseconds()'
e:\Qt\2009.05\qt\lib/libMyGUI.OgrePlatform.a(MyGUI_OgreRenderManager.cpp.obj):d:/Software/ogre/MyGUI_3.0.1_source/MyGUI3.0/Platforms/Ogre/OgrePlatform/src/MyGUI_OgreRenderManager.cpp:164: undefined reference to `MyGUI::Gui::getInstancePtr()'
e:\Qt\2009.05\qt\lib/libMyGUI.OgrePlatform.a(MyGUI_OgreRenderManager.cpp.obj):d:/Software/ogre/MyGUI_3.0.1_source/MyGUI3.0/Platforms/Ogre/OgrePlatform/src/MyGUI_OgreRenderManager.cpp:166: undefined reference to `MyGUI::Gui::_injectFrameEntered(float)'
e:\Qt\2009.05\qt\lib/libMyGUI.OgrePlatform.a(MyGUI_OgreRenderManager.cpp.obj):d:/Software/ogre/MyGUI_3.0.1_source/MyGUI3.0/Platforms/Ogre/OgrePlatform/src/MyGUI_OgreRenderManager.cpp:171: undefined reference to `MyGUI::LayerManager::getInstance()'
e:\Qt\2009.05\qt\lib/libMyGUI.OgrePlatform.a(MyGUI_OgreRenderManager.cpp.obj):d:/Software/ogre/MyGUI_3.0.1_source/MyGUI3.0/Platforms/Ogre/OgrePlatform/src/MyGUI_OgreRenderManager.cpp:171: undefined reference to `MyGUI::LayerManager::renderToTarget(MyGUI::IRenderTarget*, bool)'
e:\Qt\2009.05\qt\lib/libMyGUI.OgrePlatform.a(MyGUI_OgreRenderManager.cpp.obj):d:/Software/ogre/MyGUI_3.0.1_source/MyGUI3.0/Platforms/Ogre/OgrePlatform/src/MyGUI_OgreRenderManager.cpp:159: undefined reference to `MyGUI::Timer::Timer()'
e:\Qt\2009.05\qt\lib/libMyGUI.OgrePlatform.a(MyGUI_OgreRenderManager.cpp.obj):d:/Software/ogre/MyGUI_3.0.1_source/MyGUI3.0/Platforms/Ogre/OgrePlatform/src/MyGUI_OgreRenderManager.cpp:160: undefined reference to `MyGUI::Timer::getMilliseconds()'
e:\Qt\2009.05\qt\lib/libMyGUI.OgrePlatform.a(MyGUI_OgreRenderManager.cpp.obj):d:/Software/ogre/MyGUI_3.0.1_source/MyGUI3.0/Platforms/Ogre/OgrePlatform/src/MyGUI_OgreRenderManager.cpp:160: undefined reference to `_Unwind_SjLj_Resume'
e:\Qt\2009.05\qt\lib/libMyGUI.OgrePlatform.a(MyGUI_OgreRenderManager.cpp.obj):d:/Software/ogre/MyGUI_3.0.1_source/MyGUI3.0/Platforms/Ogre/OgrePlatform/src/MyGUI_OgreRenderManager.cpp:159: undefined reference to `_Unwind_SjLj_Resume'
e:\Qt\2009.05\qt\lib/libMyGUI.OgrePlatform.a(MyGUI_OgreRenderManager.cpp.obj):d:/Software/ogre/MyGUI_3.0.1_source/MyGUI3.0/Platforms/Ogre/OgrePlatform/src/MyGUI_OgreRenderManager.cpp:138: undefined reference to `Ogre::WindowEventUtilities::removeWindowEventListener(Ogre::RenderWindow*, Ogre::WindowEventListener*)'
e:\Qt\2009.05\qt\lib/libMyGUI.OgrePlatform.a(MyGUI_OgreRenderManager.cpp.obj):d:/Software/ogre/MyGUI_3.0.1_source/MyGUI3.0/Platforms/Ogre/OgrePlatform/src/MyGUI_OgreRenderManager.cpp:139: undefined reference to `Ogre::WindowEventUtilities::addWindowEventListener(Ogre::RenderWindow*, Ogre::WindowEventListener*)'
e:\Qt\2009.05\qt\lib/libMyGUI.OgrePlatform.a(MyGUI_OgreRenderManager.cpp.obj):d:/Software/ogre/MyGUI_3.0.1_source/MyGUI3.0/Platforms/Ogre/OgrePlatform/src/MyGUI_OgreRenderManager.cpp:103: undefined reference to `Ogre::WindowEventUtilities::removeWindowEventListener(Ogre::RenderWindow*, Ogre::WindowEventListener*)'
e:\Qt\2009.05\qt\lib/libMyGUI.OgrePlatform.a(MyGUI_OgreRenderManager.cpp.obj):d:/Software/ogre/MyGUI_3.0.1_source/MyGUI3.0/Platforms/Ogre/OgrePlatform/src/MyGUI_OgreRenderManager.cpp:111: undefined reference to `Ogre::WindowEventUtilities::addWindowEventListener(Ogre::RenderWindow*, Ogre::WindowEventListener*)'
e:\Qt\2009.05\qt\lib/libMyGUI.OgrePlatform.a(MyGUI_OgreRenderManager.cpp.obj):d:/Software/ogre/MyGUI_3.0.1_source/MyGUI3.0/Platforms/Ogre/OgrePlatform/src/MyGUI_OgreRenderManager.cpp:237: undefined reference to `__gxx_personality_sj0'
e:\Qt\2009.05\qt\lib/libMyGUI.OgrePlatform.a(MyGUI_OgreRenderManager.cpp.obj):d:/Software/ogre/MyGUI_3.0.1_source/MyGUI3.0/Platforms/Ogre/OgrePlatform/src/MyGUI_OgreRenderManager.cpp:237: undefined reference to `_Unwind_SjLj_Register'
e:\Qt\2009.05\qt\lib/libMyGUI.OgrePlatform.a(MyGUI_OgreRenderManager.cpp.obj):d:/Software/ogre/MyGUI_3.0.1_source/MyGUI3.0/Platforms/Ogre/OgrePlatform/src/MyGUI_OgreRenderManager.cpp:255: undefined reference to `_Unwind_SjLj_Unregister'
e:\Qt\2009.05\qt\lib/libMyGUI.OgrePlatform.a(MyGUI_OgreRenderManager.cpp.obj):d:/Software/ogre/MyGUI_3.0.1_source/MyGUI3.0/Platforms/Ogre/OgrePlatform/src/MyGUI_OgreRenderManager.cpp:248: undefined reference to `_Unwind_SjLj_Resume'
e:\Qt\2009.05\qt\lib/libMyGUI.OgrePlatform.a(MyGUI_OgreRenderManager.cpp.obj):d:/Software/ogre/MyGUI_3.0.1_source/MyGUI3.0/Platforms/Ogre/OgrePlatform/src/MyGUI_OgreRenderManager.cpp:321: undefined reference to `__gxx_personality_sj0'
e:\Qt\2009.05\qt\lib/libMyGUI.OgrePlatform.a(MyGUI_OgreRenderManager.cpp.obj):d:/Software/ogre/MyGUI_3.0.1_source/MyGUI3.0/Platforms/Ogre/OgrePlatform/src/MyGUI_OgreRenderManager.cpp:321: undefined reference to `_Unwind_SjLj_Register'
e:\Qt\2009.05\qt\lib/libMyGUI.OgrePlatform.a(MyGUI_OgreRenderManager.cpp.obj):d:/Software/ogre/MyGUI_3.0.1_source/MyGUI3.0/Platforms/Ogre/OgrePlatform/src/MyGUI_OgreRenderManager.cpp:334: undefined reference to `_Unwind_SjLj_Unregister'
e:\Qt\2009.05\qt\lib/libMyGUI.OgrePlatform.a(MyGUI_OgreRenderManager.cpp.obj):d:/Software/ogre/MyGUI_3.0.1_source/MyGUI3.0/Platforms/Ogre/OgrePlatform/src/MyGUI_OgreRenderManager.cpp:325: undefined reference to `Ogre::TextureManager::getSingleton()'
e:\Qt\2009.05\qt\lib/libMyGUI.OgrePlatform.a(MyGUI_OgreRenderManager.cpp.obj):d:/Software/ogre/MyGUI_3.0.1_source/MyGUI3.0/Platforms/Ogre/OgrePlatform/src/MyGUI_OgreRenderManager.cpp:332: undefined reference to `_Unwind_SjLj_Resume'
e:\Qt\2009.05\qt\lib/libMyGUI.OgrePlatform.a(MyGUI_OgreRenderManager.cpp.obj): In function `~OgreRenderManager':
d:/Software/ogre/MyGUI_3.0.1_source/MyGUI3.0/Platforms/Ogre/OgrePlatform/src/MyGUI_OgreRenderManager.cpp:21: undefined reference to `__gxx_personality_sj0'
d:/Software/ogre/MyGUI_3.0.1_source/MyGUI3.0/Platforms/Ogre/OgrePlatform/src/MyGUI_OgreRenderManager.cpp:21: undefined reference to `_Unwind_SjLj_Register'
d:/Software/ogre/MyGUI_3.0.1_source/MyGUI3.0/Platforms/Ogre/OgrePlatform/src/MyGUI_OgreRenderManager.cpp:21: undefined reference to `MyGUI::RenderManager::~RenderManager()'
d:/Software/ogre/MyGUI_3.0.1_source/MyGUI3.0/Platforms/Ogre/OgrePlatform/src/MyGUI_OgreRenderManager.cpp:21: undefined reference to `_Unwind_SjLj_Unregister'
d:/Software/ogre/MyGUI_3.0.1_source/MyGUI3.0/Platforms/Ogre/OgrePlatform/src/MyGUI_OgreRenderManager.cpp:21: undefined reference to `MyGUI::RenderManager::~RenderManager()'
d:/Software/ogre/MyGUI_3.0.1_source/MyGUI3.0/Platforms/Ogre/OgrePlatform/src/MyGUI_OgreRenderManager.cpp:21: undefined reference to `_Unwind_SjLj_Resume'
d:/Software/ogre/MyGUI_3.0.1_source/MyGUI3.0/Platforms/Ogre/OgrePlatform/src/MyGUI_OgreRenderManager.cpp:21: undefined reference to `__gxx_personality_sj0'
d:/Software/ogre/MyGUI_3.0.1_source/MyGUI3.0/Platforms/Ogre/OgrePlatform/src/MyGUI_OgreRenderManager.cpp:21: undefined reference to `_Unwind_SjLj_Register'
d:/Software/ogre/MyGUI_3.0.1_source/MyGUI3.0/Platforms/Ogre/OgrePlatform/src/MyGUI_OgreRenderManager.cpp:21: undefined reference to `MyGUI::RenderManager::~RenderManager()'
d:/Software/ogre/MyGUI_3.0.1_source/MyGUI3.0/Platforms/Ogre/OgrePlatform/src/MyGUI_OgreRenderManager.cpp:21: undefined reference to `_Unwind_SjLj_Unregister'
d:/Software/ogre/MyGUI_3.0.1_source/MyGUI3.0/Platforms/Ogre/OgrePlatform/src/MyGUI_OgreRenderManager.cpp:21: undefined reference to `MyGUI::RenderManager::~RenderManager()'
d:/Software/ogre/MyGUI_3.0.1_source/MyGUI3.0/Platforms/Ogre/OgrePlatform/src/MyGUI_OgreRenderManager.cpp:21: undefined reference to `_Unwind_SjLj_Resume'
d:/Software/ogre/MyGUI_3.0.1_source/MyGUI3.0/Platforms/Ogre/OgrePlatform/src/MyGUI_OgreRenderManager.cpp:21: undefined reference to `__gxx_personality_sj0'
d:/Software/ogre/MyGUI_3.0.1_source/MyGUI3.0/Platforms/Ogre/OgrePlatform/src/MyGUI_OgreRenderManager.cpp:21: undefined reference to `_Unwind_SjLj_Register'
d:/Software/ogre/MyGUI_3.0.1_source/MyGUI3.0/Platforms/Ogre/OgrePlatform/src/MyGUI_OgreRenderManager.cpp:21: undefined reference to `MyGUI::RenderManager::~RenderManager()'
d:/Software/ogre/MyGUI_3.0.1_source/MyGUI3.0/Platforms/Ogre/OgrePlatform/src/MyGUI_OgreRenderManager.cpp:21: undefined reference to `_Unwind_SjLj_Unregister'
d:/Software/ogre/MyGUI_3.0.1_source/MyGUI3.0/Platforms/Ogre/OgrePlatform/src/MyGUI_OgreRenderManager.cpp:21: undefined reference to `MyGUI::RenderManager::~RenderManager()'
d:/Software/ogre/MyGUI_3.0.1_source/MyGUI3.0/Platforms/Ogre/OgrePlatform/src/MyGUI_OgreRenderManager.cpp:21: undefined reference to `_Unwind_SjLj_Resume'
e:\Qt\2009.05\qt\lib/libMyGUI.OgrePlatform.a(MyGUI_OgreRenderManager.cpp.obj): In function `_tcf_17':
d:/Software/ogre/MyGUI_3.0.1_source/MyGUI3.0/Platforms/Ogre/OgrePlatform/src/MyGUI_OgreRenderManager.cpp:21: undefined reference to `__gxx_personality_sj0'
d:/Software/ogre/MyGUI_3.0.1_source/MyGUI3.0/Platforms/Ogre/OgrePlatform/src/MyGUI_OgreRenderManager.cpp:21: undefined reference to `_Unwind_SjLj_Register'
e:\Qt\2009.05\qt\lib/libMyGUI.OgrePlatform.a(MyGUI_OgreRenderManager.cpp.obj): In function `ZNSs4_Rep10_M_disposeERKSaIcE':
d:/mingw/bin/../lib/gcc/mingw32/4.4.1/include/c++/bits/basic_string.h:229: undefined reference to `_Unwind_SjLj_Unregister'
d:/mingw/bin/../lib/gcc/mingw32/4.4.1/include/c++/bits/basic_string.h:231: undefined reference to `_Unwind_SjLj_Unregister'
e:\Qt\2009.05\qt\lib/libMyGUI.OgrePlatform.a(MyGUI_OgreRenderManager.cpp.obj): In function `~basic_string':
d:/mingw/bin/../lib/gcc/mingw32/4.4.1/include/c++/bits/basic_string.h:231: undefined reference to `_Unwind_SjLj_Resume'
e:\Qt\2009.05\qt\lib/libMyGUI.OgrePlatform.a(MyGUI_OgreRenderManager.cpp.obj): In function `basic_ostringstream':
d:/mingw/bin/../lib/gcc/mingw32/4.4.1/include/c++/sstream:402: undefined reference to `__gxx_personality_sj0'
d:/mingw/bin/../lib/gcc/mingw32/4.4.1/include/c++/sstream:402: undefined reference to `_Unwind_SjLj_Register'
d:/mingw/bin/../lib/gcc/mingw32/4.4.1/include/c++/sstream:404: undefined reference to `_Unwind_SjLj_Unregister'
d:/mingw/bin/../lib/gcc/mingw32/4.4.1/include/c++/sstream:404: undefined reference to `_Unwind_SjLj_Resume'
e:\Qt\2009.05\qt\lib/libMyGUI.OgrePlatform.a(MyGUI_OgreRenderManager.cpp.obj):d:/Software/ogre/MyGUI_3.0.1_source/MyGUI3.0/Platforms/Ogre/OgrePlatform/src/MyGUI_OgreRenderManager.cpp:21: undefined reference to `__gxx_personality_sj0'
e:\Qt\2009.05\qt\lib/libMyGUI.OgrePlatform.a(MyGUI_OgreRenderManager.cpp.obj):d:/Software/ogre/MyGUI_3.0.1_source/MyGUI3.0/Platforms/Ogre/OgrePlatform/src/MyGUI_OgreRenderManager.cpp:21: undefined reference to `_Unwind_SjLj_Register'
e:\Qt\2009.05\qt\lib/libMyGUI.OgrePlatform.a(MyGUI_OgreRenderManager.cpp.obj):d:/Software/ogre/MyGUI_3.0.1_source/MyGUI3.0/Platforms/Ogre/OgrePlatform/src/MyGUI_OgreRenderManager.cpp:21: undefined reference to `_Unwind_SjLj_Unregister'
e:\Qt\2009.05\qt\lib/libMyGUI.OgrePlatform.a(MyGUI_OgreRenderManager.cpp.obj):d:/Software/ogre/MyGUI_3.0.1_source/MyGUI3.0/Platforms/Ogre/OgrePlatform/src/MyGUI_OgreRenderManager.cpp:21: undefined reference to `MyGUI::LogManager::end()'
e:\Qt\2009.05\qt\lib/libMyGUI.OgrePlatform.a(MyGUI_OgreRenderManager.cpp.obj):d:/Software/ogre/MyGUI_3.0.1_source/MyGUI3.0/Platforms/Ogre/OgrePlatform/src/MyGUI_OgreRenderManager.cpp:21: undefined reference to `MyGUI::LogManager::info(char const*, int)'
e:\Qt\2009.05\qt\lib/libMyGUI.OgrePlatform.a(MyGUI_OgreRenderManager.cpp.obj):d:/Software/ogre/MyGUI_3.0.1_source/MyGUI3.0/Platforms/Ogre/OgrePlatform/src/MyGUI_OgreRenderManager.cpp:21: undefined reference to `MyGUI::LogManager::out(std::string const&, MyGUI::LogManager::LogLevel)'
e:\Qt\2009.05\qt\lib/libMyGUI.OgrePlatform.a(MyGUI_OgreRenderManager.cpp.obj):d:/Software/ogre/MyGUI_3.0.1_source/MyGUI3.0/Platforms/Ogre/OgrePlatform/src/MyGUI_OgreRenderManager.cpp:21: undefined reference to `MyGUI::LogStream::operator<<(MyGUI::LogStream::LogStreamEnd const&)'
e:\Qt\2009.05\qt\lib/libMyGUI.OgrePlatform.a(MyGUI_OgreRenderManager.cpp.obj):d:/Software/ogre/MyGUI_3.0.1_source/MyGUI3.0/Platforms/Ogre/OgrePlatform/src/MyGUI_OgreRenderManager.cpp:21: undefined reference to `MyGUI::Exception::Exception(std::string const&, std::string const&, char const*, long)'
e:\Qt\2009.05\qt\lib/libMyGUI.OgrePlatform.a(MyGUI_OgreRenderManager.cpp.obj):d:/Software/ogre/MyGUI_3.0.1_source/MyGUI3.0/Platforms/Ogre/OgrePlatform/src/MyGUI_OgreRenderManager.cpp:21: undefined reference to `_Unwind_SjLj_Resume'
e:\Qt\2009.05\qt\lib/libMyGUI.OgrePlatform.a(MyGUI_OgreRenderManager.cpp.obj):d:/Software/ogre/MyGUI_3.0.1_source/MyGUI3.0/Platforms/Ogre/OgrePlatform/src/MyGUI_OgreRenderManager.cpp:21: undefined reference to `_Unwind_SjLj_Resume'
e:\Qt\2009.05\qt\lib/libMyGUI.OgrePlatform.a(MyGUI_OgreRenderManager.cpp.obj):d:/Software/ogre/MyGUI_3.0.1_source/MyGUI3.0/Platforms/Ogre/OgrePlatform/src/MyGUI_OgreRenderManager.cpp:310: undefined reference to `__gxx_personality_sj0'
e:\Qt\2009.05\qt\lib/libMyGUI.OgrePlatform.a(MyGUI_OgreRenderManager.cpp.obj):d:/Software/ogre/MyGUI_3.0.1_source/MyGUI3.0/Platforms/Ogre/OgrePlatform/src/MyGUI_OgreRenderManager.cpp:310: undefined reference to `_Unwind_SjLj_Register'
e:\Qt\2009.05\qt\lib/libMyGUI.OgrePlatform.a(MyGUI_OgreRenderManager.cpp.obj):d:/Software/ogre/MyGUI_3.0.1_source/MyGUI3.0/Platforms/Ogre/OgrePlatform/src/MyGUI_OgreRenderManager.cpp:317: undefined reference to `_Unwind_SjLj_Unregister'
e:\Qt\2009.05\qt\lib/libMyGUI.OgrePlatform.a(MyGUI_OgreRenderManager.cpp.obj):d:/Software/ogre/MyGUI_3.0.1_source/MyGUI3.0/Platforms/Ogre/OgrePlatform/src/MyGUI_OgreRenderManager.cpp:314: undefined reference to `MyGUI::LogManager::end()'
e:\Qt\2009.05\qt\lib/libMyGUI.OgrePlatform.a(MyGUI_OgreRenderManager.cpp.obj):d:/Software/ogre/MyGUI_3.0.1_source/MyGUI3.0/Platforms/Ogre/OgrePlatform/src/MyGUI_OgreRenderManager.cpp:314: undefined reference to `MyGUI::LogManager::info(char const*, int)'
e:\Qt\2009.05\qt\lib/libMyGUI.OgrePlatform.a(MyGUI_OgreRenderManager.cpp.obj):d:/Software/ogre/MyGUI_3.0.1_source/MyGUI3.0/Platforms/Ogre/OgrePlatform/src/MyGUI_OgreRenderManager.cpp:314: undefined reference to `MyGUI::LogManager::out(std::string const&, MyGUI::LogManager::LogLevel)'
e:\Qt\2009.05\qt\lib/libMyGUI.OgrePlatform.a(MyGUI_OgreRenderManager.cpp.obj):d:/Software/ogre/MyGUI_3.0.1_source/MyGUI3.0/Platforms/Ogre/OgrePlatform/src/MyGUI_OgreRenderManager.cpp:314: undefined reference to `MyGUI::LogStream::operator<<(MyGUI::LogStream::LogStreamEnd const&)'
e:\Qt\2009.05\qt\lib/libMyGUI.OgrePlatform.a(MyGUI_OgreRenderManager.cpp.obj):d:/Software/ogre/MyGUI_3.0.1_source/MyGUI3.0/Platforms/Ogre/OgrePlatform/src/MyGUI_OgreRenderManager.cpp:314: undefined reference to `MyGUI::Exception::Exception(std::string const&, std::string const&, char const*, long)'
e:\Qt\2009.05\qt\lib/libMyGUI.OgrePlatform.a(MyGUI_OgreRenderManager.cpp.obj): In function `ZNSt3mapISsPN5MyGUI8ITextureESt4lessISsESaISt4pairIKSsS2_EEE5eraseESt17_Rb_tree_iteratorIS7_E':
d:/mingw/bin/../lib/gcc/mingw32/4.4.1/include/c++/bits/basic_string.h:231: undefined reference to `_Unwind_SjLj_Resume'
e:\Qt\2009.05\qt\lib/libMyGUI.OgrePlatform.a(MyGUI_OgreRenderManager.cpp.obj):d:/Software/ogre/MyGUI_3.0.1_source/MyGUI3.0/Platforms/Ogre/OgrePlatform/src/MyGUI_OgreRenderManager.cpp:314: undefined reference to `_Unwind_SjLj_Resume'
e:\Qt\2009.05\qt\lib/libMyGUI.OgrePlatform.a(MyGUI_OgreRenderManager.cpp.obj):d:/Software/ogre/MyGUI_3.0.1_source/MyGUI3.0/Platforms/Ogre/OgrePlatform/src/MyGUI_OgreRenderManager.cpp:314: undefined reference to `_Unwind_SjLj_Resume'
e:\Qt\2009.05\qt\lib/libMyGUI.OgrePlatform.a(MyGUI_OgreRenderManager.cpp.obj):d:/Software/ogre/MyGUI_3.0.1_source/MyGUI3.0/Platforms/Ogre/OgrePlatform/src/MyGUI_OgreRenderManager.cpp:24: undefined reference to `__gxx_personality_sj0'
e:\Qt\2009.05\qt\lib/libMyGUI.OgrePlatform.a(MyGUI_OgreRenderManager.cpp.obj):d:/Software/ogre/MyGUI_3.0.1_source/MyGUI3.0/Platforms/Ogre/OgrePlatform/src/MyGUI_OgreRenderManager.cpp:24: undefined reference to `_Unwind_SjLj_Register'
e:\Qt\2009.05\qt\lib/libMyGUI.OgrePlatform.a(MyGUI_OgreRenderManager.cpp.obj):d:/Software/ogre/MyGUI_3.0.1_source/MyGUI3.0/Platforms/Ogre/OgrePlatform/src/MyGUI_OgreRenderManager.cpp:25: undefined reference to `MyGUI::LogManager::end()'
e:\Qt\2009.05\qt\lib/libMyGUI.OgrePlatform.a(MyGUI_OgreRenderManager.cpp.obj):d:/Software/ogre/MyGUI_3.0.1_source/MyGUI3.0/Platforms/Ogre/OgrePlatform/src/MyGUI_OgreRenderManager.cpp:25: undefined reference to `MyGUI::LogManager::info(char const*, int)'
e:\Qt\2009.05\qt\lib/libMyGUI.OgrePlatform.a(MyGUI_OgreRenderManager.cpp.obj):d:/Software/ogre/MyGUI_3.0.1_source/MyGUI3.0/Platforms/Ogre/OgrePlatform/src/MyGUI_OgreRenderManager.cpp:25: undefined reference to `MyGUI::LogManager::out(std::string const&, MyGUI::LogManager::LogLevel)'
e:\Qt\2009.05\qt\lib/libMyGUI.OgrePlatform.a(MyGUI_OgreRenderManager.cpp.obj): In function `operator<< <const char*>':
d:/Software/ogre/MyGUI_3.0.1_source/MyGUI3.0/MyGUIEngine/include/MyGUI_LogStream.h:47: undefined reference to `MyGUI::LogStream::getSTDOutputEnabled()'
e:\Qt\2009.05\qt\lib/libMyGUI.OgrePlatform.a(MyGUI_OgreRenderManager.cpp.obj):d:/Software/ogre/MyGUI_3.0.1_source/MyGUI3.0/Platforms/Ogre/OgrePlatform/src/MyGUI_OgreRenderManager.cpp:25: undefined reference to `MyGUI::LogStream::operator<<(MyGUI::LogStream::LogStreamEnd const&)'
e:\Qt\2009.05\qt\lib/libMyGUI.OgrePlatform.a(MyGUI_OgreRenderManager.cpp.obj):d:/Software/ogre/MyGUI_3.0.1_source/MyGUI3.0/Platforms/Ogre/OgrePlatform/src/MyGUI_OgreRenderManager.cpp:25: undefined reference to `MyGUI::Exception::Exception(std::string const&, std::string const&, char const*, long)'
e:\Qt\2009.05\qt\lib/libMyGUI.OgrePlatform.a(MyGUI_OgreRenderManager.cpp.obj):d:/Software/ogre/MyGUI_3.0.1_source/MyGUI3.0/Platforms/Ogre/OgrePlatform/src/MyGUI_OgreRenderManager.cpp:26: undefined reference to `MyGUI::LogManager::end()'
e:\Qt\2009.05\qt\lib/libMyGUI.OgrePlatform.a(MyGUI_OgreRenderManager.cpp.obj):d:/Software/ogre/MyGUI_3.0.1_source/MyGUI3.0/Platforms/Ogre/OgrePlatform/src/MyGUI_OgreRenderManager.cpp:26: undefined reference to `MyGUI::LogManager::info(char const*, int)'
e:\Qt\2009.05\qt\lib/libMyGUI.OgrePlatform.a(MyGUI_OgreRenderManager.cpp.obj):d:/Software/ogre/MyGUI_3.0.1_source/MyGUI3.0/Platforms/Ogre/OgrePlatform/src/MyGUI_OgreRenderManager.cpp:26: undefined reference to `MyGUI::LogManager::out(std::string const&, MyGUI::LogManager::LogLevel)'
e:\Qt\2009.05\qt\lib/libMyGUI.OgrePlatform.a(MyGUI_OgreRenderManager.cpp.obj): In function `operator<< <const char*>':
d:/Software/ogre/MyGUI_3.0.1_source/MyGUI3.0/MyGUIEngine/include/MyGUI_LogStream.h:47: undefined reference to `MyGUI::LogStream::getSTDOutputEnabled()'
e:\Qt\2009.05\qt\lib/libMyGUI.OgrePlatform.a(MyGUI_OgreRenderManager.cpp.obj):d:/Software/ogre/MyGUI_3.0.1_source/MyGUI3.0/Platforms/Ogre/OgrePlatform/src/MyGUI_OgreRenderManager.cpp:26: undefined reference to `MyGUI::LogStream::operator<<(MyGUI::LogStream::LogStreamEnd const&)'
e:\Qt\2009.05\qt\lib/libMyGUI.OgrePlatform.a(MyGUI_OgreRenderManager.cpp.obj):d:/Software/ogre/MyGUI_3.0.1_source/MyGUI3.0/Platforms/Ogre/OgrePlatform/src/MyGUI_OgreRenderManager.cpp:48: undefined reference to `Ogre::Root::getSingletonPtr()'
e:\Qt\2009.05\qt\lib/libMyGUI.OgrePlatform.a(MyGUI_OgreRenderManager.cpp.obj):d:/Software/ogre/MyGUI_3.0.1_source/MyGUI3.0/Platforms/Ogre/OgrePlatform/src/MyGUI_OgreRenderManager.cpp:50: undefined reference to `Ogre::Root::getRenderSystem()'
e:\Qt\2009.05\qt\lib/libMyGUI.OgrePlatform.a(MyGUI_OgreRenderManager.cpp.obj):d:/Software/ogre/MyGUI_3.0.1_source/MyGUI3.0/Platforms/Ogre/OgrePlatform/src/MyGUI_OgreRenderManager.cpp:54: undefined reference to `MyGUI::LogManager::end()'
e:\Qt\2009.05\qt\lib/libMyGUI.OgrePlatform.a(MyGUI_OgreRenderManager.cpp.obj):d:/Software/ogre/MyGUI_3.0.1_source/MyGUI3.0/Platforms/Ogre/OgrePlatform/src/MyGUI_OgreRenderManager.cpp:54: undefined reference to `MyGUI::LogManager::info(char const*, int)'
e:\Qt\2009.05\qt\lib/libMyGUI.OgrePlatform.a(MyGUI_OgreRenderManager.cpp.obj):d:/Software/ogre/MyGUI_3.0.1_source/MyGUI3.0/Platforms/Ogre/OgrePlatform/src/MyGUI_OgreRenderManager.cpp:54: undefined reference to `MyGUI::LogManager::out(std::string const&, MyGUI::LogManager::LogLevel)'
e:\Qt\2009.05\qt\lib/libMyGUI.OgrePlatform.a(MyGUI_OgreRenderManager.cpp.obj): In function `operator<< <const char*>':
d:/Software/ogre/MyGUI_3.0.1_source/MyGUI3.0/MyGUIEngine/include/MyGUI_LogStream.h:47: undefined reference to `MyGUI::LogStream::getSTDOutputEnabled()'
e:\Qt\2009.05\qt\lib/libMyGUI.OgrePlatform.a(MyGUI_OgreRenderManager.cpp.obj):d:/Software/ogre/MyGUI_3.0.1_source/MyGUI3.0/Platforms/Ogre/OgrePlatform/src/MyGUI_OgreRenderManager.cpp:54: undefined reference to `MyGUI::LogStream::operator<<(MyGUI::LogStream::LogStreamEnd const&)'
e:\Qt\2009.05\qt\lib/libMyGUI.OgrePlatform.a(MyGUI_OgreRenderManager.cpp.obj):d:/Software/ogre/MyGUI_3.0.1_source/MyGUI3.0/Platforms/Ogre/OgrePlatform/src/MyGUI_OgreRenderManager.cpp:55: undefined reference to `_Unwind_SjLj_Unregister'
e:\Qt\2009.05\qt\lib/libMyGUI.OgrePlatform.a(MyGUI_OgreRenderManager.cpp.obj):d:/Software/ogre/MyGUI_3.0.1_source/MyGUI3.0/Platforms/Ogre/OgrePlatform/src/MyGUI_OgreRenderManager.cpp:25: undefined reference to `_Unwind_SjLj_Resume'
e:\Qt\2009.05\qt\lib/libMyGUI.OgrePlatform.a(MyGUI_OgreRenderManager.cpp.obj):d:/Software/ogre/MyGUI_3.0.1_source/MyGUI3.0/Platforms/Ogre/OgrePlatform/src/MyGUI_OgreRenderManager.cpp:54: undefined reference to `_Unwind_SjLj_Resume'
e:\Qt\2009.05\qt\lib/libMyGUI.OgrePlatform.a(MyGUI_OgreRenderManager.cpp.obj):d:/Software/ogre/MyGUI_3.0.1_source/MyGUI3.0/Platforms/Ogre/OgrePlatform/src/MyGUI_OgreRenderManager.cpp:26: undefined reference to `_Unwind_SjLj_Resume'
e:\Qt\2009.05\qt\lib/libMyGUI.OgrePlatform.a(MyGUI_OgreRenderManager.cpp.obj):d:/Software/ogre/MyGUI_3.0.1_source/MyGUI3.0/Platforms/Ogre/OgrePlatform/src/MyGUI_OgreRenderManager.cpp:26: undefined reference to `_Unwind_SjLj_Resume'
e:\Qt\2009.05\qt\lib/libMyGUI.OgrePlatform.a(MyGUI_OgreRenderManager.cpp.obj):d:/Software/ogre/MyGUI_3.0.1_source/MyGUI3.0/Platforms/Ogre/OgrePlatform/src/MyGUI_OgreRenderManager.cpp:300: undefined reference to `__gxx_personality_sj0'
........


if i only add libMyGUIEngine.dll.a with the code

mGUI = new MyGUI::Gui();
mGUI->initialise();
.......

there is no errors and run well.
did i complie MyGUI3.0.1 in wrong way althougth the demos run well.
thanks and shame of my poor english :oops:

emugod

21-04-2010 03:53:24

i compiled ogre 1.7 and mygui 3.0.1 by 4.4.1-tdm-2 with msys.all of these demos ran well.

if i only link to ogre'slib(libOgreMain.dll.d),my qt application ran ok.

after link to mygui's.lib(libMyGUI.OgrePlatform.a and libMyGUIEngine.dll.a),errors occoured.

i found libMyGUI.OgrePlatform.a may be the reason .did anyone know why ?

emugod

21-04-2010 07:50:32

now i find if link to static MyGUIEngine lib(libMyGUIEnginestiac.a),the same error occours.

is qt's problem?

Altren

21-04-2010 14:40:15

Hmm, show errors with static MyGUIEngine.
Well, it doesn't looks like qt may cause any problems. It looks like OgreMain. All that looks like as if you not linking Ogre at all and MyGUI.OgrePlatform have undefined references.

emugod1101

26-04-2010 05:28:17

i link to static static MyGUIEngine.there are same errors occour.

last week i try to compile ogre1.7+qt4.6+mygui3.0 in Fedora 12 ,there is no error :shock: .....

emugod1101

06-05-2010 03:14:27

Hmm, show errors with static MyGUIEngine.
Well, it doesn't looks like qt may cause any problems. It looks like OgreMain. All that looks like as if you not linking Ogre at all and MyGUI.OgrePlatform have undefined references.

how can i config cmake with right link?