Jump to content

Heaptrack/Build/Ubuntu 16.04

From KDE Wiki Sandbox
Revision as of 08:12, 21 February 2017 by Milian (talk | contribs) (Created page with "== Building Heaptrack for Ubuntu 16.04 == Install the following dependencies: sudo apt install libdwarf-dev libkf5coreaddons-dev libkf5i18n-dev libkf5itemmodels-dev \ libk...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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.