Changes between Initial Version and Version 1 of GettingStarted


Ignore:
Timestamp:
Sep 23, 2015, 9:06:49 PM (9 years ago)
Author:
DHERBOMEZ Gérald
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • GettingStarted

    v1 v1  
     1= Getting started =
     2
     3PACPUS is a framework provided as source code so to use it you have to compile it by yourself.
     4
     5== Compilation, installation and test of PACPUS framework ==
     6
     7Prerequisites
     8
     9This tutorial was validated with a Linux Mint 17.2 distribution.
     10
     11First you will need some third party software, run this command in a terminal:
     12
     13{{{
     14sudo apt-get install subversion build-essential libboost-all-dev cmake qt5-default qttools5-dev qttools5-dev-tools
     15}}}
     16
     17Then we will get the code and compile it.
     18
     19{{{
     20cd ~
     21mkdir dev
     22cd dev
     23mkdir pacpus
     24cd pacpus
     25svn co https://devel.hds.utc.fr/svn/pacpusframework/trunk pacpusframework
     26cd pacpusframework/build
     27./build_linux.sh
     28}}}
     29
     30First cmake will prompt you the result of the project building:
     31-- Configuring done
     32-- Generating done
     33Then the compîlation will start in release and debug modes. If succeeded the script will install the pacpus environment in /opt/pacpus
     34
     35TO finish we will check the working of the installation
     36
     37sudo chown -R $USER /opt/pacpus
     38cd /opt/pacpus/0.2.0/bin
     39export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:../lib
     40./PacpusSensor
     41
     42If 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.
     43
     44Let's to the next tutorial to know how to develop quickly a small application.
     45