Closed dqzg12300 closed 4 years ago
package.cpath = "../luaclib/?.so;" local pb=require("luapbintf") 报下面的错误。是不是我还少包含了什么? terminate called after throwing an instance of 'std::system_error' what(): Unknown error -1 Aborted (core dumped)
没碰到过。需要找到哪里抛异常。
可能需要编译时加上 -lpthread http://bbs.chinaunix.net/forum.php?mod=viewthread&tid=4252692&orderby=dateline&orderby=dateline
Modify premake/premake5.lua:
filter { "system:linux" } - links { "protobuf" } + links { "protobuf", "pthread" }
可以了。就是这个问题。谢谢。
package.cpath = "../luaclib/?.so;" local pb=require("luapbintf") 报下面的错误。是不是我还少包含了什么? terminate called after throwing an instance of 'std::system_error' what(): Unknown error -1 Aborted (core dumped)