Closed rodyaj closed 8 years ago
I installed GNU make and run gmake, but compilation fails with:
CC util.c util.c:4:10: fatal error: 'xcb/xcb.h' file not found #include <xcb/xcb.h> ^ 1 error generated. Makefile:37: recipe for target 'util.o' failed gmake: *** [util.o] Error 1
So I tried to export INCLUDEDIR as /usr/local/include. Also ran gmake -I /usr/local/include. And tried PREFIX=/usr/local.
gmake -I /usr/local/include
I have xcb and libxcb packages installed. xcb.h exists in /usr/local/include/xcb
Edit config.mk And add -I/usr/local/include to CFLAGS And -L/usr/local/lib to LDFLAGS
Thanks. Fixed.
I installed GNU make and run gmake, but compilation fails with:
So I tried to export INCLUDEDIR as /usr/local/include. Also ran
gmake -I /usr/local/include
. And tried PREFIX=/usr/local.I have xcb and libxcb packages installed. xcb.h exists in /usr/local/include/xcb