首页 > 解决方案 > 如何在 Linux 上安装 xwobf

问题描述

我一直在尝试安装xwobfi3lock使用此 github 项目https://github.com/glindste/xwobf来使用它。但它不起作用,关于 github 讨论和 README.md 的信息很少。你能帮帮我吗?我试图克隆存储库,然后尝试克隆,makemake install它抛出了这个错误:

cc -Wall -std=c99 `pkg-config --cflags MagickWand xcb` -O3 -c xwobf.c
Package MagickWand was not found in the pkg-config search path.
Perhaps you should add the directory containing `MagickWand.pc'
to the PKG_CONFIG_PATH environment variable
No package 'MagickWand' found
Package xcb was not found in the pkg-config search path.
Perhaps you should add the directory containing `xcb.pc'
to the PKG_CONFIG_PATH environment variable
No package 'xcb' found
xwobf.c:28:21: fatal error: xcb/xcb.h: Aucun fichier ou dossier de ce type
 #include <xcb/xcb.h>
                     ^
compilation terminated.
make: *** [xwobf.o] Erreur 1

所以我尝试下载 MagickWand 和 XCB,但总是出现错误。谢谢您阅读此篇。

编辑 :

我设法安装了好的库:libmagickwand-dev所以我没有那么多错误。但我现在有一个:

cc -Wall -std=c99 `pkg-config --cflags MagickWand xcb` -O3 -c xwobf.c
xwobf.c:29:35: fatal error: MagickWand/MagickWand.h: Aucun fichier ou 
dossier de ce type
#include <MagickWand/MagickWand.h>
                               ^
compilation terminated.
make: *** [xwobf.o] Erreur 1

标签: linuxubuntuubuntu-16.04lockscreen

解决方案


推荐阅读