Luabind: Building static lib in xCode

View: New views
2 Messages — Rating Filter:   Alert me  

Luabind: Building static lib in xCode

by mokaschitta :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi, I am currently trying to build a static library of luabind in xCode (via the standart BSD template that comes with xcode). I think i linked all necessary files the right way but I still get 16 errors all of the same kind like this:

luabind/luabind/class.hpp:1202: error: no matching function for call to 'raw(boost::arg<1>&)'
luabind/luabind/class.hpp:1212: error: no matching function for call to 'raw(boost::arg<1>&)'

They appear in the class.cpp, class_info.cpp, class_registry.cpp, class_rep.cpp, create_class.cpp, find_best_match.cpp, implicit_cast.cpp, open.cpp and stack_content_by_name.cpp.

I use Lua 5.1.4, boost_1_39_0, and luabind-0.8.1. I linked the files via header search paths in my project settings and no errors related to linking appear. Anyways, I don't really know what the problem is, any ideas?

thank you!

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
luabind-user mailing list
luabind-user@...
https://lists.sourceforge.net/lists/listinfo/luabind-user

Re: Luabind: Building static lib in xCode

by mokaschitta :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Okay, I just switched from GCC 4.0 to GCC 4.2 and it works now. Anyways I would like to compile it for GCC 4.0, any ideas about how that is possible?

Thanks!

Am 02.08.2009 um 13:25 schrieb Matthias Dörfelt:

Hi, I am currently trying to build a static library of luabind in xCode (via the standart BSD template that comes with xcode). I think i linked all necessary files the right way but I still get 16 errors all of the same kind like this:

luabind/luabind/class.hpp:1202: error: no matching function for call to 'raw(boost::arg<1>&)'
luabind/luabind/class.hpp:1212: error: no matching function for call to 'raw(boost::arg<1>&)'

They appear in the class.cpp, class_info.cpp, class_registry.cpp, class_rep.cpp, create_class.cpp, find_best_match.cpp, implicit_cast.cpp, open.cpp and stack_content_by_name.cpp.

I use Lua 5.1.4, boost_1_39_0, and luabind-0.8.1. I linked the files via header search paths in my project settings and no errors related to linking appear. Anyways, I don't really know what the problem is, any ideas?

thank you!
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july_______________________________________________
luabind-user mailing list
luabind-user@...
https://lists.sourceforge.net/lists/listinfo/luabind-user


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
luabind-user mailing list
luabind-user@...
https://lists.sourceforge.net/lists/listinfo/luabind-user