slock icon indicating copy to clipboard operation
slock copied to clipboard

imgur.h: No such file or directory

Open perskes opened this issue 8 years ago • 2 comments

Feeling kinda dumb for opening this issue, but I can't find anything on google! I get this error after trying to install it.

➜ slock git:(master) sudo make clean install cleaning slock build options: CFLAGS = -std=c99 -pedantic -Wall -Os -I. -I/usr/include -I/usr/X11R6/include -DVERSION="2.0" -DHAVE_SHADOW_H -DCOLOR1="black" -DCOLOR2="#005577" LDFLAGS = -s -L/usr/lib -lc -lcrypt -L/usr/X11R6/lib -lX11 -lXext CC = cc CC slock.c slock.c:40:19: fatal error: imgur.h: No such file or directory compilation terminated. Makefile:18: recipe for target 'slock.o' failed make: *** [slock.o] Error 1 ➜ slock git:(master)

Line 40 in slock.c calls imgur.h

include "imgur.h"

Same would also happen with trello.h, since I'm not sure if I have this :P

perskes avatar Aug 17 '16 16:08 perskes

Got this too. Any suggestions?

upgrd avatar Feb 16 '17 17:02 upgrd

I think you should try to rename imgur_example.h to imgur.h and configure the needed fields. The same thing has to be done for twilio[_example].h. You can configure if these functionalities are enabled by controlling TWILIO_SEND and IMGUR_UPLOAD (0 => Disabled, 1 => Enabled).

aslafy-z avatar Aug 13 '17 23:08 aslafy-z