chjj / slock

Fork of suckless screen locker for the extremely paranoid.
MIT License
152 stars 23 forks source link

imgur.h: No such file or directory #3

Open perskes opened 8 years ago

perskes commented 8 years ago

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

upgrd commented 7 years ago

Got this too. Any suggestions?

aslafy-z commented 7 years ago

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).