Compiling errors

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Compiling errors

Jay Miesionczek
Hello,

when trying to compile luabind using the make, i get this error:


cd src; make all
make[1]: Entering directory `/home/jay/luabind/src'
g++ -g -ftemplate-depth-100 -Wall -DLUABIND_BUILDING -c
wrapper_base.cpp -o wrapper_base.o -I/include -I- -I..
-I/usr/local/include/boost-1_33_1/
cc1plus: note: obsolete option -I- used, please use -iquote instead
../luabind/detail/ref.hpp: In constructor
'luabind::detail::lua_reference::lua_reference(lua_State*)':
../luabind/detail/ref.hpp:50: error: 'LUA_NOREF' was not declared in this scope
../luabind/detail/ref.hpp: In copy constructor
'luabind::detail::lua_reference::lua_reference(const
luabind::detail::lua_reference&)':
../luabind/detail/ref.hpp:54: error: 'LUA_NOREF' was not declared in this scope
../luabind/detail/ref.hpp: In member function 'bool
luabind::detail::lua_reference::is_valid() const':
../luabind/detail/ref.hpp:74: error: 'LUA_NOREF' was not declared in this scope
../luabind/detail/ref.hpp: In member function 'void
luabind::detail::lua_reference::get(lua_State*) const':
../luabind/detail/ref.hpp:94: error: 'LUA_NOREF' was not declared in this scope
../luabind/detail/ref.hpp: In member function 'void
luabind::detail::lua_reference::reset()':
../luabind/detail/ref.hpp:101: error: 'LUA_NOREF' was not declared in this scope
../luabind/detail/ref.hpp:102: error: 'LUA_NOREF' was not declared in this scope
../luabind/handle.hpp: In constructor 'luabind::handle::handle()':
../luabind/handle.hpp:58: error: 'LUA_NOREF' was not declared in this scope
../luabind/handle.hpp: In copy constructor
'luabind::handle::handle(const luabind::handle&)':
../luabind/handle.hpp:63: error: 'LUA_NOREF' was not declared in this scope
../luabind/handle.hpp: In constructor
'luabind::handle::handle(lua_State*, int)':
../luabind/handle.hpp:72: error: 'LUA_NOREF' was not declared in this scope
../luabind/handle.hpp: In destructor 'luabind::handle::~handle()':
../luabind/handle.hpp:80: error: 'LUA_NOREF' was not declared in this scope
make[1]: *** [wrapper_base.o] Error 1
make[1]: Leaving directory `/home/jay/luabind/src'
make: *** [all] Error 2



any idea what this could be caused by? and how to fix it? thanks.


-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
<a href="http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642">http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642
_______________________________________________
luabind-user mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/luabind-user
Reply | Threaded
Open this post in threaded view
|

RE: Compiling errors

mos-4

 

Hi!
        I suggest you choosing lua5.02 not lua5.1 now .

mos.




-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
luabind-user mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/luabind-user