Enlightenment / edi

An EFL based / focussed IDE for Linux
Other
40 stars 9 forks source link

meson does not find clang by itself #18

Open jeanguyomarch opened 6 years ago

jeanguyomarch commented 6 years ago

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 :+1: . 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 commented 6 years ago

This is also an issue with Debian :(

Makogan commented 2 years ago

I am also encountering this issue.