CompilingSource

From ago control wiki
(Difference between revisions)
Jump to: navigation, search
m (Build the package)
(Dependencies)
Line 5: Line 5:
 
  git libqpidtypes1-dev g++-4.6 libtinyxml2-dev libjsoncpp-dev libyaml-cpp-dev libsqlite3-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 \
 
  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
+
  ola-dev cmake libboost-system-dev libboost-filesystem-dev libboost-regex-dev
  
 
=== Get the source ===
 
=== Get the source ===

Revision as of 12:20, 6 July 2014

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 libboost-regex-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