Heaptrack/Build/Ubuntu 16.04

Building Heaptrack for Ubuntu 16.04

Install the following dependencies:

sudo apt install libdwarf-dev libkf5coreaddons-dev libkf5i18n-dev libkf5itemmodels-dev \
libkf5configwidgets-dev libkf5kiocore5 libkf5kiowidgets5 kio-dev libsparsehash-dev libqt5svg5-dev \
libkf5threadweaver-dev extra-cmake-modules build-essential cmake git 

Then install kdiagram from source:

git clone git://anongit.kde.org/kdiagram
mkdir kdiagram/build
cd kdiagram/build
cmake ..
make && sudo make install

Then you can build heaptrack:

git clone git://anongit.kde.org/heaptrack
mkdir heaptrack/build
cd heaptrack/build
cmake ..
make && sudo make install

Always check for warnings or missing packages during the cmake step.

This page was last edited on 21 February 2017, at 08:12. Content is available under Creative Commons License SA 4.0 unless otherwise noted.