Warning: file_get_contents(/data/phpspider/zhask/data//catemap/6/cplusplus/127.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/6/opengl/4.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
C++ 打开场景图Delta3d编译错误_C++_Opengl_Ubuntu 10.04_Openscenegraph - Fatal编程技术网

C++ 打开场景图Delta3d编译错误

C++ 打开场景图Delta3d编译错误,c++,opengl,ubuntu-10.04,openscenegraph,C++,Opengl,Ubuntu 10.04,Openscenegraph,我正在尝试构建delta3d库,但是我无法链接delta3d提供的符合要求的测试。以下是我得到的错误: libdtAnim.so:对“osg::Uniform::getNameID(std::basic_string,std::allocator>const&)”的未定义引用 collect2:ld返回了1个退出状态 这发生在链接CXX可执行文件../tests/alltests阶段 >我找到的唯一相关的帖子与C++编译器没有认识到新的标准有关。我已经在ubuntu 10.04上从GCC4.4

我正在尝试构建delta3d库,但是我无法链接delta3d提供的符合要求的测试。以下是我得到的错误:

libdtAnim.so:对“osg::Uniform::getNameID(std::basic_string,std::allocator>const&)”的未定义引用 collect2:ld返回了1个退出状态

这发生在链接CXX可执行文件../tests/alltests阶段


<> >我找到的唯一相关的帖子与C++编译器没有认识到新的标准有关。我已经在ubuntu 10.04上从GCC4.4和g++4.4更新到了4.6。关于如何修复错误的任何附加信息都将非常有用。我进入了开放场景图源代码,发现有一个osg::Uniform::getNameID(std::basic_string,std::allocator>const&);功能

看起来链接器找不到库。也许您缺少-losg或-losgTerrain或-losgEarth。您看过构建delta3d()所需的依赖项了吗?感谢您的建议,我已经仔细检查了一下,以确保我使用的是为当前delta3d developer版本打包的正确依赖项。我确保osg安装正确,可以访问所有osg测试。我将查看delta3d提供的make文件,看看是否缺少指向库的链接。