现在有了lfs.c库的源代码,在appdelegate.cpp怎么写才能编译使用lfs库呢

在线求解答。
lua_register(L, “lfs”, &luaopen_lfs);
(Android.mk都改了)
我这样之后,编译runtime通过

但是在lua代码里面引用lfs的时候,仍然提示 lfs 没有找到

local lfs = require “lfs”

在线等答案,急。

luaopen_lfs(L);
我这么写了,貌似还是不行。
我只编译了android 的runtime,没有编译win32的runtime,是否需要编译win32的runtime才能在pc上调试不会报错呢