Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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.

like image 470
user997112 Avatar asked Aug 27 '26 05:08

user997112


1 Answers

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
like image 198
iamsrijon Avatar answered Aug 29 '26 17:08

iamsrijon



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!