错误,无法解析符号'矢量' [英] error , Symbol 'vector' could not be resolved

查看:151
本文介绍了错误,无法解析符号'矢量'的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用eclipse在linux中开发一个c + +应用程序,我得到这个编辑器注释错误符号'向量'无法解决从以下代码行

I am using eclipse in linux to develop a c++ application and I am getting this editor annotation error "Symbol 'vector' could not be resolved" from the following code lines

std::vector<unsigned char> buffer;

我觉得某些库缺失或路径未设置。我明确下载STL,但它的没有用。我必须在我的Linux上重新安装GCC吗?

I feel that some library is missing or the paths are not set. I explicitly downloaded STL but its of no use. Do I have to re install GCC on my linux ?

推荐答案

在Eclipse中,右键单击项目名称...索引...重建。

In Eclipse, right-click on the project name...Select Index...Rebuild.

这篇关于错误,无法解析符号'矢量'的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆