title: sstream: No such file or directory
body: <p>What I have done so far:</p>
  
  <p>Platform: Windows 7 (64 bit)</p>
  
  <p>Installed GCC following <a href="http://www1.cmc.edu/pages/faculty/alee/g++/g++.html" rel="nofollow">this method</a></p>
  
  <p>Downloaded Armadillo (armadillo-6.400.3.tar.gz) from <a href="http://arma.sourceforge.net/download.html" rel="nofollow">link</a></p>
  
  <p>Extracted Armadillo and put the source codes in the include folder.</p>
  
  <p>creating <code>main.cpp</code> :</p>
  
  <pre><code>#include &lt;armadillo&gt;
  
  int main()
  {
      return 0;
  }
  </code></pre>
  
  <p>compiling in windows <code>cmd</code> terminal:</p>
  
  <pre><code>g++ main.cpp -std=c++11
  </code></pre>
  
  <p>The compiler error result:</p>
  
  <pre><code>D:\c++\test&gt;g++ main.cpp -std=c++11
  g++: unrecognized option `-std=c++11'
  In file included from main.cpp:2:
  C:\cygnus\cygwin-b20\H-i586-cygwin32\bin\..\lib\gcc-lib\i586-cygwin32\egcs-2.91.
  57\..\..\..\..\..\include\g++\armadillo:24: sstream: No such file or directory
  In file included from main.cpp:2:
  C:\cygnus\cygwin-b20\H-i586-cygwin32\bin\..\lib\gcc-lib\i586-cygwin32\egcs-2.91.
  57\..\..\..\..\..\include\g++\armadillo:27: limits: No such file or directory
  In file included from C:\cygnus\cygwin-b20\H-i586-cygwin32\bin\..\lib\gcc-lib\i5
  86-cygwin32\egcs-2.91.57\..\..\..\..\..\include\g++\armadillo:50,
                   from main.cpp:2:
  C:\cygnus\cygwin-b20\H-i586-cygwin32\bin\..\lib\gcc-lib\i586-cygwin32\egcs-2.91.
  57\..\..\..\..\..\include\g++\armadillo_bits/compiler_setup.hpp:173: #error "***
   Need a newer compiler ***"
  </code></pre>
  
  <hr>
  
  <p><strong>Update</strong></p>
  
  <pre><code>D:\c++\test&gt;g++ --version
  egcs-2.91.57
  </code></pre>