-
Notifications
You must be signed in to change notification settings - Fork 260
Trying to build on FreeBSD #436
Comments
It is probably needed to pass $ make CPPFLAGS=-I/usr/local/include LDFLAGS="-L/usr/local/lib -Wl,-R/usr/local/lib" ...will probably DTRT. |
LINK sxiv |
Maybe you can make a patch config.mk or something that supports FreeBSD as well |
Sorry, there was a copypasto: I missed Please retry! |
make CPPFLAGS=-I/usr/local/include LDFLAGS="-L/usr/local/lib
ld: error: undefined symbol: inotify_rm_watch
ld: error: undefined symbol: inotify_add_watch
Stop. |
Passing |
thanks, thats crazy all these flags I have to use. I still think a config.mk would be much easier. |
I would just use the package provided by your favourite package system (and/or look for possible adjustments there!). :) Without using |
I just find that structure easier to follow and modify like the other suckless programs. |
so what can I put in my Makefile edit so I can just type make? |
I have imlib2 installed (/usr/local/include/Imlib2.h)
CC autoreload_inotify.o
In file included from autoreload_inotify.c:19:
./sxiv.h:27:10: fatal error: 'Imlib2.h' file not found
#include <Imlib2.h>
^~~~~~~~~~
1 error generated.
*** Error code 1
Stop.
The text was updated successfully, but these errors were encountered: