Ogre+CEGUI Source Integration

For help with anything that CEGUI doesn't offer straight out-of-the-box, e.g.:
- Implementation of new features, such as new Core classes, widgets, WindowRenderers, etc. ...
- Modification of any existing features for specific purposes
- Integration of CEGUI in new engines or frameworks and writing of new plugins (Renderer, Parser, ...) or modules

Moderators: CEGUI MVP, CEGUI Team

User avatar
davesh
Not too shy to talk
Not too shy to talk
Posts: 36
Joined: Fri Feb 03, 2006 22:59

Ogre+CEGUI Source Integration

Postby davesh » Fri Feb 17, 2006 02:41

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.

User avatar
Dalfy
CEGUI Team (Retired)
Posts: 130
Joined: Tue Oct 11, 2005 16:13
Location: Paris, FRANCE
Contact:

Postby Dalfy » Fri Feb 17, 2006 10:31

There is a wiki page concerning this available here :
http://www.cegui.org.uk/wiki/index.php/ ... _SDK_0.4.1

User avatar
davesh
Not too shy to talk
Not too shy to talk
Posts: 36
Joined: Fri Feb 03, 2006 22:59

Postby davesh » Fri Feb 17, 2006 17:35

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.

User avatar
davesh
Not too shy to talk
Not too shy to talk
Posts: 36
Joined: Fri Feb 03, 2006 22:59

Postby davesh » Thu Mar 02, 2006 21:26

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.

:)

hkroger
Just popping in
Just popping in
Posts: 12
Joined: Mon Feb 20, 2006 01:39

Postby hkroger » Thu Mar 02, 2006 23:44

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

User avatar
davesh
Not too shy to talk
Not too shy to talk
Posts: 36
Joined: Fri Feb 03, 2006 22:59

Postby davesh » Fri Mar 03, 2006 00:10

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?

User avatar
CrazyEddie
CEGUI Project Lead
Posts: 6760
Joined: Wed Jan 12, 2005 12:06
Location: England
Contact:

Postby CrazyEddie » Sun Mar 05, 2006 15:50

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.


Return to “Modifications / Integrations / Customisations”

Who is online

Users browsing this forum: No registered users and 11 guests