|
|
lua我编译lib都通过了,怎么编译exe时好多接口都连接不上lib,都是无法解析的标记?我把编译好的lib包含了,也包含了头文件,到底怎么回事呢?
在lua_exe.cpp中的
static const luaL_reg lualibs[] = {
{"base", luaopen_base},
{"table", luaopen_table},
{"io", luaopen_io},
{"string", luaopen_string},
{"math", luaopen_math},
{"debug", luaopen_debug},
{"loadlib", luaopen_loadlib},
/* add your libraries here */
LUA_EXTRALIBS
{NULL, NULL}
};
编译的结果是7个无法解析的标记,如果把它们注释掉会有N多无法连接的外部命令? |
|