Building Luabind

Diego Benavides <[email protected]>
Newsgroups gmane.comp.lang.lua.bind.user
Message-ID <[email protected]>
Hello,

I'm new to Luabind and am having some difficulties building the project. For reference I'm using Windows 7 64bit with MinGW and the Eclipse CDT IDE (Helios). I tried building Luabind with bjam but couldn't get it to work (and I'm not sure I understand the mechanics). I instead created a new project within Eclipse, added the source files, included the boost and Lua libraries, and I feel fairly close to getting it going. However I receive the following build errors:

..\src\class_registry.cpp: In constructor 'luabind::detail::class_registry::class_registry(lua_State*)':
..\src\class_registry.cpp:112:61: error: call of overloaded 'create_cpp_class_metatable(lua_State*&)' is ambiguous
C:\Development\luabind-0.9.1/luabind/open.hpp:34:19: note: candidates are: int luabind::detail::create_cpp_class_metatable(lua_State*)
..\src\class_registry.cpp:38:13: note:                 int luabind::detail::<unnamed>::create_cpp_class_metatable(lua_State*)
..\src\class_registry.cpp:113:61: error: call of overloaded 'create_lua_class_metatable(lua_State*&)' is ambiguous
C:\Development\luabind-0.9.1/luabind/open.hpp:36:19: note: candidates are: int luabind::detail::create_lua_class_metatable(lua_State*)
..\src\class_registry.cpp:74:13: note:                 int luabind::detail::<unnamed>::create_lua_class_metatable(lua_State*)

I have tried adding the namespace luabind::detail specifically to the two methods above, however if I do this I am then presented with a slew of "undefined reference" errors across the entire project. I'm not sure how to proceed. Would anyone have insight or suggestions? My boost version is 1.46.1, Lua 5.1 and Luabind is 0.9.1.

Regards,
Diego

------------------------------------------------------------------------------
Xperia(TM) PLAY
It's a major breakthrough. An authentic gaming
smartphone on the nation's most reliable network.
And it wants your games.
http://p.sf.net/sfu/verizon-sfdev

_______________________________________________
luabind-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/luabind-user
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.