查看: 3013|回复: 2

[就算是闲聊吧]运行osgWidget时显示的错误信息

[复制链接]

该用户从未签到

发表于 2008-8-14 09:37:37 | 显示全部楼层 |阅读模式
我运行osg自带的osgWidget例子和自己写的程序时都出现了这些提示:
  1. osgWidget: Can't initialize the LuaEngine; Lua not compiled in library.
  2. osgWidget: Error creating LuaEngine.
  3. osgWidget: Can't initialize the PythonEngine; Python not compiled in library.
  4. osgWidget: Error creating PythonEngine.
  5. osgWidget: Can't evaluate code in LuaEngine; Lua not compiled in library.
  6. osgWidget: Can't run file in LuaEngine; Lua not compiled in library.
  7. osgWidget: Can't evaluate code in PythonEngine; Python not compiled in library.
  8. osgWidget: Can't evaluate code in PythonEngine; Python not compiled in library.
复制代码
好像是没有安装lua,但我装完lua 5.0.3-3后,问题照旧。

还有,Win下用BitComet下载到一半的文件,不能在Linux下用Azureus继续下载。。。这句话纯属牢骚。

该用户从未签到

发表于 2008-8-14 10:26:06 | 显示全部楼层
是不是启用了OSGWIDGET_USELUA宏?这个宏控制是否要使用Lua的,不过我从没有尝试过。

至于牢骚的话题……BitComet和Azureus根本两回事吧……国人的作品似乎也一向不受国外服务器待见,譬如VeryCD版的Emule

该用户从未签到

 楼主| 发表于 2008-8-15 12:03:35 | 显示全部楼层
  1.             osgWidget::WindowManager::WM_USE_LUA |
  2.             osgWidget::WindowManager::WM_USE_PYTHON
复制代码
您说的没错;
不过,不管注释掉上面的哪句,程序都不能运行。

[ 本帖最后由 HelloWorld! 于 2008-8-15 12:09 编辑 ]
您需要登录后才可以回帖 登录 | 注册

本版积分规则

OSG中国官方论坛-有您OSG在中国才更好

网站简介:osgChina是国内首个三维相关技术开源社区,旨在为国内更多的技术开发人员提供最前沿的技术资讯,为更多的三维从业者提供一个学习、交流的技术平台。

联系我们

  • 工作时间:09:00--18:00
  • 反馈邮箱:1315785073@qq.com
快速回复 返回顶部 返回列表