wmutils / core

Set of window manipulation tools
Other
714 stars 33 forks source link

How to compile on FreeBSD #30

Closed rodyaj closed 8 years ago

rodyaj commented 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.

I have xcb and libxcb packages installed. xcb.h exists in /usr/local/include/xcb

dcat commented 8 years ago

Edit config.mk And add -I/usr/local/include to CFLAGS And -L/usr/local/lib to LDFLAGS

rodyaj commented 8 years ago

Thanks. Fixed.