[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: problems lua_baselibopen
- From: "Jens Wessling" <wessling@...>
- Date: Tue, 10 Jul 2001 11:43:26 -0400
I think I found the problem. It was a with
the linker. I am using Lua in a C++ app, and the lualibs.h header does not
like to be linked in to C++ as it is. I changed:
#define LUALIB_API extern "C"
#define LUALIB_API extern
This allows it to automatically like properly from
C++ as well as from C.
----- Original Message -----
Sent: Monday, July 09, 2001 2:57 PM
Subject: Re: problems lua_baselibopen
> > Lua complains that there is an
error in the Main part of the chunk.
> What exactly is the
complain? Which version of Lua you are running?