查看: 1763|回复: 1

osg2.8.0 xstring utility编译不通过

[复制链接]

该用户从未签到

发表于 2010-3-4 21:59:21 | 显示全部楼层 |阅读模式
osg2.8.0 xstring utility编译不通过,有27个错误Error
2
error C2146: syntax error : missing ';' before identifier 'iterator_category'
D:\Program Files\Microsoft Visual Studio\VC98\Include\utility
81

Error
4
error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
D:\Program Files\Microsoft Visual Studio\VC98\Include\utility
81

Error
6
error C2146: syntax error : missing ';' before identifier 'value_type'
D:\Program Files\Microsoft Visual Studio\VC98\Include\utility
82

Error
8
error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
D:\Program Files\Microsoft Visual Studio\VC98\Include\utility
82

Error
10
error C2146: syntax error : missing ';' before identifier 'distance_type'
D:\Program Files\Microsoft Visual Studio\VC98\Include\utility
83

Error
12
error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
D:\Program Files\Microsoft Visual Studio\VC98\Include\utility
83

Error
15
error C2923: 'std::iterator' : '_Tr:ff_type' is not a valid template type argument for parameter '_D'
D:\Program Files\Microsoft Visual Studio\VC98\Include\utility
226

Error
16
error C2955: 'std::iterator' : use of class template requires template argument list
D:\Program Files\Microsoft Visual Studio\VC98\Include\utility
226

Error
18
error C2146: syntax error : missing ';' before identifier 'int_type'
D:\Program Files\Microsoft Visual Studio\VC98\Include\utility
231

Error
20
error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
D:\Program Files\Microsoft Visual Studio\VC98\Include\utility
231

Error
23
error C2146: syntax error : missing ';' before identifier 'size_type'
D:\Program Files\Microsoft Visual Studio\VC98\Include\xstring
25

Error
25
error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
D:\Program Files\Microsoft Visual Studio\VC98\Include\xstring
25

Error
27
error C2146: syntax error : missing ';' before identifier 'difference_type'
D:\Program Files\Microsoft Visual Studio\VC98\Include\xstring
26

Error
29
error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
D:\Program Files\Microsoft Visual Studio\VC98\Include\xstring
26

Error
31
error C2146: syntax error : missing ';' before identifier 'pointer'
D:\Program Files\Microsoft Visual Studio\VC98\Include\xstring
27

Error
33
error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
D:\Program Files\Microsoft Visual Studio\VC98\Include\xstring
27

Error
35
error C2146: syntax error : missing ';' before identifier 'const_pointer'
D:\Program Files\Microsoft Visual Studio\VC98\Include\xstring
28

Error
37
error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
D:\Program Files\Microsoft Visual Studio\VC98\Include\xstring
28

Error
39
error C2146: syntax error : missing ';' before identifier 'reference'
D:\Program Files\Microsoft Visual Studio\VC98\Include\xstring
29

Error
41
error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
D:\Program Files\Microsoft Visual Studio\VC98\Include\xstring
29

Error
43
error C2146: syntax error : missing ';' before identifier 'const_reference'
D:\Program Files\Microsoft Visual Studio\VC98\Include\xstring
30

Error
45
error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
D:\Program Files\Microsoft Visual Studio\VC98\Include\xstring
30

Error
47
error C2146: syntax error : missing ';' before identifier 'value_type'
D:\Program Files\Microsoft Visual Studio\VC98\Include\xstring
31

Error
49
error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
D:\Program Files\Microsoft Visual Studio\VC98\Include\xstring
31

Error
51
error C2144: syntax error : 'std::iterator' should be preceded by ';'
D:\Program Files\Microsoft Visual Studio\VC98\Include\xstring
32

Error
53
error C2208: 'std::iterator' : no members defined using this type
D:\Program Files\Microsoft Visual Studio\VC98\Include\xstring
32

Error
54
fatal error C1903: unable to recover from previous error(s); stopping compilation
D:\Program Files\Microsoft Visual Studio\VC98\Include\xstring
32

该用户从未签到

发表于 2010-3-4 22:55:54 | 显示全部楼层
您给出的信息根本无法用于判断您的错误,xstring和utlity都是Windows自己的头文件,请给出和OSG源代码相关的信息。OSG 2.8.0的编译本身没有什么问题,因此您也许还需要阐明您的工作步骤是怎样的
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

联系我们

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