hello i dont know what did happend with this but it was fine until 2 days ago, well im trying to compile my tfs like always and now i have this problem with any tfs sources inclusive the clean ones from github
hope someone could help me :O
Code:
[ 1%] Linking CXX executable tfs
CMakeFiles/tfs.dir/src/combat.cpp.o: In function `ValueCallback::getMinMaxValues(Player*, CombatDamage&, bool) const':
combat.cpp:(.text+0x4f16): undefined reference to `lua_pcallk'
CMakeFiles/tfs.dir/src/combat.cpp.o: In function `TargetCallback::onTargetCombat(Creature*, Creature*) const':
combat.cpp:(.text+0x533d): undefined reference to `lua_pcallk'
CMakeFiles/tfs.dir/src/configmanager.cpp.o: In function `ConfigManager::load()':
configmanager.cpp:(.text+0xae): undefined reference to `lua_pcallk'
CMakeFiles/tfs.dir/src/configmanager.cpp.o: In function `ConfigManager::getGlobalString[abi:cxx11](lua_State*, char const*, char const*)':
configmanager.cpp:(.text+0xf0f): undefined reference to `lua_getglobal'
configmanager.cpp:(.text+0xf6e): undefined reference to `lua_rawlen'
CMakeFiles/tfs.dir/src/configmanager.cpp.o: In function `ConfigManager::getGlobalNumber(lua_State*, char const*, int)':
configmanager.cpp:(.text+0x107c): undefined reference to `lua_getglobal'
CMakeFiles/tfs.dir/src/configmanager.cpp.o: In function `ConfigManager::getGlobalBoolean(lua_State*, char const*, bool)':
configmanager.cpp:(.text+0x1106): undefined reference to `lua_getglobal'
configmanager.cpp:(.text+0x1159): undefined reference to `lua_rawlen'
CMakeFiles/tfs.dir/src/luascript.cpp.o: In function `LuaScriptInterface::protectedCall(lua_State*, int, int)':
luascript.cpp:(.text+0x1210): undefined reference to `lua_pcallk'
CMakeFiles/tfs.dir/src/luascript.cpp.o: In function `LuaScriptInterface::getEvent(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)':
luascript.cpp:(.text+0x1489): undefined reference to `lua_getglobal'
luascript.cpp:(.text+0x153c): undefined reference to `lua_setglobal'
CMakeFiles/tfs.dir/src/luascript.cpp.o: In function `LuaScriptInterface::getMetaEvent(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)':
luascript.cpp:(.text+0x16cb): undefined reference to `lua_getglobal'
CMakeFiles/tfs.dir/src/luascript.cpp.o: In function `LuaScriptInterface::getStackTrace(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)':
luascript.cpp:(.text+0x1af4): undefined reference to `lua_getglobal'
luascript.cpp:(.text+0x1bf0): undefined reference to `lua_callk'
CMakeFiles/tfs.dir/src/luascript.cpp.o: In function `LuaScriptInterface::registerFunctions()':
luascript.cpp:(.text+0x45fb): undefined reference to `lua_setglobal'
luascript.cpp:(.text+0x4634): undefined reference to `lua_setglobal'
luascript.cpp:(.text+0x466d): undefined reference to `lua_setglobal'
luascript.cpp:(.text+0x46a6): undefined reference to `lua_setglobal'
luascript.cpp:(.text+0x46df): undefined reference to `lua_setglobal'
CMakeFiles/tfs.dir/src/luascript.cpp.o:luascript.cpp:(.text+0x4718): more undefined references to `lua_setglobal' follow
CMakeFiles/tfs.dir/src/luascript.cpp.o: In function `LuaScriptInterface::registerClass(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, int (*)(lua_State*))':
luascript.cpp:(.text+0x44005): undefined reference to `lua_getglobal'
CMakeFiles/tfs.dir/src/luascript.cpp.o: In function `LuaScriptInterface::registerTable(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)':
luascript.cpp:(.text+0x44408): undefined reference to `lua_setglobal'
CMakeFiles/tfs.dir/src/luascript.cpp.o: In function `LuaScriptInterface::registerMethod(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, int (*)(lua_State*))':
luascript.cpp:(.text+0x44446): undefined reference to `lua_getglobal'
CMakeFiles/tfs.dir/src/luascript.cpp.o: In function `LuaScriptInterface::registerGlobalMethod(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, int (*)(lua_State*))':
luascript.cpp:(.text+0x44584): undefined reference to `lua_setglobal'
CMakeFiles/tfs.dir/src/luascript.cpp.o: In function `LuaScriptInterface::registerVariable(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, double)':
luascript.cpp:(.text+0x445c3): undefined reference to `lua_getglobal'
CMakeFiles/tfs.dir/src/luascript.cpp.o: In function `LuaScriptInterface::registerGlobalVariable(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, double)':
luascript.cpp:(.text+0x4465e): undefined reference to `lua_setglobal'
CMakeFiles/tfs.dir/src/luascript.cpp.o: In function `LuaScriptInterface::registerGlobalBoolean(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool)':
luascript.cpp:(.text+0x446af): undefined reference to `lua_setglobal'
CMakeFiles/tfs.dir/src/luascript.cpp.o: In function `LuaScriptInterface::luaIsInArray(lua_State*)':
luascript.cpp:(.text+0x4867c): undefined reference to `lua_compare'
CMakeFiles/tfs.dir/src/luascript.cpp.o: In function `LuaScriptInterface::luaAddEvent(lua_State*)':
luascript.cpp:(.text+0x48ddb): undefined reference to `lua_getglobal'
luascript.cpp:(.text+0x48e0e): undefined reference to `lua_getglobal'
luascript.cpp:(.text+0x48e7e): undefined reference to `lua_callk'
collect2: error: ld returned 1 exit status
CMakeFiles/tfs.dir/build.make:1897: recipe for target 'tfs' failed
make[2]: *** [tfs] Error 1
CMakeFiles/Makefile2:99: recipe for target 'CMakeFiles/tfs.dir/all' failed
make[1]: *** [CMakeFiles/tfs.dir/all] Error 2
Makefile:83: recipe for target 'all' failed
make: *** [all] Error 2