【发布时间】:2020-03-20 09:57:25
【问题描述】:
我在构建 KDBG 时遇到问题,尤其是在运行 cmake 时(如我下载的 kdbg 文件夹中的 README 文件所示)。显示的错误如下所示:
mimiview@ubuntu:~/Desktop/kdbg-3.0.1/kdbg$ cmake .
CMake Error at pics/CMakeLists.txt:1 (include):
include could not find load file:
ECMInstallIcons
CMake Error at pics/CMakeLists.txt:33 (ecm_install_icons):
Unknown CMake command "ecm_install_icons".
CMake Warning (dev) in CMakeLists.txt:
No cmake_minimum_required command is present. A line of code such as
cmake_minimum_required(VERSION 3.13)
should be added at the top of the file. The version specified may be lower
if you wish to support older CMake versions for this project. For more
information run "cmake --help-policy CMP0000".
This warning is for project developers. Use -Wno-dev to suppress it.
-- Configuring incomplete, errors occurred!
See also "/home/mimiview/Desktop/kdbg-3.0.1/kdbg/CMakeFiles/CMakeOutput.log".`
有人可以帮助我吗?
【问题讨论】:
-
您使用的是稳定版本吗?似乎 ECMInstallIcons 包括不能被 pics/CMakeLists.txt 找到,这也会导致错误
Unknown CMake command "ecm_install_icons"。 cmake_minimum_required 消息只是对 kdbg 开发者的警告。 -
我使用的是 ubuntu 19.10,我发现这个版本中不存在类似 kbdg 的包,我尝试做很多事情,但都出现了问题。现在我有了一个新的虚拟机和另一个发行版。
标签: linux ubuntu terminal kdbg