Ceacy :
OgreCEGUITexture isn't exported (declared as _OgrePrivate), so the code won't compile under Windows : setOgreTexture() is, from the dll's point of vue, unknown :
error LNK2001: unresolved external symbol "public: void __thiscall CEGUI::OgreCEGUITexture::setOgreTexture(class Ogre::TexturePtr &)"
A fix could be replacing :
CEGUI::OgreCEGUITexture* ceguiTex = dynamic_cast<CEGUI::OgreCEGUITexture*>( mGUIRenderer->createTexture() ); ceguiTex->setOgreTexture( ogreTex );
By :
CEGUI::OgreCEGUITexture* ceguiTex = dynamic_cast<CEGUI::OgreCEGUITexture*>( mGUIRenderer->createTexture( ogreTex ) );