Author Topic: CEGUI VS Project Setup for 0.3  (Read 2998 times)

hailstone

  • Local Moderator
  • Battle Machine
  • ********
  • Posts: 1,568
    • View Profile
CEGUI VS Project Setup for 0.3
« on: 25 February 2009, 05:45:24 »
These instructions are for Visual Studio 2008 Express on Windows. Some of the smaller details might need more looking at but the general steps are there.

I didn't get the events working with the downloadable libs so I needed to compile it myself:
  • Download the source
  • Download these libs:
    Devil - http://openil.sourceforge.net
    Freetype2 - http://www.freetype.org
    Pcre - http://www.pcre.org
    If you want LUA support you need LUA - http://www.lua.org/
  • add the libs to the libs folder and include files to dependencies/include
  • go to 'makefiles/premake' and setup config.lua to use the above libs (i used without samples option)
  • run build_vs2008.bat
  • open CEGUI.sln and make sure the include dirs and libs are correct
  • compile it
  • now that is compiled, open up glest 0.3
  • if you compiled as static lib you need to add dependencies to glest too (not shared_lib)
  • copy headers to include dir and libs to lib dir:
    (_d.lib for debug configuration and without _d for release otherwise there are problems with events)
    CEGUIBase_Static_d.lib
    CEGUIDevILImageCodec_Static_d.lib
    CEGUIFalagardWRBase_Static_d.lib
    CEGUITinyXMLParser_Static_d.lib
    OpenGLGUIRenderer_Static_d.lib
    pcre.lib
    ILUT.lib
    ILU.lib
    DevIL.lib
    winmm.lib (needed for "symbol __imp__timeGetTime@0")
  • Additional DLLs needed (more if others arent static libs):
    ILU.dll
    ILUT.dll
    DevIL.dll
    freetype6.dll
  • add CEGUI_STATIC to preprocessor definitions
  • add "stlport_vc7_static.lib;LIBC.lib" to "Ignore Specific Library"
  • try compiling
  • download the data files
  • copy binaries to data files

CEGUI creates CEGUI.log when you run the exe.

« Last Edit: 25 February 2009, 05:47:14 by hailstone »
Glest Advanced Engine - Admin/Programmer
https://sourceforge.net/projects/glestae/

 

anything