Friday, 6 September 2013

Generating a single lua bytecode file from multiple lua files for Corona

Generating a single lua bytecode file from multiple lua files for Corona

I am developing a lua library for Corona which contains code spread across
files. I am using luac to generate a single bytecode file which I can
share with other developers so that they can use my library easily and
without looking at code. Problem is that I am getting "bad header in
precompiled chunk" error. From searching around, I find that its because I
need to compile for ARM.
What would be right approach for me here?

No comments:

Post a Comment