abba23 / spotify-adblock-linux

Spotify adblocker for Linux
GNU General Public License v3.0
721 stars 68 forks source link

make error #13

Closed vawogbemi closed 5 years ago

vawogbemi commented 5 years ago

when I use make i got this error

gcc -Wall -shared -fPIC -o spotify-adblock.so -ldl spotify-adblock.c whitelist.h blacklist.h spotify-adblock.c:3:10: fatal error: curl/curl.h: No such file or directory

include <curl/curl.h>

      ^~~~~~~~~~~~~

compilation terminated. Makefile:11: recipe for target 'spotify-adblock.so' failed make: *** [spotify-adblock.so] Error 1

abba23 commented 5 years ago

Looks like you're missing the libcurl headers. The package's name differs depending on your Linux distribution. On Ubuntu and related distributions, you should be able to install it using sudo apt install libcurl4-gnutls-dev.

I should probably add a hint about that to the readme.

vawogbemi commented 5 years ago

Thank you, it worked!