I fail to build Cubosphere. This is the make log:
[ 9%] Building CXX object CMakeFiles/cubosphere.dir/src/console.cpp.o
[ 9%] Building CXX object CMakeFiles/cubosphere.dir/src/cuboactors.cpp.o
[ 9%] Building CXX object CMakeFiles/cubosphere.dir/src/cuboenemies.cpp.o
[ 12%] Building CXX object CMakeFiles/cubosphere.dir/src/cuboboxes.cpp.o
[ 15%] Building CXX object CMakeFiles/cubosphere.dir/src/c3dobjects.cpp.o
In file included from .../cubosphere/cubosphere-code/src/cuboboxes.hpp:21,
from .../cubosphere/cubosphere-code/src/cuboboxes.cpp:15:
.../cubosphere/cubosphere-code/src/luautils.hpp: In member function 'bool LuaCXXData<T>::LuaTypeExtraCheck(lua_State*, int)':
.../cubosphere/cubosphere-code/src/luautils.hpp:224:15: warning: there are no arguments to 'lua_equal' that depend on a template parameter, so a declaration of 'lua_equal' must be available [-fpermissive]
bool res = lua_equal(L, -1, -2);
^~~~~~~~~
In file included from .../cubosphere/cubosphere-code/src/cuboboxes.hpp:21,
from .../cubosphere/cubosphere-code/src/cuboactors.hpp:18,
from .../cubosphere/cubosphere-code/src/cuboactors.cpp:15:
.../cubosphere/cubosphere-code/src/luautils.hpp: In member function 'bool LuaCXXData<T>::LuaTypeExtraCheck(lua_State*, int)':
.../cubosphere/cubosphere-code/src/luautils.hpp:224:15: warning: there are no arguments to 'lua_equal' that depend on a template parameter, so a declaration of 'lua_equal' must be available [-fpermissive]
bool res = lua_equal(L, -1, -2);
^~~~~~~~~
In file included from .../cubosphere/cubosphere-code/src/cuboboxes.hpp:21,
from .../cubosphere/cubosphere-code/src/cuboactors.hpp:18,
from .../cubosphere/cubosphere-code/src/cuboenemies.hpp:17,
from .../cubosphere/cubosphere-code/src/cuboenemies.cpp:15:
.../cubosphere/cubosphere-code/src/luautils.hpp: In member function 'bool LuaCXXData<T>::LuaTypeExtraCheck(lua_State*, int)':
.../cubosphere/cubosphere-code/src/luautils.hpp:224:15: warning: there are no arguments to 'lua_equal' that depend on a template parameter, so a declaration of 'lua_equal' must be available [-fpermissive]
bool res = lua_equal(L, -1, -2);
^~~~~~~~~
In file included from .../cubosphere/cubosphere-code/src/c3dobjects.cpp:21:
.../cubosphere/cubosphere-code/src/luautils.hpp: In member function 'bool LuaCXXData<T>::LuaTypeExtraCheck(lua_State*, int)':
.../cubosphere/cubosphere-code/src/luautils.hpp:224:15: warning: there are no arguments to 'lua_equal' that depend on a template parameter, so a declaration of 'lua_equal' must be available [-fpermissive]
bool res = lua_equal(L, -1, -2);
^~~~~~~~~
In file included from .../cubosphere/cubosphere-code/src/console.hpp:20,
from .../cubosphere/cubosphere-code/src/console.cpp:15:
.../cubosphere/cubosphere-code/src/luautils.hpp: In member function 'bool LuaCXXData<T>::LuaTypeExtraCheck(lua_State*, int)':
.../cubosphere/cubosphere-code/src/luautils.hpp:224:15: warning: there are no arguments to 'lua_equal' that depend on a template parameter, so a declaration of 'lua_equal' must be available [-fpermissive]
bool res = lua_equal(L, -1, -2);
^~~~~~~~~
.../cubosphere/cubosphere-code/src/luautils.hpp: In instantiation of 'bool LuaCXXData<T>::LuaTypeExtraCheck(lua_State*, int) [with T = JoyWrapper; lua_State = lua_State]':
.../cubosphere/cubosphere-code/src/luautils.hpp:242:44: required from 'bool LuaCXXData<T>::LuaCheckType(lua_State*, int) [with T = JoyWrapper; lua_State = lua_State]'
.../cubosphere/cubosphere-code/src/luautils.hpp:241:16: required from here
.../cubosphere/cubosphere-code/src/luautils.hpp:224:24: error: 'lua_equal' was not declared in this scope
bool res = lua_equal(L, -1, -2);
~~~~~~~~~^~~~~~~~~~~
.../cubosphere/cubosphere-code/src/luautils.hpp:224:24: note: suggested alternative: 'lua_rawequal'
bool res = lua_equal(L, -1, -2);
~~~~~~~~~^~~~~~~~~~~
lua_rawequal
.../cubosphere/cubosphere-code/src/luautils.hpp: In instantiation of 'bool LuaCXXData<T>::LuaTypeExtraCheck(lua_State*, int) [with T = JoyWrapper; lua_State = lua_State]':
.../cubosphere/cubosphere-code/src/luautils.hpp:242:44: required from 'bool LuaCXXData<T>::LuaCheckType(lua_State*, int) [with T = JoyWrapper; lua_State = lua_State]'
.../cubosphere/cubosphere-code/src/luautils.hpp:241:16: required from here
.../cubosphere/cubosphere-code/src/luautils.hpp:224:24: error: 'lua_equal' was not declared in this scope
bool res = lua_equal(L, -1, -2);
~~~~~~~~~^~~~~~~~~~~
.../cubosphere/cubosphere-code/src/luautils.hpp:224:24: note: suggested alternative: 'lua_rawequal'
bool res = lua_equal(L, -1, -2);
~~~~~~~~~^~~~~~~~~~~
lua_rawequal
.../cubosphere/cubosphere-code/src/luautils.hpp: In instantiation of 'bool LuaCXXData<T>::LuaTypeExtraCheck(lua_State*, int) [with T = JoyWrapper; lua_State = lua_State]':
.../cubosphere/cubosphere-code/src/luautils.hpp:242:44: required from 'bool LuaCXXData<T>::LuaCheckType(lua_State*, int) [with T = JoyWrapper; lua_State = lua_State]'
.../cubosphere/cubosphere-code/src/luautils.hpp:241:16: required from here
.../cubosphere/cubosphere-code/src/luautils.hpp:224:24: error: 'lua_equal' was not declared in this scope
bool res = lua_equal(L, -1, -2);
~~~~~~~~~^~~~~~~~~~~
make[2]: *** [CMakeFiles/cubosphere.dir/build.make:115: CMakeFiles/cubosphere.dir/src/cuboenemies.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
.../cubosphere/cubosphere-code/src/luautils.hpp:224:24: note: suggested alternative: 'lua_rawequal'
bool res = lua_equal(L, -1, -2);
~~~~~~~~~^~~~~~~~~~~
lua_rawequal
make[2]: *** [CMakeFiles/cubosphere.dir/build.make:63: CMakeFiles/cubosphere.dir/src/c3dobjects.cpp.o] Error 1
make[2]: *** [CMakeFiles/cubosphere.dir/build.make:102: CMakeFiles/cubosphere.dir/src/cuboboxes.cpp.o] Error 1
.../cubosphere/cubosphere-code/src/luautils.hpp: In instantiation of 'bool LuaCXXData<T>::LuaTypeExtraCheck(lua_State*, int) [with T = JoyWrapper; lua_State = lua_State]':
.../cubosphere/cubosphere-code/src/luautils.hpp:242:44: required from 'bool LuaCXXData<T>::LuaCheckType(lua_State*, int) [with T = JoyWrapper; lua_State = lua_State]'
.../cubosphere/cubosphere-code/src/luautils.hpp:241:16: required from here
.../cubosphere/cubosphere-code/src/luautils.hpp:224:24: error: 'lua_equal' was not declared in this scope
bool res = lua_equal(L, -1, -2);
~~~~~~~~~^~~~~~~~~~~
.../cubosphere/cubosphere-code/src/luautils.hpp:224:24: note: suggested alternative: 'lua_rawequal'
bool res = lua_equal(L, -1, -2);
~~~~~~~~~^~~~~~~~~~~
lua_rawequal
.../cubosphere/cubosphere-code/src/luautils.hpp: In instantiation of 'bool LuaCXXData<T>::LuaTypeExtraCheck(lua_State*, int) [with T = JoyWrapper; lua_State = lua_State]':
.../cubosphere/cubosphere-code/src/luautils.hpp:242:44: required from 'bool LuaCXXData<T>::LuaCheckType(lua_State*, int) [with T = JoyWrapper; lua_State = lua_State]'
.../cubosphere/cubosphere-code/src/luautils.hpp:241:16: required from here
.../cubosphere/cubosphere-code/src/luautils.hpp:224:24: error: 'lua_equal' was not declared in this scope
bool res = lua_equal(L, -1, -2);
~~~~~~~~~^~~~~~~~~~~
.../cubosphere/cubosphere-code/src/luautils.hpp:224:24: note: suggested alternative: 'lua_rawequal'
bool res = lua_equal(L, -1, -2);
~~~~~~~~~^~~~~~~~~~~
lua_rawequal
make[2]: *** [CMakeFiles/cubosphere.dir/build.make:76: CMakeFiles/cubosphere.dir/src/console.cpp.o] Error 1
make[2]: *** [CMakeFiles/cubosphere.dir/build.make:89: CMakeFiles/cubosphere.dir/src/cuboactors.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:73: CMakeFiles/cubosphere.dir/all] Error 2
make: *** [Makefile:130: all] Error 2
Note about POCO: Yes, I know the INSTALL file told me that I shouldn't use a POCO version before 1.9.1, but according to https://pocoproject.org/, the latest version is 1.9.0. shrug
Also, the errors don't mention POCO anyway.