Re: Building Luabind
Ryan Pavlik <[email protected]>
| Newsgroups | gmane.comp.lang.lua.bind.user |
|---|---|
| Message-ID | <[email protected]> |
You could try my fork that adds a CMake-based build system: I've used it successfully on windows, but haven't tried it with MinGW. https://github.com/rpavlik/luabind <https://github.com/rpavlik/luabind>Ryan On Tue, Apr 5, 2011 at 8:34 AM, Diego Benavides < [email protected]> wrote: > 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 > > -- Ryan Pavlik HCI Graduate Student Virtual Reality Applications Center Iowa State University [email protected] http://academic.cleardefinition.com Internal VRAC/HCI Site: http://tinyurl.com/rpavlik ------------------------------------------------------------------------------ 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