title: Fatal error: ios: no such file or directory
body: <p>So I've got this problem with Code::Blocks 12.11 where I try and compile a simple program and get a seemingly common error.</p>
  
  <p><strong>c:\program files (x86)\codeblocks\mingw\bin../lib/gcc/mingw32/4.7.1/include/c++/ostream:40:15: fatal error: ios: No such file or directory</strong></p>
  
  <p>Upon getting this error, Code::Blocks then proceeds to open ostream and marks line 40 which is:</p>
  
  <pre><code>#include &lt;ios&gt;
  </code></pre>
  
  <p>The file I created is appropriately named with a .cpp extension, which is what I thought the problem was in the first place, but one computer in particular among many is having this issue.  I've tried repairing, uninstall and installing, and auto-detecting the compilers installation directory (C:\Program Files (x86)\CodeBlocks\MinGW).  I've tried running as an admin as well as making sure the install was done as an admin.</p>
  
  <p>I'm not sure what to try from here.</p>
  
  <p>Here's the simple code.</p>
  
  <pre><code>#include &lt;iostream&gt;
  
  using namespace std;
  
  int main()
  {
      cout &lt;&lt; "test";
  
      return 0;
  }
  </code></pre>