This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CCS/CC2640R2F: Cannot open source file "pthread.h" error

Part Number: CC2640R2F

Tool/software: Code Composer Studio

Hello,

I'm trying to get some examples to work for my CC2640R2F using the CCS Cloud IDE.

I got some examples to work like the Project Zero, but for some (like "ti drivers/empty") I'm encountering the following build error:

"../main_tirtos.c", line 40: fatal error #1965: cannot open source file "pthread.h"

or instead of complaining about pthread.h, it complains about unistd.h.

I've not modified any files of the projects but I'm bit confused why I get this error for some examples and not for others.

Cheers,