Eclipse CDT: Unresolved inclusion of stl header

后端 未结 4 1683
感动是毒
感动是毒 2020-12-01 05:37

I\'m trying to use Eclipse to edit sources, compiled under C++ Builder, but stuck with Unresolved inclusion problem.

For example, code like:

<         


        
4条回答
  •  陌清茗
    陌清茗 (楼主)
    2020-12-01 06:13

    You could also try use "CDT GCC Built-in Compiler Settings". Go to the project properties > C/C++ General > Preprocessor Include Path > Providers tab then check "CDT GCC Built-in Compiler Settings" if it is not.

    None of the other solutions (play with include path, etc) worked for me for the type 'string', but this one fixed it.

提交回复
热议问题