On 29 January 2015 at 10:21, Geoff Leyland
<geoff_leyland@fastmail.fm> wrote:
You could try wrapping an ‘extern “C” { … }’ around your #include “lua….h”s. That might help?
The Lua source package also contains a file "lua.hpp", whose sole content is this:
extern "C" {
#include "lua.h"
#include "lualib.h"
#include "lauxlib.h"
}
You can include "lua.hpp" in your source code, or just copy this content to your .cc file.