Yes. I’ve written my lua codes like this:
local physics = require("physics");
physics.start();
...
About the software versions:
-
Windows 7 Ultimate, 32-bits, Intel Pentium 5 x86 Processor (saddly, it’s not a iMac)
-
Corona SDK (simulator.version(12.0.971.0))
-
JDK 7, ('Cause this, I can’t build apps for Android, to do this, you need to install JDK 6, I don’t know why!)
Now, knowin’ this, I code this way:
local fisica = require("physics")
fisica.start()
...
And now the trace has changed:
>lua -e “io.stdout:setvbuf ‘no’” “main.lua”
lua: main.lua:3: attempt to index local ‘fisica’ (a boolean value)
stack traceback:
main.lua:3: in main chunk
[C]: ?
>Exit code: 1
[import]uid: 180674 topic_id: 36231 reply_id: 144029[/import]