I have this problem starting/debugging a project in ZeroBrane Studio. I have all source files.
Using a command in cmd.exe:
lib\lua52.exe OmapTest2.lua
starts the project, but I want to debug the project. When I execute the OmapTest2.lua in ZBS it gives me this .. error(?):
Program starting as '"C:\ZeroBraneStudio\bin\lua52.exe" -e "io.stdout:setvbuf('no')" "C:\ZeroBraneStudio\cfg\user.lua"'.
Program 'lua52.exe' started in 'C:\Radek\Tester' (pid: 9804).
C:\ZeroBraneStudio\bin\lua52.exe: C:\ZeroBraneStudio\bin\lua\iuplua.lua:6: attempt to index global 'iup' (a nil value)
stack traceback:
C:\ZeroBraneStudio\bin\lua\iuplua.lua:6: in main chunk
[C]: in function 'require'
C:\ZeroBraneStudio\cfg\user.lua:1: in main chunk
[C]: in ?
Program completed in 1.53 seconds (pid: 9804).
No idea what might be wrong. What I did is:
- downloading the IUP source files, but I don't know what to do with them,
- added a iuplua.lua file in C:\ZeroBraneStudio\packages\iuplua.lua from http://math2.org/luasearch-2/luadist-extract/iuplua-3.0rc2.dist/srclua5/iuplua.lua
What should I do? Thanks in advance.