perhaps luaL_requiref is the answer? >I recompiled lua52 with LUA_COMPAT_ALL and managed to compile wx.lua > The problem I have is that I use other lua modules also: Lanes, Luasocket > ... > Lanes cant be used with LUA_COMPAT_ALL (only pure 5.1 or 5.2) so I wont be > able > to use 5.2 in my project. > Looking into the future I thing that wxlua should get rid of > LUA_COMPAT_ALL > to be compatible > with other modules. > > Best > victor
------------------------------------------------------------------------------ Own the Future-Intel® Level Up Game Demo Contest 2013 Rise to greatness in Intel's independent game demo contest. Compete for recognition, cash, and the chance to get your game on Steam. $5K grand prize plus 10 genre and skill prizes. Submit your demo by 6/6/13. http://p.sf.net/sfu/intel_levelupd2d _______________________________________________ wxlua-users mailing list wxlua-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wxlua-users