This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

uVision 4: unistd Library

Hi everyone,

I'm trying to use unistd library in my project, but when compiling it I get the following error:

POSIX\pthread.c(27): error:  #5: cannot open source input file "unistd.h": No such file or directory

I'm working with a STM32F103ZE (Cortex-M3) on uVision 4.72.1.0 on Windows 7. I was using microlib but, from my googling results, I found out that some libraries might be missing. Hence, I unmarked this option of my project's configuration.

Thanks for the help!!