>I can do romlog compiling with "opt_lua_call_native" in compile options.
I see in the screenshot of compiler options that 4.5.1 is use.can you switch to 3.4.6, and compile again, if that work ?
also you can try to increase the buffer of readdir(the last romlog post show something fail in dir read.maybe such a call trash other global variable and it depend on compiler and code if some important is trash or not.
now increase the variable space.
static char de[40];
to
static char de[100];
look in file trunk/platform/generic/wrappers.c
the function now should look as this.
no explode possible, because you give the variable more space.nobody know if the ReadFastDir on newer camera need maybe more space.
void* readdir(void *d) {
# if !CAM_DRYOS
return _readdir(d);
#else
// for DRYOS cameras A650, A720 do something with this! - sizeof(de[]) must be >= sizeof(struct dirent): 'static char de[40];'
static char de[100];
_ReadFastDir(d, &de);
return de[0]? &de : (void*)0;
#endif
}