Skip to content
Laeeth Isharc edited this page Aug 6, 2018 · 6 revisions

Installation

Ubuntu 16.04 or 18.04

You need to install a specific version of libclang for dpp. Once that's installed, Dub does the rest.

sudo apt-get install libclang-dev libclang-3.9-dev
dub fetch libclang
dub build libclang
dub test libclang
dub fetch dpp
dub build dpp

There will be a 'd++' binary in ~/.dub/packages/dpp-0.0.2/dpp/bin/. You can create a symlink to a location in your path (e.g., ~/bin if you use that directory). Otherwise you will have to include the full path to invoke dpp.

Libraries that have been successfully used with dpp