While trying to compile any c++
program I am getting this error says.
C:\Users\Friends\Documents>g++ default.cpp
c:/mingw/bin/../lib/gcc/mingw32/5.3.0/../../../../mingw32/bin/ld.exe: cannot find -lpthread
collect2.exe: error: ld returned 1 exit status
I just installed latest version of all basic packages
from MinGW Installer
.
What should I do?