luaL_register 在lua5.2中被移除了,如果使用lua5.3编译会报如下错误. $ g++ mytestlib.cc -o test.so -shared -fPIC -I /home/wuman/ ...
確定! 回上一頁