luaL_openlibs crashes?

Started by
3 comments, last by ChristianPena 17 years, 3 months ago
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.

		_lua = lua_open();
		luaL_openlibs(_lua);
Any ideas?
Advertisement
If you do have an answer, please reply since someone else might face the same issue. I've happily made the jump to Squirrel.
Quote:l = luaL_newstate();
luaL_openlibs(l);
// 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);
- Iliak -
[ ArcEngine: An open source .Net gaming framework ]
[ Dungeon Eye: An open source remake of Eye of the Beholder II ]
So much for following random examples straight off the web.

Thanks.

This topic is closed to new replies.

Advertisement