To compile my game on MacOS, I use the following command:
fpc -Mobjfpc -ve -k-framework -kSDL -k-framework -kSDL_image -k-framework -kCocoa fprl.pp
Everything goes fine, until the linker tries to link X11 libs:
Linking fprl
ld: library not found for -lX11
What do I have to do (or install, or change) in order to make this work?
Bookmarks