[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: c++ classes in lua
- From: Enno Rehling <enno@...>
- Date: Wed, 18 Jun 2003 01:22:14 +0200
Johannes Hager wrote:
i try to use lua. But if i do:
it brings a linker error. So if i do it with lua_open(L) all works, but if i
try to luabind::function(L, "sin", &std::sin) that comes:
In function `luabind::detail::function_commiter<void (*)(),
: undefined reference to
collect2: ld returned 1 exit status
Did you link with -lluabind at all? Maybe someone else has seen this before,
but I can't say much without the command line and compiler version.
<xterm> The problem with America is stupidity. I'm not saying there should
be a capital punishment for stupidity, but why don't we just take
the safety labels off of everything and let the problem solve itself?