Closed aerogus closed 1 year ago
Hi @aerogus,
thanks for the info. Is that the regular path that includes X11/Xlib.h on MacOS? Would pkg-config --cflags x11
output this path on the Mac?
I can't reproduce the bug today but I've done some brew upgrade
this week.
Now with a fresh repo clone the compile is ok ...
% make
cc -c -Wall -pedantic -std=c99 -D_DEFAULT_SOURCE -I/opt/X11/include `pkg-config --cflags Imlib2` -o icat.o icat.c
cc -o icat icat.o `pkg-config --libs Imlib2`
and the output of your command:
% pkg-config --cflags x11
-I/usr/local/Cellar/libx11/1.8.3/include -I/usr/local/Cellar/libxcb/1.15/include -I/usr/local/Cellar/libxau/1.0.11/include -I/usr/local/Cellar/libxdmcp/1.1.4/include -I/usr/local/Cellar/xorgproto/2022.2/include
Then I guess we can close this. Feel free to reopen again if needed.
I had an error at compilation time with MacOS Ventura, Apple Silicon, homebrew with Imlib2 dependency installed.
I modified the
Makefile
this way :Now the compilation is ok 👍
Hope it helps...