https://stackoverflow.com/questions/15779181/using-x11-in-osx-10-8-3-ld-library-not-found-for-lx11
lazarus 注意问题
this line in this makefile LIBDIR = -L/usr/X11/lib -L/usr/X11R6/lib
应该把usr/X11 搜索这个目录。 然后找到x11 x11r6 这两个目录然后将其添加到path 环境变量里面
前提是安装 XQuartz
相关文章在这个网址https://stackoverflow.com/questions/15779181/using-x11-in-osx-10-8-3-ld-library-not-
found-for-lx11
真实折磨啊
|
I have the following makefile:
Every time I try to run it, I get the following error:
Can someone please help me find out where the library for X11 is supposed to be in OSX 10.8.3? To me, this looks correct. Thanks in advance. |
|||
|
Have you installed XQuartz, as suggested here: http://support.apple.com/kb/HT5293 ? By default there is no X11 on Mountain Lion. |
|||
|
delphi lazarus opengl
网页操作自动化, 图像分析破解,游戏开发
LIBS = -framework OpenGLused to beXLIBS = -lX11 -lXext -lXmu -lXext -lXmu -lXt -lXi -lSM -lICE, but that gave me even more errors in OSX (though it worked just fine in Linux) and I read I should useframework OpenGLinstead. – UndefinedReference Apr 3 '13 at 4:59INCLS = -I/usr/X11R6/include -I/usr/X11/include/GL, just in case you were curious. Thank you. – UndefinedReference Apr 4 '13 at 3:43