bad header in precompiled chunk
dcboy opened this issue · comments
why i can dec lua file? what does this means "bad header in precompiled chunk"
+1
After some digging, I saw in an old thread that this may have something to do with encoding (utf8 instead of ASCII?). Eventually, however, I gave up and used this library instead http://sourceforge.net/projects/unluac/?source=directory
you should match the lua version and the cpu architecture. for exapmle 32bit lua 5.1
how should I change use luadec or compile it as 32bit binary ?
You can find releases under https://github.com/sztupy/luadec51/releases
Otherwise you have to compile it the same way as you compile lua
I don't know which release should. I compiled lua file on windows and I used the windows precompiled luadec which crashed and when I compile luadec on Ubuntu with Linux artitecthure it return this error.
l can send the lua compile file if it helps
+1
+1 bad header in precompiled chunk
let me know if You need 10Kb test luac file.