If you haven't done so already, be sure to visit the Wiki Portal to read about how the wiki works. Especially the Ogre Wiki Overview page.
Table of contents
Sources
First of all, you have to download the source files.
You can get them on sourceforge
or download the fresh version from svn e.g. using TortoiseSVN from next repository:
https://my-gui.svn.sourceforge.net/svnroot/my-gui
Or if you using Linux type
svn co https://my-gui.svn.sourceforge.net/svnroot/my-gui/trunk my-gui
Dependencies
You need to have MyGUI's dependencies. Currently it's only FreeType, so if you have downloaded the OGRE dependencies, you don't need to download any extra MyGUI dependencies.
Compiling
Building sources from archive
Please confirm you have configured the Ogre successfully. If not, you'll need to add the path to the OGRE includes and libs.
Right click MyGUIEngine and compile it! You also can compile the demos and the tools if you want to.
Building sources from SVN
After getting sources you need to install CMake ( http://www.cmake.org/cmake/resources/software.html
).
Then run it with sources dir set to place where you downloaded sources (press Configure if you using Cmake-gui).
If you see next message
-- The following REQUIRED packages could NOT be located on your system. -- Please install them before continuing this software installation. -- If you are in Windows, try passing -DMYGUI_DEPENDENCIES_DIR=<path to dependencies>
set MYGUI_DEPENDENCIES_DIR to path where you have Dependencies.
If you see next message
-- The following OPTIONAL packages could NOT be located on your system. -- Consider installing them to enable more features from this software. + ogre: Support for the Ogre render system <>
this mean that CMake can't find where your Ogre sources is. Set OGRE_DIR option manually (or OGRE_BUILD and OGRE_SOURCE for OGRE with CMake).
Press Configure until all settings is not red. Then press Generate and you'll get makefiles/project files for your IDE.
Using
To use MyGUI in your project, add to your project next settings:
Insert in include files:
(PathToMyGUI)\MyGUIEngine\include
Insert in lib path:
(PathToMyGUI)\lib\Release
(PathToMyGUI)\lib\Debug
In linker additional dependencies add
MyGUIEngine.lib or MyGUIEngine_d.lib
Alias: MyGUI_Compiling
Contributors to this page: JustBoo
,
jacmoe
and
Altren
.
Page last modified on Wednesday 30 of June, 2010 01:06:32 GMT by JustBoo
.
The content on this page is licensed under the terms of the Creative Commons Attribution-ShareAlike License.
As an exception, any source code contributed within the content is released into the Public Domain.

