Page 1 of 1

Ogre+CEGUI+LUA

Posted: Mon Feb 20, 2006 02:26
by hkroger
Hi,

I am using OgreSDK which has CEGUI included but it doesn't have LUA support (no libraries, no include files) there eventhough CEGUI itself has it.

What is the minimum I need to do to have CEGUI LUA support with OgreSDK?

Can I just download the dlls, libs and h files from somewhere and just put them to relevant directories or do I need to perform some magic here?

Posted: Mon Feb 20, 2006 08:01
by Dalfy
A solution is to use CEGUI SDK and updating Ogre as described on the wiki.

Posted: Mon Feb 20, 2006 10:23
by hkroger
I see, thanks for the reply.

Posted: Mon Feb 27, 2006 23:16
by hkroger
Dalfy wrote:A solution is to use CEGUI SDK and updating Ogre as described on the wiki.


I ran into trouble when following instruction because I had too new Ogre. So the big question now is where to get 1.0.6 OgreSDK?

Posted: Mon Feb 27, 2006 23:34
by hkroger
hkroger wrote:
Dalfy wrote:A solution is to use CEGUI SDK and updating Ogre as described on the wiki.


I ran into trouble when following instruction because I had too new Ogre. So the big question now is where to get 1.0.6 OgreSDK?


Replying myself so that other people can find help too:

http://sourceforge.net/project/showfile ... up_id=2997

Posted: Thu Mar 02, 2006 22:38
by davesh
I've got a similar concern. I build both Ogre and CEGUI from source. The Ogre source distribution comes with 0.3.0 CEGUI. I downloaded the latest 0.4.1 CEGUI source and built that with the latest Ogre source.

I am looking to start using LUA, and am not sure what to expect in terms of issues...

Any/all thoughts on this subject would be appreciated.

Posted: Thu Mar 02, 2006 23:42
by hkroger
davesh wrote:I've got a similar concern. I build both Ogre and CEGUI from source. The Ogre source distribution comes with 0.3.0 CEGUI. I downloaded the latest 0.4.1 CEGUI source and built that with the latest Ogre source.

I am looking to start using LUA, and am not sure what to expect in terms of issues...

Any/all thoughts on this subject would be appreciated.


Depending on the tolua version, there might be some issues related to that. I asked about that in another thread. Check it out here:

http://www.cegui.org.uk/phpBB2/viewtopic.php?t=1377

Posted: Tue Jul 11, 2006 15:38
by zarroba
Hi,
Although it's not the same problem, I'm experiencing some problems integrating Lua and CEGUI in my project. I'm using Lua in my project in a simulation module and everything was working fine 'til I integrated another module with CEGUI. Now when I compile the project I get an undefined reference to luaL_getmetatable, lua_tostring and other functions. I'm using Lua 5.1 and CEGUI 0.41. Updating CEGUI to version 0.5 is not an option right now. I' don't realy need lua in cegui, can disable it?

thanks,
Jose Tavares

Posted: Tue Jul 11, 2006 16:32
by lindquist
the lua module is completely optional. just dont use it

Posted: Tue Jul 11, 2006 17:32
by zarroba
I wasn't using it but i still got the messages. But I've seen were the problem was. When installing CEGUI, it copies lua headers to the include directory, so the compiler wasn't using the correct headers hence the errors...

thanks,
José Tavares

Posted: Tue Jul 11, 2006 19:12
by lindquist
sounds like we need better control of lua in the autotools setup, this has been requested before as well so is definitely something that will be looked into, can't say when though.