0

我在构建 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".`

有人可以帮助我吗?

4

1 回答 1

0

安装包extra-cmake-modules

sudo apt install extra-cmake-modules

它应该包含丢失的文件。

于 2020-03-20T15:51:05.437 回答