云风

Results 174 comments of 云风

My fault. fixed https://github.com/cloudwu/bgfxidl/commit/466f06a1b5d5fcaf8d72e009dc9df7578da17a67

multiple Lua VMs detected 是指你的 lua 多次链入了二进制模块,如果是 linux 应把 lua 静态链接到主程序,其它模块都不要链接 lua 的静态库;如果是 windows 应该把 lua 编译成 lua53.dll ,然后其它模块全部动态链接这个 dll 。 ps. 这个 makefile 仅供 windows/mingw 使用,别的系统请自己用 iup 官方构建流程。

scintilla 的 lua 入口在这里 https://github.com/cloudwu/iupmingw/blob/master/luascintilla.c ,有链入吗?

我把编译好的版本删了,那个是之前静态链接的,不能和新加入的 dll 兼容。现在全部动态链接了。

今天新加了个 release, 基于 R4592 。上传了刚才自己编译的版本。

scintilla 是 C++ 实现的,你的运行环境应该缺少 `libstdc++-6.dll` `libgcc_s_seh-1.dll` 。如果只是玩玩,可以不用 scintilla 这个控件。

mac 自己想办法编译

这是 bson 规范的要求:string 必须是合法的 utf8 串,不然你需要用 binary 类型。

此处 `gdata.gcommon.get_db_action_param_varchar(nndebug.tostring(t))` 的返回值不可以是 binary 数据,必须是符合 utf-8 规范的字符串。你这里没列出这串数据到底是什么。 你可以用 ` for p, c in utf8.codes(s) do print(p,c) end` 输出出来看看。 如果要处理 binary 数据,需要用 bson.binary(s) 转换。

你可以用 `utf8.len` 检查是否是合法的 utf-8 串。