Eclipse MinGW C++ cannot find -lpthread
<p>I am currently trying to install Eclipse for making C++ programs.</p>

<p>I've run into an issue when compiling the premade default hello world program. </p>

<p>The console shows this error:</p>

<blockquote>
  <p>c:/mingw/bin/../lib/gcc/mingw32/5.3.0/../../../../mingw32/bin/ld.exe: cannot find -lpthread</p>
</blockquote>

<p>I am not using the library in my program at all.</p>

<p>Any ideas on how to fix this?</p>