You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 28, 2022. It is now read-only.
想在C++调用lua的相关代码,lua里面调用了pbc的相关内容,使用了老板的test.lua作为测试:
extern "C"
{
#include "lua.h"
#include "lualib.h"
#include "lauxlib.h"
};
#include
#include
int main()
{
lua_State* __L = luaL_newstate();
}
g++ test_lua.cpp -I /export/game/MX-MMO/lua/include /export/game/MX-MMO/lua/lib/liblua64.a -ldl
[game@VM_109_84_centos script]$ ./a.out
1
error loading module 'protobuf.c' from file './protobuf.so':
需要怎么调用呢,谢谢老板!
The text was updated successfully, but these errors were encountered: