[SOLVED] Integration with Ogre Advanced Framework

For help with general CEGUI usage:
- Questions about the usage of CEGUI and its features, if not explained in the documentation.
- Problems with the CMAKE configuration or problems occuring during the build process/compilation.
- Errors or unexpected behaviour.

Moderators: CEGUI MVP, CEGUI Team

MikeSwartz
Just popping in
Just popping in
Posts: 13
Joined: Mon Aug 05, 2013 16:31

[SOLVED] Integration with Ogre Advanced Framework

Postby MikeSwartz » Fri Aug 09, 2013 15:45

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
Last edited by MikeSwartz on Tue Aug 13, 2013 14:41, edited 1 time in total.

MikeSwartz
Just popping in
Just popping in
Posts: 13
Joined: Mon Aug 05, 2013 16:31

Re: Integration with Ogre Advanced Framework

Postby MikeSwartz » Mon Aug 12, 2013 16:25

I spent a little more time on this to no avail. Any suggestions?

User avatar
Kulik
CEGUI Team
Posts: 1382
Joined: Mon Jul 26, 2010 18:47
Location: Czech Republic
Contact:

Re: Integration with Ogre Advanced Framework

Postby Kulik » Mon Aug 12, 2013 20:39

link to CEGUIOgreRenderer.lib

MikeSwartz
Just popping in
Just popping in
Posts: 13
Joined: Mon Aug 05, 2013 16:31

Re: Integration with Ogre Advanced Framework

Postby MikeSwartz » Tue Aug 13, 2013 14:40

Thanks that worked!


Return to “Help”

Who is online

Users browsing this forum: Google [Bot] and 8 guests