My main goal is to either make my lua file into executable or make it into a bite code. preferably both of them. I am trying srlua,but in readme file it tells me to do:
"For Windows, you need to create srlua.exe and glue.exe first. Then for each Lua program that you want to turn into a stand-alone program, do glue srlua.exe prog.lua prog.exe Of course, you can use any name instead of prog.exe."
and when I am trying to compile it using codebluck to get(srlua.exe),I get this :
and what dose it mean by this? glue srlua.exe prog.lua prog.exe where should I type that it. Thanks in advance.
void *dataas an argument?srlua.cfile. The particular error you highlighted in the image is caused by the fact that the compiler can't find thelua_Statestruct (again - because the headers that define it are nowhere to be found).