Hello
I have a little problem in integrating Lua in my game using Ogre Engine.
When i start my application, it is the lua interpreting console who appears instead of my application (which start in console mod for starting of Ogre)
it makes that since i'm added the "libLua.a" and "libLua.dll.a"
the twice are apparently necessary for linking phase.
i try to recompile Lua but i've got the same problem
i'm using CODE::Blocks in Windows
with Ogre1.7 and Lua 5.2
If you have an idea, please, feel free to inform me
Thank in advance
Sorry for my english
Ogre and Lua
-
- Gnoblar
- Posts: 1
- Joined: Mon Dec 26, 2011 4:41 pm
Re: Ogre and Lua
The lua interpreter should not be part of the lua lib you use in your project.
When you compiled Lua, did you include the files lua.c and luac.c ?
These are for the interpreter and compiler respectively and should NOT be included in compilation if you just want the library.
When you compiled Lua, did you include the files lua.c and luac.c ?
These are for the interpreter and compiler respectively and should NOT be included in compilation if you just want the library.
-
- Gnoblar
- Posts: 5
- Joined: Mon Sep 05, 2011 2:37 pm
Re: Ogre and Lua
Thanks for you answer.
I found the problem : i have some file from Lua included in makefile but not in the GUI of my IDE.
The problems effectively come from the included luac.h
Sorry for this useless post
I found the problem : i have some file from Lua included in makefile but not in the GUI of my IDE.
The problems effectively come from the included luac.h
Sorry for this useless post

-
- OGRE Moderator
- Posts: 7157
- Joined: Sun Jan 25, 2004 7:35 am
- Location: Brisbane, Australia
- x 535
Re: Ogre and Lua
Lua doesn't have a file called luac.h