Known problems:

Brew currently doesn’t package lldb because it requires code signing. Either compile LLVM with lldb yourself or don’t build it with debugging support by passing -DCG_BUILD_DEBUGGER=OFF.

Installing dependencies


Xcode must be installed. You can install it from the app store. Versions 7.3+ are tested.


install brew if you haven’t already.

Then, it’s as easy as:

brew install cmake llvm

Compiling chigraph

Clone chigraph…

git clone
cd chigraph

Then configure and install it:

mkdir build && cd build
cmake .. \
    -DCMAKE_PREFIX_PATH='/usr/local/opt/qt5/;/usr/local/opt/gettext' \
    -DLLVM_CONFIG=/usr/local/opt/llvm/bin/llvm-config \

See the documentation for a full list of CMake options.

Other resources

You can look at the Travis CI build scripts for a script that builds chigraph.

Any errors? File an issue!