游戏开发论坛

 找回密码
 立即注册
搜索
查看: 1204|回复: 0

关于lua的编译问题

[复制链接]

1

主题

5

帖子

5

积分

新手上路

Rank: 1

积分
5
发表于 2004-12-1 10:34:00 | 显示全部楼层 |阅读模式
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多无法连接的外部命令?
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

作品发布|文章投稿|广告合作|关于本站|游戏开发论坛 ( 闽ICP备17032699号-3 )

GMT+8, 2025-12-23 11:53

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表