Linking CXX executable tfs
CMakeFiles/tfs.dir/src/combat.cpp.o: In function `ValueCallback::getMinMaxValues(Player*, CombatDamage&, bool) const':
combat.cpp:(.text+0x3080): undefined reference to `lua_pcall'
CMakeFiles/tfs.dir/src/combat.cpp.o: In function `TargetCallback::onTargetCombat(Creature*, Creature*) const':
combat.cpp:(.text+0x3472): undefined reference to `lua_pcall'
CMakeFiles/tfs.dir/src/combat.cpp.o: In function `int LuaScriptInterface::getNumber<int>(lua_State*, int)':
combat.cpp:(.text._ZN18LuaScriptInterface9getNumberIiEET_P9lua_Statei[_ZN18LuaScriptInterface9getNumberIiEET_P9lua_Statei]+0x1c): undefined reference to `lua_tonumber'
CMakeFiles/tfs.dir/src/configmanager.cpp.o: In function `ConfigManager::load()':
configmanager.cpp:(.text+0x189): undefined reference to `luaL_loadfile'
configmanager.cpp:(.text+0x1a8): undefined reference to `lua_pcall'
CMakeFiles/tfs.dir/src/configmanager.cpp.o: In function `ConfigManager::getGlobalString(lua_State*, std::string const&, std::string const&)':
configmanager.cpp:(.text+0x40d4): undefined reference to `lua_objlen'
CMakeFiles/tfs.dir/src/configmanager.cpp.o: In function `ConfigManager::getGlobalNumber(lua_State*, std::string const&, int)':
configmanager.cpp:(.text+0x41ed): undefined reference to `lua_tonumber'
CMakeFiles/tfs.dir/src/databasemanager.cpp.o: In function `DatabaseManager::updateDatabase()':
databasemanager.cpp:(.text+0x864): undefined reference to `luaL_register'
databasemanager.cpp:(.text+0x87a): undefined reference to `luaL_register'
databasemanager.cpp:(.text+0x890): undefined reference to `luaL_register'
databasemanager.cpp:(.text+0x91b): undefined reference to `luaL_loadfile'
databasemanager.cpp:(.text+0x93a): undefined reference to `lua_pcall'
databasemanager.cpp:(.text+0xa0d): undefined reference to `lua_pcall'
CMakeFiles/tfs.dir/src/luascript.cpp.o: In function `LuaScriptInterface::protectedCall(lua_State*, int, int)':
luascript.cpp:(.text+0x1712): undefined reference to `lua_pcall'
CMakeFiles/tfs.dir/src/luascript.cpp.o: In function `LuaScriptInterface::loadFile(std::string const&, Npc*)':
luascript.cpp:(.text+0x1763): undefined reference to `luaL_loadfile'
CMakeFiles/tfs.dir/src/luascript.cpp.o: In function `LuaScriptInterface::getStackTrace(std::string const&)':
luascript.cpp:(.text+0x1ff0): undefined reference to `lua_call'
CMakeFiles/tfs.dir/src/luascript.cpp.o: In function `LuaScriptInterface::popNumber(lua_State*)':
luascript.cpp:(.text+0x30db): undefined reference to `lua_tonumber'
CMakeFiles/tfs.dir/src/luascript.cpp.o: In function `LuaScriptInterface::popFloatNumber(lua_State*)':
luascript.cpp:(.text+0x3145): undefined reference to `lua_tonumber'
CMakeFiles/tfs.dir/src/luascript.cpp.o: In function `LuaScriptInterface::registerFunctions()':
luascript.cpp:(.text+0x5f5a): undefined reference to `luaL_register'
luascript.cpp:(.text+0x5f77): undefined reference to `luaL_register'
luascript.cpp:(.text+0x5f94): undefined reference to `luaL_register'
luascript.cpp:(.text+0x5fb1): undefined reference to `luaL_register'
CMakeFiles/tfs.dir/src/luascript.cpp.o: In function `LuaScriptInterface::luaIsInArray(lua_State*)':
luascript.cpp:(.text+0x3279f): undefined reference to `lua_equal'
CMakeFiles/tfs.dir/src/luascript.cpp.o: In function `unsigned int LuaScriptInterface::getNumber<unsigned int>(lua_State*, int)':
luascript.cpp:(.text._ZN18LuaScriptInterface9getNumberIjEET_P9lua_Statei[_ZN18LuaScriptInterface9getNumberIjEET_P9lua_Statei]+0x1c): undefined reference to `lua_tonumber'
CMakeFiles/tfs.dir/src/luascript.cpp.o: In function `unsigned short LuaScriptInterface::popNumber<unsigned short>(lua_State*)':
luascript.cpp:(.text._ZN18LuaScriptInterface9popNumberItEET_P9lua_State[_ZN18LuaScriptInterface9popNumberItEET_P9lua_State]+0x35): undefined reference to `lua_tonumber'
CMakeFiles/tfs.dir/src/luascript.cpp.o: In function `int LuaScriptInterface::popNumber<int>(lua_State*)':
luascript.cpp:(.text._ZN18LuaScriptInterface9popNumberIiEET_P9lua_State[_ZN18LuaScriptInterface9popNumberIiEET_P9lua_State]+0x35): undefined reference to `lua_tonumber'
CMakeFiles/tfs.dir/src/luascript.cpp.o: In function `unsigned char LuaScriptInterface::popNumber<unsigned char>(lua_State*)':
luascript.cpp:(.text._ZN18LuaScriptInterface9popNumberIhEET_P9lua_State[_ZN18LuaScriptInterface9popNumberIhEET_P9lua_State]+0x35): undefined reference to `lua_tonumber'
CMakeFiles/tfs.dir/src/luascript.cpp.o: In function `unsigned int LuaScriptInterface::popNumber<unsigned int>(lua_State*)':
luascript.cpp:(.text._ZN18LuaScriptInterface9popNumberIjEET_P9lua_State[_ZN18LuaScriptInterface9popNumberIjEET_P9lua_State]+0x35): undefined reference to `lua_tonumber'
CMakeFiles/tfs.dir/src/luascript.cpp.o:luascript.cpp:(.text._ZN18LuaScriptInterface9getNumberIhEET_P9lua_Statei[_ZN18LuaScriptInterface9getNumberIhEET_P9lua_Statei]+0x1c): more undefined references to `lua_tonumber' follow
collect2: error: ld returned 1 exit status
make[2]: *** [tfs] Error 1
make[1]: *** [CMakeFiles/tfs.dir/all] Error 2
make: *** [all] Error 2