From: Paul K <pau...@ya...> - 2014-10-03 18:04:26
|
Hi Victor, >I have tried build-macosx.sh from ZeroBrane (luarocks dont have wxlua, > luaDist not woking for me, so I liked to see that) > first ./build-macosx.sh lua jit > then ./build-macosx.sh wxlua and getting the same error about not finding > _luaopen_bit32 > > forgot to say that in the middle ./build-macosx.sh wxwidgets Right, as I said, I don't build wxlua against luajit; so, in my case it's something like this: ./build-macosx.sh lua wxwidgets wxlua ./build-macosx.sh lua jit John, while we are on the subject of bit32, I think it needs to be cleaned in/from wxlua: first of all, you seem to have several implementations of bit module (bitlib in wxlstate.cpp and bit32 in lbitlib.c with different implementations); second, there is a problem with bit.bnot that does incorrect calculations using the latest LuaJIT (but the problem seems to be with wxlua implementation). See this commit for details: https://github.com/pkulchenko/ZeroBraneStudio/commit/64b14f4005e86a7cdb05dc9a53c64dc3c6c6180f Paul. |