Building luabind for XCode 4 targeting iPhone

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Building luabind for XCode 4 targeting iPhone

Paul Brobst
Hello all,

I saw Benjohn's email about this in the archive from Oct/2011, but could not see a way to reply to it directly.

I'm curious if anyone has had success building luabind for iPhone in XCode 4, or has some insight towards these errors.

I have pulled down the latest luabind source from github as the thread suggests and tried building it with both GCC 4.2 and Apple LLVM 3.0.  Each produces the same errors.

GCC 4.2 errors:
====
/LuaBind/luabind/src/class.cpp
No previous prototype for 'void luabind::detail::add_custom_name(const luabind::type_id&, std::string&)'
/LuaBind/luabind/src/class.cpp: warning: Semantic Issue: No previous prototype for function 'add_custom_name'

LuaBind/luabind/src/class_registry.cpp
Call of overloaded 'create_cpp_class_metatable(lua_State*&)' is ambiguous
Call of overloaded 'create_lua_class_metatable(lua_State*&)' is ambiguous
LuaBind/luabind/src/class_registry.cpp: error: Semantic Issue: Call to 'create_cpp_class_metatable' is ambiguous

LuaBind/luabind/src/class_registry.cpp: error: Semantic Issue: Call to 'create_lua_class_metatable' is ambiguous
====

Apple LLVM 3.0 errors:
====
LuaBind/luabind/src/class.cpp
No previous prototype for function 'add_custom_name'
LuaBind/luabind/src/class_registry.cpp
Call to 'create_cpp_class_metatable' is ambiguous
Call to 'create_lua_class_metatable' is ambiguous
====

Thanks, 
Paul

------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
luabind-user mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/luabind-user