Using X11 in OSX 10.8.3 : “ld: library not found for -lX11”

前端 未结 1 1185
不知归路
不知归路 2021-01-06 02:26

I have the following makefile:

PROG    = draw
CFLAGS  = -w -s -O2 -ansi -DSHM
XLIBS   = -lX11 -lXext -lXmu -lXext -lXmu -lXt -lXi -lSM -lICE
LIBS    = -frame         


        
相关标签:
1条回答
  • 2021-01-06 02:40

    Have you installed XQuartz, as suggested here: http://support.apple.com/kb/HT5293 ?

    By default there is no X11 on Mountain Lion.

    0 讨论(0)
提交回复
热议问题