Intel c++ 编译器版本:Intel(R) C Intel(R) 64 Compiler XE for applications running on Intel(R) 64, Version 13.1.3.192 Build 20130607
在尝试编译c++ Hello World 程序时出现如下问题:
dell@dell-Inspiron-N5010:~$ icpc test.cpp
/usr/include/c++/4.7/iostream(39): catastrophic error: cannot open source file "bits/c++config.h"
#include <bits/c++config.h>
^
compilation aborted for test.cpp (code 4)
test.cpp 代码如下:
#include <iostream>
using namespace std;
int main()
{
cout << "Hello World!" << endl;
return 0;
}
使用g++, clang++编译均没有问题。请问如何解决?