lua-users home
lua-l archive

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


> > My best guess: you need
> >  extern "C" {
> >    ...
> >  }
> > around your #include of "lua.h", as your lua library has been compiled
> > as C, not C++.  (Or you could recompile it as C++, if you prefer.)

Or just use lua.hpp from etc.