Page 1 of 1
Ogre+CEGUI Source Integration
Posted: Fri Feb 17, 2006 02:41
by davesh
I'm looking to anybody that uses both Ogre and CEGUI for some advice relative to the cleaneast way to integrate CEGUI 0.4.1 into Ogre3D.
I build both from source without problems. When I try to link CEGUI 0.4.1 into my Ogre apps I get a DLL_NOT_FOUND error when I try to execute the app.. the app never executes as a result.
I set my PATH environment variable so that it has the BIN directory containing the CEGUI DLLS... this I believe is needed by the run-time loader...
I use Version 8.0 of microsoft visual to build Ogre, CEGUI, and my own applications.
By the way the I have been able to successfully use the 0.3 version of CEGUI binaries that come with the Ogre source distribution.
Thanks in advance for any help in this regard.
Posted: Fri Feb 17, 2006 10:31
by Dalfy
There is a wiki page concerning this available here :
http://www.cegui.org.uk/wiki/index.php/ ... _SDK_0.4.1
Posted: Fri Feb 17, 2006 17:35
by davesh
Thank you for the reference. I did see this Wiki page prior to my post. My first response was "hmmm this seems to assume that I am installing the SDK for Ogre/CEUGUI - i.e. pre-built binaries". I'm in fact building both Ogre and CEGUI from source.
In spite of the fact that I'm building from source perhaps I need to do the same copy of library binaries and source header files... However I tend to prefer simply pointing the linker (compile-time and run-time) and the compiler at the independent locations of CEGUI and Ogre (as opposed to copying to a common location). This typically is not a problem in the UNIX environment that I'm used to coding in. I'm far less used to the quirks of Win2K development.
If I can figure out how to avoid the copy then I would like to do this... perhaps that desire is gonna lead me to more headache than its worth.
Posted: Thu Mar 02, 2006 21:26
by davesh
Ok. While sitting on a plane crossing the atlantic ocean I got the CEGUI 0.4.1 source code built and integrated with the latest source build of Ogre. I was not interested in simply installing CEGUI binaries or Ogre binaries.
If anyone is interested I will go ahead and put my "lessons learned" into a document (that I will post) that could potentially serve as a seed for a "CEGUI+Ogre build from source" tutorial.
If not I'll just keep marching on my merry way since I'm now able to build applications that link CEGUI and Ogre libraries that have been built from source.

Posted: Thu Mar 02, 2006 23:44
by hkroger
davesh wrote:If anyone is interested I will go ahead and put my "lessons learned" into a document (that I will post) that could potentially serve as a seed for a "CEGUI+Ogre build from source" tutorial.
Me, me, me! Add in also lua and tolua and I will bow to your direction.
- Hannu
Posted: Fri Mar 03, 2006 00:10
by davesh
I'll do my best to put something together that you find useful.. this will be a couple of days, but i will take the time. The first drop will be focused on Ogre + Cegui source builds in VC7.
On the subject of lua/tolua...
tolua++ is at version 1.0.91
http://www.codenix.com/~tolua/
lua is at 5.1
http://www.lua.org/
ogre is at 1.0.7
http://www.ogre3d.org/
cegui is at 0.4.1
My unerstanding is that cegui 0.4.1 embeds lua 5.0.2 and tolua 1.0.6
I'd like to try to get the system built with the latest and greatest of everything...
maybe that'll be the project i undertake on my next cross-oceanic trip
does anyone have experience replacing the older versions of lua and tolua with the latest/greatest?
Posted: Sun Mar 05, 2006 15:50
by CrazyEddie
Hi
Our tolua++ is a slightly customised version, we do update this as often as possible (head currently contains the latest version).
You should have no issues updating the other libs though, just drop in the lasest files and update the makefiles / projects if needed.
HTH
CE.