5

A (very) newbie C++ question: Is there a way to automatically add the standard libraries to a C++ eclipse project? I installed the CDT Main Features plugin.

snappy
  • 2,761
  • 5
  • 23
  • 24

2 Answers2

2

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.

ks1322
  • 33,961
  • 14
  • 109
  • 164
0

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.

NuclearPeon
  • 5,743
  • 4
  • 44
  • 52
  • 1
    Might be worth mentioning MinGW as well for those who don't want a giant emulation layer. – Corbin Jul 16 '13 at 21:24