在VC6.0上配置好GDI+后出现一堆错误,怎么办
d:\microsoftvisualstudio\vc98\include\memory(131):seereferencetoclasstemplateinstanti...
d:\microsoft visual studio\vc98\include\memory(131) : see reference to class template instantiation 'std::_Temp_iterator<_Ty>' being compiled
d:\microsoft visual studio\vc98\include\memory(78) : error C2143: syntax error : missing ';' before '*'
d:\microsoft visual studio\vc98\include\memory(131) : see reference to class template instantiation 'std::_Temp_iterator<_Ty>' being compiled
d:\microsoft visual studio\vc98\include\memory(78) : error C2501: '_Pty' : missing storage-class or type specifiers
d:\microsoft visual studio\vc98\include\vector(256) : error C2027: use of undefined type 'allocator<unsigned int>'
d:\microsoft visual studio\vc98\include\vector(256) : error C2146: syntax error : missing ';' before identifier 'size_type'
d:\microsoft visual studio\vc98\include\vector(256) : error C2868: 'size_type' : illegal syntax for using-declaration; expected q
d:\microsoft visual studio\vc98\include\memory(16) : error C2039: 'allocator' : is not a member of 'std'
d:\microsoft visual studio\vc98\include\memory(16) : error C2061: syntax error : identifier 'allocator'
怎么办呀,学的很浅显,一点都不懂,可是我也没有财富值了,求大神指点 展开
d:\microsoft visual studio\vc98\include\memory(78) : error C2143: syntax error : missing ';' before '*'
d:\microsoft visual studio\vc98\include\memory(131) : see reference to class template instantiation 'std::_Temp_iterator<_Ty>' being compiled
d:\microsoft visual studio\vc98\include\memory(78) : error C2501: '_Pty' : missing storage-class or type specifiers
d:\microsoft visual studio\vc98\include\vector(256) : error C2027: use of undefined type 'allocator<unsigned int>'
d:\microsoft visual studio\vc98\include\vector(256) : error C2146: syntax error : missing ';' before identifier 'size_type'
d:\microsoft visual studio\vc98\include\vector(256) : error C2868: 'size_type' : illegal syntax for using-declaration; expected q
d:\microsoft visual studio\vc98\include\memory(16) : error C2039: 'allocator' : is not a member of 'std'
d:\microsoft visual studio\vc98\include\memory(16) : error C2061: syntax error : identifier 'allocator'
怎么办呀,学的很浅显,一点都不懂,可是我也没有财富值了,求大神指点 展开
2个回答
展开全部
tools ->options->Directories include files中是否包含了
MICROSOFT VISUAL STUDIO\VC98\MFC\SRC路径?
MICROSOFT VISUAL STUDIO\VC98\MFC\SRC路径?
追问
包含了的,在小例子上可以,加到别的程序就不行。。。
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询