I get an error while trying to load bytecode. Script is simple:
print("lubie placki")
When executing this and every other script as bytecode:
char* lua_argv[] = { (char *)"lua", (char *)"/rom/lua3.luac", NULL };
lua_main( 2, lua_argv );
I get message: "bad constant in precompiled chunk while executing"
This error came from function
static void LoadConstants(LoadState* S, Proto* f)
What can I do with it ? What does exactly mean ? Would be nice if will be a description in wiki about this kind of errors, what they mean.
Thanks in advance for replies !