码迷,mamicode.com
首页 > 系统相关 > 详细

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

时间:2016-08-20 01:34:08      阅读:460      评论:0      收藏:0      [点我收藏+]

标签:

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 命令 建立硬连接)

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

标签:

原文地址:http://www.cnblogs.com/bindong/p/5789454.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!