查看: 4025|回复: 2

在 Debian4.0 上安装 Delta3D 2.0 出现的问题,急急急!

[复制链接]

该用户从未签到

发表于 2008-5-24 15:51:44 | 显示全部楼层 |阅读模式
请教一个问题,版主。
我想安装Delta3D,在Debian系统上,安装过程中出了一些问题。
我下了Delta3D 2.0.0版本,安装之前有一些依赖软件包,因为2.0版相关的依赖软件包没有查到,就找到一个“Installing Delta3D 1.3.0 on Ubuntu 6.06”网页,我按着提示一步一步作。
其中InterSense和qt-x11-opensource-src-4.0.1.tar.gz 下不下来,到网上去找了,但是下着下着就中断了。    replicantbody-2006-08-11安装的时候出现了错误。错误提示如下:
  1. g++ -DPACKAGE_NAME="ReplicantBody" -DPACKAGE_TARNAME="replicantbody" -DPACKAGE_VERSION="0.2" "-DPACKAGE_STRING="ReplicantBody 0.2"" -DPACKAGE_BUGREPORT="" -DPACKAGE="replicantbody" -DVERSION="0.2" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -I. -I. -I ../../../include -I/usr/local/include -O2 -Wall -W -MT OsgBody.lo -MD -MP -MF .deps/OsgBody.Tpo -c OsgBody.cpp  -fPIC -DPIC -o .libs/OsgBody.o
  2. ../../../include/rcfg/ConfigScriptOO.h: In copy constructor 'rcfg::ConfigScript::Scope::Scope(const rcfg::ConfigScript::Scope&)':
  3. ../../../include/rcfg/ConfigScriptOO.h:351: warning: base class 'class std::deque<std::pair<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, StructMapItem*>, std::allocator<std::pair<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, StructMapItem*> > >' should be explicitly initialized in the copy constructor
  4. ../../../include/rbody/osg/SubMeshDrawable.h: In member function 'virtual osg::Object* rbody::SubMeshDrawable::cloneType() const':
  5. ../../../include/rbody/osg/SubMeshDrawable.h:34: error: cannot allocate an object of abstract type 'rbody::SubMeshDrawable'
  6. ../../../include/rbody/osg/SubMeshDrawable.h:19: note:   because the following virtual functions are pure within 'rbody::SubMeshDrawable':
  7. /usr/local/include/osg/Drawable:425: note:      virtual void osg:rawable::drawImplementation(osg::RenderInfo&) const
  8. ../../../include/rbody/osg/SubMeshDrawable.h: In member function 'virtual osg::Object* rbody::SubMeshDrawable::clone(const osg::CopyOp&) const':
  9. ../../../include/rbody/osg/SubMeshDrawable.h:34: error: cannot allocate an object of abstract type 'rbody::SubMeshDrawable'
  10. ../../../include/rbody/osg/SubMeshDrawable.h:19: note:   since type 'rbody::SubMeshDrawable' has pure virtual functions
  11. OsgBody.cpp: In member function 'void rbody::OsgBodyNode::initDrawables()':
  12. OsgBody.cpp:141: error: cannot allocate an object of abstract type 'rbody::SubMeshDrawable'
  13. ../../../include/rbody/osg/SubMeshDrawable.h:19: note:   since type 'rbody::SubMeshDrawable' has pure virtual functions
  14. make[3]: *** [OsgBody.lo] Error 1
  15. make[3]: Leaving directory `/home/wangyao/software/delta3d/replicantbody-2006-08-11/src/rbody/osg'
  16. make[2]: *** [all-recursive] Error 1
  17. make[2]: Leaving directory `/home/wangyao/software/delta3d/replicantbody-2006-08-11/src/rbody'
  18. make[1]: *** [all-recursive] Error 1
  19. make[1]: Leaving directory `/home/wangyao/software/delta3d/replicantbody-2006-08-11/src'
  20. make: *** [all-recursive] Error 1
复制代码
还有我安装OSG版本是2.3.6的,不知道Delta3D兼容这个版本的OSG吗?

昨天安装了一天,今天又弄了一上午,都没弄好,急死了!

请高手指点阿!

该用户从未签到

发表于 2008-5-25 00:14:38 | 显示全部楼层


使用OSG2.2吧~~~~~~~~不然,可能兼容会有问题的~~~~~~~~


该用户从未签到

 楼主| 发表于 2008-5-25 20:22:13 | 显示全部楼层

回复 2楼 的帖子

我后来按照“delta3d 2.0 安装说明”这个帖子又安装了一次,除了replicantbody-2006-08-11出现了以上问题,其他都还好。但是安装DELTA3D的时候,又出现了一下错误:
  1. scons: Reading SConscript files ...
  2. AttributeError: 'module' object has no attribute 'CScan':
  3.   File "/home/wangyao/software/delta3d/delta3d_REL-2.0.0/SConstruct", line 9:
  4.     import delta3d
  5.   File "/home/wangyao/software/delta3d/delta3d_REL-2.0.0/delta3d.py", line 10:
  6.     import gch
  7.   File "/home/wangyao/software/delta3d/delta3d_REL-2.0.0/gch.py", line 36:
  8.     scanner = SCons.Scanner.C.CScan()
复制代码
不知道该怎么办了阿!
麻烦指点一下阿!感激不尽!
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

联系我们

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