User Tools

Site Tools


en:compilation
no way to compare when less than two revisions

Differences

This shows you the differences between two versions of the page.


Previous revision
Next revision
en:compilation [2016/10/09 09:10] – external edit 127.0.0.1
Line 1: Line 1:
 +====== Get & compile the latest version ======
  
 +Please note: this is to compile actiona up to version 3.8.0. Version 3.9.0 and higher require Qt5 instead of Qt4 and are simpler to compile. An update of this page is still required.
 +
 +===== Windows =====
 +  - Install Visual Studio 2015 (Community edition should work)
 +  - Install Qt (5.2.0 or more recent, QtScript is needed)
 +  - Install QtCreator
 +  - Install OpenCV binaries for Windows (version 2.x)
 +  - Install Boost (headers only, no need to compile it)
 +  - Open actiona.pro using QtCreator
 +  - In the "Projects" tab, in "additional arguments", add:
 +    - OPENCV_LIB="Path to the OpenCV library folder" (where all the .lib are)
 +    - OPENCV_INCLUDE="Path to the OpenCV include path" (containing the opencv2 folder)
 +    - OPENCV_LIB_CORE=Name of the core library filename (for example opencv_core249)
 +    - OPENCV_LIB_IMGPROC=Name of the imgproc library filename (for example opencv_imgproc249)
 +    - BOOST_INCLUDE="Path to the Boost include folder" (containing the "boost" folder)
 +  - Compile
 +  - Copy the opencv_corexxx.dll and opencv_imgproc.dll files from the OpenCV install path to the build directory containing all the binaries that where built in the previous step
 +  - Run
 +===== GNU/Linux =====
 +==== Debian/Ubuntu/Mint ====
 +=== First download ===
 +We need Git, a C++ compiler (that can compile C++11 code, so for GCC, version 4.7 or better), Qt and all dependencies:
 +<code bash>
 +sudo apt-get install git-core build-essential qt4-qmake libqt4-dev qtmobility-dev libxtst-dev libnotify-dev libopencv-dev libboost-dev qtscript-tools
 +</code>
 +
 +If you want to use SQL databases you will also have to install the corresponding bindings, for instance, MySQL:
 +<code bash>
 +sudo apt-get install libqt4-sql-mysql
 +</code>
 +
 +Get the code.
 +<code bash>
 +git clone git://github.com/Jmgr/actionaz.git
 +</code>
 +
 +Enter the actionaz directory:
 +<code bash>
 +cd actionaz
 +</code>
 +
 +Then build.
 +<code bash>
 +qmake -r && make
 +</code>
 +
 +To run actionaz, enter:
 +<code bash>
 +./actionaz
 +</code>
 +
 +=== Update ===
 +To update your version, open a terminal, go to the actionaz directory and enter
 +<code bash>
 +git pull
 +qmake -r
 +make
 +</code>
en/compilation.txt · Last modified: 2023/10/01 09:15 by jmgr