[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Using Lua in a C(++) program
- From: Peter Shook <pshook@...>
- Date: Wed, 11 Jun 2003 17:55:43 -0400
Johannes Hager wrote:
Hi,
And there i have the next problem. Now runs lua. But if i try to do
lua_dostring(...) the compiler doesnt know ist. How can it be that open_lua()
and close lua() works but lua_dostring not? *frustation*
In Lua 5.0, lua_dostring has been moved to lauxlib.h.
Do this:
extern "C" {
#include "lua.h"
#include "lauxlib.h"
#include "lualib.h"
}
Relax man, haste makes waste. You are systematically getting stuck on
each one of the FAQs for this mailing list. Instead, you should check
out the wiki, and the web interface to the mailing list archive.
There's lots of good stuff there.
http://lua-users.org/
http://lua-users.org/wiki/LuaDirectory