Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

meson does not find clang by itself #18

Open
jeanguyomarch opened this issue Dec 26, 2017 · 2 comments
Open

meson does not find clang by itself #18

jeanguyomarch opened this issue Dec 26, 2017 · 2 comments

Comments

@jeanguyomarch
Copy link

I've tried to build edi on Ubuntu, but got stuck when meson tried to find clang-c/Index.h. I figured out I needed to install libclang-dev, as hinted in the README 👍 . But I still got the error. After introspecting the meson.build, I came up with the following that makes it happy:

meson -Dlibclang-headerdir=/usr/lib/llvm-4.0/include/ -Dlibclang-libdir=/usr/lib/llvm-4.0/lib/ . build

Since the libclang comes from a system package, I was expecting meson to find where clang was by himself, without me having to go through the dependency chain of the libclang-dev package to see where the installed files are. I realize this may not be simple to do, just letting you know :)

@andydotxyz
Copy link
Collaborator

This is also an issue with Debian :(

@Makogan
Copy link

Makogan commented Mar 9, 2022

I am also encountering this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants