开发者

Adding standard libraries to C++ eclipse project

A (very) newbie C++ question: Is there a way to automatically add the standard libraries to a C++ eclipse p开发者_如何学运维roject? I installed the CDT Main Features plugin.


You can manually add paths to STL headers in Paths and Symbols -> Includes tab in Project Properties. This would enough for Indexer to resolve STL symbols properly.


If you need a compiler, make sure you have a visual studio installed, or cygwin; If you install cygwin, be sure to install the gcc and g++ compiler options which are deselected by default.

Point eclipse to the installed files and you should be good to go.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜