Occur compile errors for linux client building on ubuntu8

Added by kuo over 8 years ago

Hello,
I have build server on my ubuntu8 platform successfully, but When build client module
I alway get the following compile error, I installed lua5.1(apt-get install liblua5.1-dev) ,
SO far I am not sure if those errors are involved by wrong version between luabind and lua libraries?

Thanks
-kuo

-----------------------
interface_v3/../interface_v3/group_in_scene.h: In static member function ‘static void CGroupInScene::getReflectedProperties(TReflectedProperties&)’:
interface_v3/../interface_v3/group_in_scene.h:59: warning: statement has no effect
interface_v3/lua_ihm.cpp: In static member function ‘static bool CLuaIHM::pop(CLuaState&, NLMISC::CRGBA&)’:
interface_v3/lua_ihm.cpp:212: error: no matching function for call to ‘luabind::adl::object::object(lua_State*)’
/usr/include/luabind/object.hpp:713: note: candidates are: luabind::adl::object::object(const luabind::from_stack&)
/usr/include/luabind/object.hpp:709: note: luabind::adl::object::object(const luabind::handle&)
/usr/include/luabind/object.hpp:706: note: luabind::adl::object::object()
/usr/include/luabind/object.hpp:703: note: luabind::adl::object::object(const luabind::adl::object&)
interface_v3/lua_ihm.cpp:213: error: ‘class luabind::adl::object’ has no member named ‘set’
interface_v3/lua_ihm.cpp: In static member function ‘static bool CLuaIHM::pop(CLuaState&, NLMISC::CVector2f&)’:
interface_v3/lua_ihm.cpp:235: error: no matching function for call to ‘luabind::adl::object::object(lua_State*)’
/usr/include/luabind/object.hpp:713: note: candidates are: luabind::adl::object::object(const luabind::from_stack&)
/usr/include/luabind/object.hpp:709: note: luabind::adl::object::object(const luabind::handle&)
/usr/include/luabind/object.hpp:706: note: luabind::adl::object::object()
/usr/include/luabind/object.hpp:703: note: luabind::adl::object::object(const luabind::adl::object&)
interface_v3/lua_ihm.cpp:236: error: ‘class luabind::adl::object’ has no member named ‘set’
interface_v3/lua_ihm.cpp: In static member function ‘static bool CLuaIHM::pop(CLuaState&, ucstring&)’:
interface_v3/lua_ihm.cpp:258: error: no matching function for call to ‘luabind::adl::object::object(lua_State*)’
/usr/include/luabind/object.hpp:713: note: candidates are: luabind::adl::object::object(const luabind::from_stack&)
/usr/include/luabind/object.hpp:709: note: luabind::adl::object::object(const luabind::handle&)
/usr/include/luabind/object.hpp:706: note: luabind::adl::object::object()
/usr/include/luabind/object.hpp:703: note: luabind::adl::object::object(const luabind::adl::object&)
interface_v3/lua_ihm.cpp:259: error: ‘class luabind::adl::object’ has no member named ‘set’
interface_v3/lua_ihm.cpp: In static member function ‘static int CLuaIHM::getClientCfgVar(CLuaState&)’:
interface_v3/lua_ihm.cpp:1134: warning: comparison between signed and unsigned integer expressions
interface_v3/lua_ihm.cpp:1139: warning: comparison between signed and unsigned integer expressions
interface_v3/lua_ihm.cpp:1144: warning: comparison between signed and unsigned integer expressions
interface_v3/lua_ihm.cpp: In static member function ‘static int CLuaIHM::runExprAndPushResult(CLuaState&, const std::string&)’:
interface_v3/lua_ihm.cpp:2688: error: ‘class luabind::adl::object’ has no member named ‘pushvalue’
interface_v3/lua_ihm.cpp: In static member function ‘static void CLuaIHM::fails(CLuaState&, const std::string&, ...)’:
interface_v3/lua_ihm.cpp:3011: warning: second parameter of ‘va_start’ not last named argument
interface_v3/lua_ihm.cpp: In member function ‘bool CLuaIHM::popString(CLuaState&, std::string&)’:
interface_v3/lua_ihm.cpp:3329: error: no matching function for call to ‘luabind::adl::object::object(lua_State*)’
/usr/include/luabind/object.hpp:713: note: candidates are: luabind::adl::object::object(const luabind::from_stack&)
/usr/include/luabind/object.hpp:709: note: luabind::adl::object::object(const luabind::handle&)
/usr/include/luabind/object.hpp:706: note: luabind::adl::object::object()
/usr/include/luabind/object.hpp:703: note: luabind::adl::object::object(const luabind::adl::object&)
interface_v3/lua_ihm.cpp:3330: error: ‘class luabind::adl::object’ has no member named ‘set’
interface_v3/lua_ihm.cpp: In static member function ‘static bool CLuaIHM::popSINT32(CLuaState&, sint32&)’:
interface_v3/lua_ihm.cpp:3351: error: no matching function for call to ‘luabind::adl::object::object(lua_State*)’
/usr/include/luabind/object.hpp:713: note: candidates are: luabind::adl::object::object(const luabind::from_stack&)
/usr/include/luabind/object.hpp:709: note: luabind::adl::object::object(const luabind::handle&)
/usr/include/luabind/object.hpp:706: note: luabind::adl::object::object()
/usr/include/luabind/object.hpp:703: note: luabind::adl::object::object(const luabind::adl::object&)
interface_v3/lua_ihm.cpp:3352: error: ‘class luabind::adl::object’ has no member named ‘set’
make1: * [interface_v3/lua_ihm.o] Error 1
make1: Leaving directory `/home/wangkuo/work/ryzom/code/ryzom/client/src'
make: *
[all] Error 2
wangkuo@cgh-desktop:~/work/ryzom/code/ryzom/client$


Replies (4)

RE: Occur compile errors for linux client building on ubuntu8 - Added by kervala over 8 years ago

Did you use the 0.9 version of luabind ?

RE: Occur compile errors for linux client building on ubuntu8 - Added by kervala over 8 years ago

If you are using Hardy, you could install "libluabind-dev" even if it's the 0.7 version, it should work.

If not, try to compile yourself official luabind 0.9 (your ubuntu version is very old).

RE: Occur compile errors for linux client building on ubuntu8 - Added by kervala over 8 years ago

I think I understood the problem with luabind 0.7 :) I'm trying to fix that, thanks :)

(1-4/4)