CompilingSource

From ago control wiki
Revision as of 23:02, 26 May 2014 by Hari (Talk | contribs)

Jump to: navigation, search

Contents

Debian Wheezy

Dependencies

You can use the dev packages for knx and z-wave from our mirror or compile them from source (please be aware that the bcusdk source needs tweaking for some platforms like armhf)

apt-get install quilt devscripts libudev-dev libqpidclient2-dev uuid-dev libqpidcommon2-dev libqpidmessaging2-dev \ 
git libqpidtypes1-dev g++-4.6 libtinyxml2-dev libjsoncpp-dev libyaml-cpp-dev libsqlite3-dev \
libopenzwave1.0-dev libi2c-dev libeibclient-dev intltool libboost-dev libboost-date-time-dev realpath libhdate-dev libcurl4-openssl-dev liblua5.2-dev \
ola-dev cmake libboost-system-dev libboost-filesystem-dev

Get the source

git clone http://git.agocontrol.com/agocontrol/agocontrol.git

Select the proper branch

Stable releases are tagged on master. Development happens on the "develop" branch. More details are here: Git

git checkout develop

Manual Compile

For an out of tree build, do this:

mkdir build
cd build
cmake ..
make

If you want to specify build options, run cmake with the "-i" parameter.

Building debian packages

Change into the git dir and run:

dpkg-buildpackage -b -uc -us
Personal tools