2012-08-11 48 views
2

編譯fsevent時要安裝的RB-fsevent寶石時,得到這個未發現:stdio.h中在OS X

fsevent/fsevent_watch.c:1:10: fatal error: 'stdio.h' file not found 
#include <stdio.h> 
     ^

回答

3

運行以下命令:

sudo xcode-select -switch /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/ 

然後編譯會工作。

+1

這裏發生了什麼?有一些問題也在運行(無效的開發人員目錄) – streetlight 2016-03-14 17:21:13