Skip to main content

History: MyGUI Compiling

Source of version: 5

Copy to clipboard
            {maketoc}

!!!!Sources
First of all, you have to download the source files.
You can get them [http://sourceforge.net/project/showfiles.php?group_id=193706|on sourceforge] or download the fresh version from svn e.g. using TortoiseSVN from next repository:
{MONO()}~np~https://my-gui.svn.sourceforge.net/svnroot/my-gui~/np~{MONO}
Or if you using Linux type
{MONO()}~np~svn co https://my-gui.svn.sourceforge.net/svnroot/my-gui/trunk my-gui~/np~{MONO}

!!!!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
{CODE(wrap="1")}  -- 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>{CODE}
set MYGUI_DEPENDENCIES_DIR to path where you have Dependencies.

If you see next message
{CODE(wrap="1")}  -- 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 <>{CODE}
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:
{MONO()}(PathToMyGUI)\MyGUIEngine\include{MONO}
Insert in lib path:
{MONO()}(PathToMyGUI)\lib\Release
(PathToMyGUI)\lib\Debug{MONO}
In linker additional dependencies add
{MONO()}MyGUIEngine.lib{MONO} or {MONO()}MyGUIEngine_d.lib{MONO}
---
Alias: (alias(MyGUI_Compiling))
        

History

Information Version
Mon 16 of May, 2016 03:34 GMT-0000 sercero Changed the order of how the libs should be added, otherwise there are errors in MinGW linking 25
Mon 20 of Apr, 2015 14:17 GMT-0000 Altren 24
Sun 22 of Dec, 2013 19:11 GMT-0000 Altren 23
Thu 30 of May, 2013 21:59 GMT-0000 Altren 22
Sun 05 of May, 2013 21:56 GMT-0000 Altren 21
Wed 22 of Aug, 2012 08:04 GMT-0000 Altren Remove wrong and ugly solution. Correct solution already mentioned in this page (set Boost_ROOT directory). 20
Fri 15 of Jun, 2012 11:41 GMT-0000 Altren 19
Sun 01 of Apr, 2012 17:29 GMT-0000 Altren 18
Fri 30 of Mar, 2012 08:35 GMT-0000 Altren 17
Fri 30 of Mar, 2012 08:31 GMT-0000 Altren 16
Sat 25 of Feb, 2012 12:55 GMT-0000 Hronom 15
Sat 22 of Jan, 2011 19:27 GMT-0000 Altren 14
Sat 22 of Jan, 2011 19:26 GMT-0000 Altren 13
Wed 19 of Jan, 2011 13:38 GMT-0000 Altren 12
Tue 18 of Jan, 2011 11:33 GMT-0000 Altren 11
Tue 18 of Jan, 2011 11:20 GMT-0000 Altren 10
Tue 18 of Jan, 2011 11:09 GMT-0000 Altren 9
Fri 10 of Dec, 2010 16:17 GMT-0000 Altren 8
Fri 10 of Dec, 2010 15:47 GMT-0000 Altren 7
Fri 10 of Dec, 2010 15:46 GMT-0000 Altren 6
Wed 30 of Jun, 2010 01:06 GMT-0000 JustBoo 5
Tue 15 of Jun, 2010 01:17 GMT-0000 Altren 4
Mon 28 of Dec, 2009 05:31 GMT-0000 jacmoe 3
Mon 28 of Dec, 2009 05:30 GMT-0000 jacmoe 2
Fri 11 of Sep, 2009 12:09 GMT-0000 Altren 1