scriptha
On a distinguished road
As the title says, when I try to compile the latest tfs, it says
I've downloaded the dev-cpp pack talaturen supplied..
help :O
and there are more errors, but they might be fixed when lua.h is found:
luascript.h:302: error: expected `;' before '(' token continues for about 200 lines, but with a different line number ofc.
Code:
In file included from creatureevent.h:24,
from creature.h:33,
from player.h:25,
from actions.cpp:24:
luascript.h:30:18: lua.h: No such file or directory
help :O
and there are more errors, but they might be fixed when lua.h is found:
Code:
In file included from creatureevent.h:24,
from creature.h:33,
from player.h:25,
from actions.cpp:24:
luascript.h:32: warning: `luaopen_luasql_mysql' initialized and declared `extern'
luascript.h:32: error: `lua_State' was not declared in this scope
luascript.h:32: error: expected primary-expression before ')' token
luascript.h:40:22: lauxlib.h: No such file or directory
luascript.h:41:21: lualib.h: No such file or directory
luascript.h:281: error: ISO C++ forbids declaration of `lua_State' with no type
luascript.h:281: error: expected `;' before '*' token
luascript.h:283: error: expected `;' before "bool"
luascript.h:288: error: variable or field `pushThing' declared void
luascript.h:288: error: expected `;' before '(' token
luascript.h:289: error: variable or field `pushVariant' declared void
luascript.h:289: error: expected `;' before '(' token
luascript.h:290: error: variable or field `pushPosition' declared void
luascript.h:290: error: expected `;' before '(' token
luascript.h:291: error: variable or field `pushPosition' declared void
luascript.h:291: error: expected `;' before '(' token
luascript.h:293: error: expected `;' before '(' token
luascript.h:294: error: variable or field `popPosition' declared void
luascript.h:294: error: expected `;' before '(' token
luascript.h:295: error: variable or field `popPosition' declared void
luascript.h:295: error: expected `;' before '(' token
luascript.h:296: error: expected `;' before '(' token
luascript.h:297: error: expected `;' before '(' token
luascript.h:298: error: expected `;' before '(' token
luascript.h:300: error: expected `;' before '(' token
luascript.h:301: error: variable or field `setField' declared void
luascript.h:301: error: expected `;' before '(' token
luascript.h:302: error: variable or field `setField' declared void
luascript.h:302: error: expected `;' before '(' token