开发者

Adding standard libraries to C++ eclipse project

开发者 https://www.devze.com 2023-03-23 22:28 出处:网络
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

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

精彩评论

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