linux - 如何在 Linux 上安装 xwobf
问题描述
我一直在尝试安装xwobf
以i3lock
使用此 github 项目https://github.com/glindste/xwobf来使用它。但它不起作用,关于 github 讨论和 README.md 的信息很少。你能帮帮我吗?我试图克隆存储库,然后尝试克隆,make
但make 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
解决方案
推荐阅读
- c# - Call Python functions from C# in Visual Studio Python support VS 2017
- ruby-on-rails - Prawn::Errors::CannotFit Rails Make new line table
- javascript - AMP 中是否可以将 amp-user-notification 存储在 cookie 中?
- postgresql - 增加 postgreSQL 启动时的恢复时间
- javascript - jQuery绑定上下拖动
- xslt - XSLT 2.0 / XPATH - 测试节点时选择
- angular - Angular CLI Service Worker TypeScript
- checkstyle - Checkstyle 3.0 版本中忽略 IllegalTokenText 警告
- android-studio - Gradle works with Android Studio but cmd script fails
- python - 如何在 virtualenv 中导入 Anaconda 环境 .yml?