From: Paul K <pau...@ya...> - 2013-09-11 21:52:56
|
Hi John, I'm trying to build wxlua against LuaJIT and get compilation errors. I know, I can build against "normal" Lua 5.1 and use it with LuaJIT (and that's exactly what I'm doing now), but I'd like to avoid that extra step if possible. These are the errors: ../wxLua/modules/wxlua/lbitlib.c:83: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘lua_Unsigned’ <<<more errors here>>>> ../wxLua/modules/wxlua/lbitlib.c:348: error: too many arguments to function ‘lua_pushunsigned’ make[2]: *** [modules/luamodule/CMakeFiles/wxLuaModule.dir/__/wxlua/lbitlib.c.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[1]: *** [modules/luamodule/CMakeFiles/wxLuaModule.dir/all] Error 2 make: *** [all] Error 2 Error: failed to build wxLua Is it something that can be addressed? It would also be great if wxlua would only load its own bitlib into "bit" table if it's not already loaded. Paul. |