Forum Thread
Search
by member
  Posts  
[Source ] Adding Lua (Forums : Coding & Scripting : [Source ] Adding Lua) Locked
Thread Options 1 2
Aug 18 2009, 1:11pm Anchor
Ronon-Dex wrote:I have added ge_luamanager but also i've added lua.h to the same folder but i still get errors that it cant find it.


Hi,
-I also work on the implementation of LUA- and get the same error
Have you solved this problem? If you managed it would be nice to share.

greets mappingfan

Edited by: mappingfan

lodle
O
N
L
I
N
E
lodle I am Lodle
I pwn Henley.
Aug 18 2009, 11:55pm Anchor

What are the errors?

--

User Posted Image
Aug 19 2009, 9:50pm Anchor

Fehler    2    error LNK2019: Verweis auf nicht aufgelöstes externes Symbol ""void __cdecl RegisterLUAFuncs(struct lua_State *)" (?RegisterLUAFuncs@@YAXPAUlua_State@@@Z)" in Funktion ""void __cdecl RegPublicFunctions(struct lua_State *)" (?RegPublicFunctions@@YAXPAUlua_State@@@Z)".    ge_luamanager.obj    Server SDK

Fehler    3    error LNK2019: Verweis auf nicht aufgelöstes externes Symbol ""void __cdecl RegisterLUAGlobals(struct lua_State *)" (?RegisterLUAGlobals@@YAXPAUlua_State@@@Z)" in Funktion ""void __cdecl RegPublicGlobals(struct lua_State *)" (?RegPublicGlobals@@YAXPAUlua_State@@@Z)".    ge_luamanager.obj    Server SDK

These are my errors...
...I hope you can help me!

greets

lodle
O
N
L
I
N
E
lodle I am Lodle
I pwn Henley.
Aug 20 2009, 7:19am Anchor

you need to make two functions:

void RegisterLUAFuncs(lua_State *L)
{

}
void RegisterLUAGlobals(lua_State *L)
{

}

these are used to register lua globals and functions for every lua instant

Edited by: lodle

Reply to Thread

Only registered members can share their thoughts. So come on! Join the community today (totally free) and join in the conversation.