Heaptrack/Build/Ubuntu 16.04

From KDE UserBase Wiki
Revision as of 21:14, 13 December 2023 by Nmariusp (talk | contribs) ({{Proposed_deletion|reason=userbase.kde.org is about end users using KDE software. It is not about how to compile software.}})

Proposed for Deletion

This page has been proposed for deletion for the following reason:

userbase.kde.org is about end users using KDE software. It is not about how to compile software.

Please use the discussion section of this page to voice your opinion on this.

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.