Pelles C forum

C language => Beginner questions => Topic started by: PeterLee on June 21, 2014, 12:56:38 PM

Title: As a new Fresh, I want to use the threads (C11),but I meet the error?
Post by: PeterLee on June 21, 2014, 12:56:38 PM
When I copy a code with threads, I find a error.

I am a fresh to Pelles C ,so we need help.

If you know it pleas help ,thanks.


the error:

#error must use option /MT or /MD with <threads.h>

(http://ww4.sinaimg.cn/large/6695f239tw1ehlxln69hjj21400p042r.jpg)
Title: Re: As a new Fresh, I want to use the threads (C11),but I meet the error?
Post by: neo313 on June 21, 2014, 04:02:12 PM
(http://i.imgur.com/bTNNxXY.jpg)
Title: Re: As a new Fresh, I want to use the threads (C11),but I meet the error?
Post by: PeterLee on June 25, 2014, 07:20:19 AM
Thanks !