MyGUI

A place for users of OGRE to discuss ideas and experiences of utilitising OGRE in their games / demos / applications.
alberich
Gnoblar
Posts: 2
Joined: Tue Jan 26, 2016 11:03 pm

MyGUI

Post by alberich »

Hello!
I'm new to OGRE (and openGL in general).
I would like to use MyGUI on my opengl application (not game). I'm trying to build it, but when I issue the cmake command it asks for ogre directory.
Does this mean I need to compile ogre first? Can it be done without ogre sources?

thank you
Rustam
Gnoblar
Posts: 6
Joined: Tue Mar 04, 2008 9:02 pm
x 1

Re: MyGUI

Post by Rustam »

There's one more forum http://www.ogre3d.org/addonforums/ in case nobody answers here.
al2950
OGRE Expert User
OGRE Expert User
Posts: 1227
Joined: Thu Dec 11, 2008 7:56 pm
Location: Bristol, UK
x 157

Re: MyGUI

Post by al2950 »

You do not need Ogre to compile MyGui, unless you want to use Ogre as the mygui renderer of course.

The cmake option MYGUI_RENDERSYSTEM selects what render it compiles for. If you just want a simple opengl renderer then use option '4'.
alberich
Gnoblar
Posts: 2
Joined: Tue Jan 26, 2016 11:03 pm

Re: MyGUI

Post by alberich »

That made the trick!
I couldn't find this option using cmake-gui in linux.

Can this information be updated in the wiki? (compilation section)

Just in case it is usefull for other people, this is what I did
mkdir build
cd build
cmake -DMYGUI_RENDERSYSTEM=4 ..
make -j8

Thank you :)