tag:help.appveyor.com,2012-11-13:/discussions/problems/22385-problem-with-stdthreadAppVeyor: Discussion 2019-06-01T21:01:04Ztag:help.appveyor.com,2012-11-13:Comment/470938662019-03-20T13:15:24Z2019-03-20T13:15:24ZProblem with std::thread<div><p>Hi,<br>
I'm trying to setup appveyor for a C++ project<br>
My .appveyor.yml looks like that: <a href="https://github.com/Xwilarg/ProgramManager/blob/master/.appveyor.yml">https://github.com/Xwilarg/ProgramManager/blob/master/.appveyor.yml</a><br>
But appveyor is trying to build, it say the following error: 'thread' is not a member of 'std'<br>
<a href="https://ci.appveyor.com/project/Xwilarg/programmanager">https://ci.appveyor.com/project/Xwilarg/programmanager</a></p>
<p>I don't think the error is from my code because it's working locally and also on Travis CI: <a href="https://travis-ci.org/Xwilarg/ProgramManager">https://travis-ci.org/Xwilarg/ProgramManager</a></p>
<p>Does someone know how I could fix that ?</p>
<p>Thanks in advance,</p></div>xwilargtag:help.appveyor.com,2012-11-13:Comment/470938662019-03-20T18:03:47Z2019-03-20T18:03:47ZProblem with std::thread<div><p>By locally you mean on windows or linux?</p></div>Owen McDonnelltag:help.appveyor.com,2012-11-13:Comment/470938662019-03-20T20:48:06Z2019-03-20T20:48:06ZProblem with std::thread<div><p>By locally I mean Windows with MinGW 64 bit.</p></div>xwilargtag:help.appveyor.com,2012-11-13:Comment/470938662019-04-01T05:51:38Z2019-04-01T05:51:38ZProblem with std::thread<div><p>Sorry for late response.<br>
I'm not sure where you are with this problem and i don't have a vast knowledge of MinGW, but if I understand <a href="https://stackoverflow.com/questions/37358856/does-mingw-w64-support-stdthread-out-of-the-box-when-using-the-win32-threading">this post</a> correctly, the version of MingW you're using might not support threads?<br>
Do you use the same version locally?</p></div>Owen McDonnell