Skip to content

ERROR: Dependency Clang not found during local build of hdoc #40

@nischild

Description

@nischild

Hi everyone,

I wanted to have a try with hdoc locally and build the project using meson.

Using clang13 on openSUSE Leap 15.4 I recieve the following error.
meson.build:14:0: ERROR: Dependency Clang not found: CMake: invalid module clangTooling for Clang.

But in the build configuration output the clang compiler is used.

The Meson build system
Version: 0.59.4
Build type: native build
Project name: hdoc
Project version: 1.4.0
C compiler for the host machine: cc (clang 13.0.1 "clang version 13.0.1")
C linker for the host machine: cc ld.bfd 2.39.0.20220810-150100
C++ compiler for the host machine: c++ (clang 13.0.1 "clang version 13.0.1")
C++ linker for the host machine: c++ ld.bfd 2.39.0.20220810-150100
Host machine cpu family: x86_64
Host machine cpu: x86_64
Found CMake: /bin/cmake (3.23.20220304)
WARNING: Ignoring LLVM CMake dependency because dynamic was requested
llvm-config found: YES (/usr/bin/llvm-config) 13.0.1
Run-time dependency LLVM found: YES 13.0.1
Run-time dependency clang found: NO 

I don't have any experience using meson therefore maybe I can receive some help with the configuration error from you.

Thanks in advance.

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