解决“Xlib.h not found when building graphviz on Mac OS X 10.8”错误

After installing XQuartz you may add a symlink to your X11 installation folder by just entering

(安装XQuartz,并建立X11到系统库的硬连接)

1 sudo ln -s /opt/X11/include/X11 /usr/local/include/X11
2 sudo ln -s /opt/X11/include/X11 /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/usr/include/

 

(注释:ln 命令 建立硬连接)

posted @ 2016-08-20 00:04  魚魚  阅读(374)  评论(0编辑  收藏  举报