lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

> Make sure that you have the appropriate LUA source files added to the
> project.
> If its an MFC based app, be sure to turn off precompiled headers for the LUA
> cpp's.

If you've compiled Lua as C, include the Lua headers (note it's "Lua", not
"LUA")  inside extern "c" { ... }. The Lua code can be compiled either as 
C or C++.

-- | egrep, n.  a bird that debugs bison