Skip to content
Andrey edited this page May 3, 2017 · 5 revisions

Mac OS X

Make sure you have Homebrew installed (brew.sh)

Install dependencies

brew install cmake openssl boost

Build Exiv2

curl -O https://github.com/Exiv2/exiv2/archive/fa449a4d2c58d63f0d75ff259f25683a98a44630.zip -O exiv2-0.26-fa449a4d2c58d63f0d75ff259f25683a98a44630.zip
unzip exiv2-0.26-fa449a4d2c58d63f0d75ff259f25683a98a44630.zip
cd exiv2-fa449a4d2c58d63f0d75ff259f25683a98a44630
mkdir build
cd build
cmake ../
make
make install

Build OpenCV 3.2.0

curl -O https://github.com/opencv/opencv/archive/3.2.0.zip
unzip 3.2.0.zip 
cd opencv-3.2.0/
mkdir build
cd build
cmake ..
make
make install

Build Arion

This will create the final executable. You will need to create a new build directory and run CMake to generate the makefile. CMake will let you know if any dependencies are missing.

mkdir build
cd build
cmake ../src/
make

Ubuntu 12.04/14.04/16.04

Install EXIV2

Get version Exiv2 version 0.26+

cd ~/
wget https://github.com/Exiv2/exiv2/archive/fa449a4d2c58d63f0d75ff259f25683a98a44630.zip -O exiv2-0.26-fa449a4d2c58d63f0d75ff259f25683a98a44630.zip
unzip exiv2-0.26-fa449a4d2c58d63f0d75ff259f25683a98a44630.zip
cd exiv2-fa449a4d2c58d63f0d75ff259f25683a98a44630
mkdir build
cd build
cmake ../

CMake will tell you any dependencies you are missing

Now build EXIV2 and install it into the system

make
sudo make install

Install Boost

Boost version 1.46+ is required to build Arion. This is not a particularly new version so the package maintainers version will usually work.

sudo apt-get install libboost-dev libboost-program-options-dev libboost-timer-dev libboost-filesystem-dev libboost-system-dev

Install OpenCV

Arion requires OpenCV 3.0+ which must be compiled from source. Download the latest archive from http://opencv.org/downloads.html or use wget get version 3.2.0

wget https://github.com/opencv/opencv/archive/3.2.0.zip
unzip 3.2.0.zip 
cd opencv-3.2.0/
mkdir build
cd build
cmake ..
make
sudo make install

Build Arion

This will create the final executable. You will need to create a new build directory and run CMake to generate the makefile. CMake will let you know if any dependencies are missing.

mkdir build
cd build
cmake ../src/
make