Quantcast
Channel: Intel® Software - Intel® C++ Compiler
Viewing all articles
Browse latest Browse all 2797

Cannot compile simple Hello world on Ubuntu 13.04

$
0
0

Dear all,

I installed the latest Intel C++ compiler (13.1.1) on my machine running Ubuntu 13.04. Trying to compile the following simple program:

#include <iostream>

int main() {
std::cout << "Hello, world!"<< std::endl;
return 0;
}

I get this error:

/usr/include/c++/4.7/iostream(39): catastrophic error: cannot open source file "bits/c++config.h"
#include <bits/c++config.h>

The missing file is located here /usr/include/x86_64-linux-gnu/c++/4.7/bits/c++config.h Compiling with gcc works just fine.

Is this some kind of incompatibility between the OS and the compiler or just the OS fault?

All the best.


Viewing all articles
Browse latest Browse all 2797

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>