简体   繁体   中英

Eclipse CDT not recognizing <iostream>

Now I know this means I need to add my include path somewhere. So I have gone to properties, C/C++ General, Paths and Symbols, GNU C++ and then I have added /usr/include/c++/4.8 (to debug and release), but intellisense still cant detect and it the project doesn't build.

Is my include path the correct one for a standard default installation on Linux and did I enter it in the correct Eclipse setting?

This is on Linux Mint 16 and Eclipse Kepler.

Please make sure that build-essential is installed in your linux

sudo dpkg --get-selections | grep build-essential | wc -l

if you get 0 as output then install build-essential

sudo apt-get install build-essential

Then install gcc

sudo apt-get install gcc

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM