我无法在最新的 Arch 上编译 beclock yaourt -S bekwinfx-git
:
CMake Error at CMakeLists.txt:9 (find_package):
By not providing "FindXCB.cmake" in CMAKE_MODULE_PATH this project has
asked CMake to find a package configuration file provided by "XCB", but
CMake did not find one.
Could not find a package configuration file provided by "XCB" with any of
the following names:
XCBConfig.cmake
xcb-config.cmake
Add the installation prefix of "XCB" to CMAKE_PREFIX_PATH or set "XCB_DIR"
to a directory containing one of the above files. If "XCB" provides a
separate development package or SDK, be sure it has been installed.
我尝试使用pkgfile
查找这些文件,但无济于事(我已经更新了 pkgfile 缓存)
有人知道如何解决这个问题吗?
更新
似乎 XCB 和其他 X11 库已经包含在编译标志中,因此删除它们并没有什么坏处
答案1
注释掉有问题的行(CMakeLists.txt:9
、、 )后CMakeLists.txt:10
,be.clock/CMakeLists:22
它对我来说编译得很好。