I have a pretty basic X11 application that I run on Linux that I am trying to compile under OSX 10.5.8. I have the X11 and X11 SDK installed, and the makefile is modified as follows:
CFLAGS = -L / usr / X11 / lib -I / usr / X11 / include
Everything compiles fine, but the linker cannot find the X11 lib.
ld: library not found for -lX11
I looked at google, but only the other people I found with this problem until they installed the X11 SDK or did not know about the -L flag.
Any ideas?
source share