使用cmake从源代码安装“暗表”时,WEBP和LENSFUN出现问题

时间:2018-12-27 16:24:47

标签: cmake webp

我正在尝试从源代码安装darktable。为此, 我从here下载darktable-2.4.4.tar.xz。解压后,我尝试用

构建它
sudo ./build.sh

我收到以下错误:

(...)
-- Checking for one of the modules 'libsoup-2.2;libsoup2'
-- Could NOT find WEBP (missing: WEBP_LIBRARY WEBP_INCLUDE_DIR) (Required is at least version "0.3.0")
CMake Error at /usr/share/cmake-3.10/Modules/FindPackageHandleStandardArgs.cmake:137 (message):
Could NOT find LENSFUN (missing: LENSFUN_LIBRARY LENSFUN_INCLUDE_DIR)
Call Stack (most recent call first):
/usr/share/cmake-3.10/Modules/FindPackageHandleStandardArgs.cmake:378 (_FPHSA_FAILURE_MESSAGE)
cmake/modules/FindLensFun.cmake:37 (find_package_handle_standard_args)
src/CMakeLists.txt:286 (find_package)

但是,同时安装了WEBP和LENSFUN。

sudo apt-get install webp

Reading package lists... Done
Building dependency tree
Reading state information... Done
webp is already the newest version (0.6.1-2).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

LENSFUN是从源代码安装的。

值得一提的是build.sh使用cmake。

我该怎么解决这些问题?

0 个答案:

没有答案