Compiling Luabind in MacOSX 10.5

David Huynh <[email protected]>
Newsgroups gmane.comp.lang.lua.bind.user
Message-ID <[email protected]>
Hi guys,
I've been trying to compile luabind on my macbook for a good week now, but
I'm kinda lost and I'm not sure what's wrong with my build.

I read a previous post of a similar problem, but in my case I am using
"darwin"
http://sourceforge.net/mailarchive/message.php?msg_name=da1bdc2a0902090449q5631e55bq854a470a89596a2%40mail.gmail.com

But when I try to compile luabind, I get the following error:

darwin.compile.c++ bin/darwin/debug/class.o
./luabind/class.hpp: In member function ‘luabind::class_<T, X1, X2, X3>&
luabind::class_<T, X1, X2, X3>::def(luabind::detail::operator_<Derived>,
const Policies&)’:
./luabind/class.hpp:1202: error: no matching function for call to
‘raw(boost::arg<1>&)’
./luabind/class.hpp: In member function ‘luabind::class_<T, X1, X2, X3>&
luabind::class_<T, X1, X2, X3>::def(luabind::detail::operator_<Derived>)’:
./luabind/class.hpp:1212: error: no matching function for call to
‘raw(boost::arg<1>&)’

    "g++"  -ftemplate-depth-128 -O0 -fno-inline -Wall -g -fPIC -dynamic
-Wno-long-double -no-cpp-precomp  -DLUABIND_DYNAMIC_LINK  -I"."
-I"/Users/davidotcom/Development/build/lua/include"
-I"/usr/local/include/boost-1_39" -c -o "bin/darwin/debug/class.o"
"src/class.cpp"

...failed darwin.compile.c++ bin/darwin/debug/class.o...


Should I be building against something else? Right now I'm building against
boost 1.39 and lua 5.1.4. I'm not sure what's going on.

Any thoughts?


Thanks,

David

------------------------------------------------------------------------------
OpenSolaris 2009.06 is a cutting edge operating system for enterprises 
looking to deploy the next generation of Solaris that includes the latest 
innovations from Sun and the OpenSource community. Download a copy and 
enjoy capabilities such as Networking, Storage and Virtualization. 
Go to: http://p.sf.net/sfu/opensolaris-get

_______________________________________________
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.