lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


On 29 January 2013 07:50, steve donovan <steve.j.donovan@gmail.com> wrote:
> On Tue, Jan 29, 2013 at 2:41 PM, Jose Marin <jose_marin2@yahoo.com.br> wrote:
>> Is there any tool that allows us to insert breakpoints in Lua scripts?
>
> Paul K's ZeroBrane is pretty cool (and cross-platform)
>
> http://studio.zerobrane.com/

I just tried to use ZeroBraneStudio cloned from github and ran into
some problems (on 64-bit ubuntu 12.04)

I ran zbstudio.sh, which installed some packages before giving me the error:

lua: error loading module 'wx' from file 'bin/libwx.dylib':
bin/libwx.dylib: invalid ELF header
stack traceback:
[C]: ?
[C]: in function 'require'
src/main.lua:21: in main chunk
[C]: ?

Moving the .dylib files in the bin folder out of the way, I get a
different error:

lua: error loading module 'wx' from file '/usr/lib/lua/5.1/wx.so':
/usr/lib/lua/5.1/wx.so: wrong ELF class: ELFCLASS32
stack traceback:
[C]: ?
[C]: in function 'require'
src/main.lua:21: in main chunk
[C]: ?

did the installer install a 32-bit version of wxlua?

I even tried

henk@mehve:~/Development/ZeroBraneStudio(master)$ bin/lua src/main.lua zbstudio
bash: bin/lua: cannot execute binary file

Am I doing something wrong?

    henk