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.
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
Upon getting this error, Code::Blocks then proceeds to open ostream and marks line 40 which is:
#include <ios>
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.
I'm not sure what to try from here.
Here's the simple code.
#include <iostream>
using namespace std;
int main()
{
cout << "test";
return 0;
}