Displaying 1 result from an estimated 1 matches for "_imp__pthread_mutex_destroy".
Did you mean:
__imp_pthread_mutex_destroy
2010 Oct 15
1
Missing libpthread in RTools
It appears that Mingw gcc included in RTools is missing a dependent
library. If I compile a program with '-lgomp' switch (for OpenMP
support), I get a errors about undefined references to functions like
'_imp__pthread_mutex_destroy'. Adding the '-static' switch, I get the
following error:
c:/rtools/mingw/bin/../lib/gcc/mingw32/4.5.0/../../../../mingw32/bin/ld.exe:
cannot find -lpthread
Sure enough, there is neither libpthread.a nor libpthread.dll under
RTools' installation directory. I think these lib...