i've chekout'ed https://spring.clan-sy.com/svn/spring/trunk and inside trunk made scons configure and scons, as it should be made.
got that error:
Code: Select all
g++ -o build/rts/System/Script/LuaFunctions.o -c -fsingle-precision-constant -frounding-math -fsignaling-nans -mieee-fp -O2 -pipe -fno-strict-aliasing -fvisibility=hidden -mfpmath=387 -pthread -D_SZ_ONE_DIRECTORY -D_GNU_SOURCE=1 -D_REENTRANT -DSTREFLOP_X87 -DSYNCCHECK -DNO_AVI -DDIRECT_CONTROL_ALLOWED -Irts -Irts/System -Irts/lib/luabind -Irts/lib/lua/include -Irts/lib/streflop -I/usr/include -I/usr/include/GL -I/usr/include/freetype2 -I/usr/include/SDL -I/usr/include/ogg -I/usr/include/vorbis -I/usr/include/python2.5 -I/usr/include/python2.4 -I/usr/include/java rts/System/Script/LuaFunctions.cpp
rts/lib/luabind/luabind/class.hpp: In member function 'luabind::class_<T, X1, X2, X3>& luabind::class_<T, X1, X2, X3>::def(luabind::detail::operator_<Derived>, const Policies&)':
rts/lib/luabind/luabind/class.hpp:1027: error: no matching function for call to 'raw(boost::arg<1>&)'
rts/lib/luabind/luabind/class.hpp: In member function 'luabind::class_<T, X1, X2, X3>& luabind::class_<T, X1, X2, X3>::def(luabind::detail::operator_<Derived>)':
rts/lib/luabind/luabind/class.hpp:1037: error: no matching function for call to 'raw(boost::arg<1>&)'
scons: *** [build/rts/System/Script/LuaFunctions.o] Error 1
scons: building terminated because of errors.
also, i've tried the cmake method and got exactly same error(much more faster i need to say). notice to the variable ${BOOST_INCLUDE_DIR} seems empty, maybe the cmake module to handle boost is defective;
but the real problem is that raw function, later i will try to find 1.34 version and try again the compilation;
ps: cmake build still unable to produce a working spring binary?