I am using Intel Compiler on Linux, with Eclipse and for the following code:
#include <iostream>
#include <cstdio>
using namespace std;
int main(){
cout << "test";
}
cout is not recognised.
If I go to project properties and then "C/C++ General" and then "Paths and Symbols" I have:
/opt/intel/composer_xe_2013.2.146/compiler/include
/usr/include/c++/4.7
/usr/include/c++/4.7/backward
/usr/local/include
/usr/lib/gcc/x86_64-linux-gnu/4.7/include
/usr/lib/gcc/x86_64-linux-gnu/4.7/include-fixed
/usr/include
/usr/include/x86_64-linux-gnu
could some one please help? thanks
EDIT command line used in Eclipse:
icpc -MMD -MP -MF"Main.d" -MT"Main.d" -c -o "Main.o" "../Main.cpp"
Exact error message:
catastrophic error: cannot open source file "bits/c++config.h"