title: c++: "unable to locate procedure entry point _ZNSt7__cxx1112basic_stringlcSt11char_traitslcESalcEEC1EPKcRKS3_ in the dynamic link library"
body: <pre><code>#include &lt;iostream&gt;
  #include &lt;string&gt;
  using namespace std;
  
  int main(){
      string barra=&quot;-----------------------------------------------------------------------&quot;;
      string texto=&quot;&quot;;
  
      system(&quot;cls&quot;);
      cout &lt;&lt; &quot;Digite algo para aparecer entre barras: &quot;;
      cin &gt;&gt; texto;
      cout &lt;&lt; &quot;\n&quot; &lt;&lt; barra &lt;&lt; &quot;\n&quot;;
      cout &lt;&lt; texto;
      cout &lt;&lt; barra &lt;&lt; &quot;\n&quot;;
      system(&quot;pause&quot;);
  
      return 0;
  }
  </code></pre>
  <p>I have already tried to compile with g++ and gpp. I have also tried re-installing the compiler. It always returns the same error message:
  &quot;<strong>unable to locate procedure entry point _ZNSt7__cxx1112basic_stringlcSt11char_traitslcESalcEEC1EPKcRKS3_ in the dynamic link library</strong>&quot;
  I'm new to c++ and I can't understand this error messages</p>