_lua = lua_open();
luaL_openlibs(_lua);
Any ideas?
luaL_openlibs crashes?
Hi,
I am using Lua 5.1.1. The following call to luaL_openlibs crashes the entire program with no exceptions thrown or messages displayed.
If you do have an answer, please reply since someone else might face the same issue. I've happily made the jump to Squirrel.
// Lua & LuaBindextern "C"{ #include <lua/lua.h> #include <lua/lualib.h> #include <lua/lauxlib.h>}#include <luabind/luabind.hpp>using namespace luabind;Lua = luaL_newstate();open(Lua);luaL_openlibs(Lua);
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement