error , Symbol 'vector' could not be resolved

后端 未结 12 916
心在旅途
心在旅途 2021-01-04 00:34

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

12条回答
  •  温柔的废话
    2021-01-04 01:06

    See Also related question: Eclipse CDT: Symbol 'cout' could not be resolved

    for me the problem was that in #include somewhere there is #include which has a different include path than #include

    i.e.: /usr/include/c++/4.6/x86_64-linux-gnu

提交回复
热议问题