Skip to content

Не собирается по инструкции #1

@simplepersonru

Description

@simplepersonru

Взял за основу инструкцию из Readme, сижу на ubuntu 22.04, соответственно

sudo apt update && apt install -y clang-15 libclang-15-dev

вот так собирается. Если качать только libclang-15-dev, то вот такая ошибка:

  Could not find a package configuration file provided by "Clang" with any of
  the following names:

    ClangConfig.cmake
    clang-config.cmake

Оно понятно - после установки пакета таких файлов я не наблюдаю.

Если скачать только clang-15, то ошибка следующая:

CMake Error at /usr/lib/llvm-15/lib/cmake/clang/ClangTargets.cmake:801 (message):
  The imported target "clangBasic" references the file

     "/usr/lib/llvm-15/lib/libclangBasic.a"

  but this file does not exist.  Possible reasons include:

  * The file was deleted, renamed, or moved to another location.

  * An install or uninstall procedure did not complete successfully.

  * The installation package was faulty and contained

     "/usr/lib/llvm-15/lib/cmake/clang/ClangTargets.cmake"

  but not all the files it references.

Каких-то файлов не хватает.

Вот если скачать оба пакета, то все путем

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions