wiki:GettingStarted

Version 5 (modified by DHERBOMEZ Gérald, 9 years ago) ( diff )

--

Getting started

PACPUS is a framework provided as source code so to use it you have to compile it by yourself.

Compilation, installation and test of PACPUS framework

Prerequisites

This tutorial was validated with a Linux Mint 17.2 distribution.

First you will need some third party software, run this command in a terminal:

sudo apt-get update && sudo apt-get install subversion build-essential libboost-all-dev cmake qt5-default qttools5-dev qttools5-dev-tools 

Then we will get the code and compile it.

cd ~
mkdir dev 
cd dev
mkdir pacpus
cd pacpus
svn co https://devel.hds.utc.fr/svn/pacpusframework/trunk pacpusframework
cd pacpusframework/build
./build_linux.sh

First cmake will prompt you the result of the project building: -- Configuring done -- Generating done Then the compîlation will start in release and debug modes. If succeeded the script will install the pacpus environment in /opt/pacpus

To finish we will check the working of the installation

sudo chown -R $USER /opt/pacpus
cd /opt/pacpus/0.2.0/bin
export PACPUS_ROOT=/opt/pacpus/0.2.0/bin
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$PACPUS_ROOT/bin
./PacpusSensor

If working you will see the PacpusSensor window on the screen. Of course, as we don't provide a XML configuration file, we will get some errors in the terminal.

Let's to the next tutorial to know how to develop quickly a small application.

Attachments (1)

Download all attachments as: .zip

Note: See TracWiki for help on using the wiki.