代码改变世界

rt-thread:cannot open source input file "sys/types.h":解决方法

2013-08-02 13:50  居安  阅读(2035)  评论(0编辑  收藏  举报

..\..\components\pthreads\posix_types.h(9): error:  #5: cannot open source input file "sys/types.h": No such file or directory
解决办法:找到rtconfig.h,在其中找到宏定义RT_USING_NEWLIB,把它注释掉,重新编译,搞定。