Page 1 of 1

[SOLVED] Integration with Ogre Advanced Framework

Posted: Fri Aug 09, 2013 15:45
by MikeSwartz
Hello,

Over the next couple weeks I will be attempting to integrate CEGUI 0.8.2 in to the Ogre Advanced Framework for Ogre 1.9. I've been reading as much documentation as I can, but I am having a slow start.

I will probably be posting a lot of Q's to this thread over the next few weeks.

First things first I'm trying to initialize CEGUI via

CEGUI::OgreRenderer& myRenderer = CEGUI::OgreRenderer::bootstrapSystem();

But this doesn't build. I get

"Error 1 error LNK2019: unresolved external symbol "__declspec(dllimport) public: static class CEGUI::OgreRenderer & __cdecl CEGUI::OgreRenderer::bootstrapSystem(int)" (__imp_?bootstrapSystem@OgreRenderer@CEGUI@@SAAEAV12@H@Z) referenced in function "public: bool __cdecl OgreFramework::initOgre(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char>>,class OIS::KeyListener *,class OIS::MouseListener *)" (?initOgre@OgreFramework@@QEAA_NV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@PEAVKeyListener@OIS@@PEAVMouseListener@5@@Z) C:\Behave\_BehaveModel-20130729-1408\OgreSim\AdvancedOgreFramework.obj OgreSim"


I started with only the core DLL's but have since added every CEGUI DLL to try and fix the problem but to no avail. I'm no expert with this kind of stuff so any help would be greatly appreciated.

Thanks,

Mike

Re: Integration with Ogre Advanced Framework

Posted: Mon Aug 12, 2013 16:25
by MikeSwartz
I spent a little more time on this to no avail. Any suggestions?

Re: Integration with Ogre Advanced Framework

Posted: Mon Aug 12, 2013 20:39
by Kulik
link to CEGUIOgreRenderer.lib

Re: Integration with Ogre Advanced Framework

Posted: Tue Aug 13, 2013 14:40
by MikeSwartz
Thanks that worked!