How to install OpenDaVINCI on Linux-based Platforms¶
Compiling OpenDaVINCI on ArchLinux¶
Download and install ArchLinux and install using the following instructions: https://wiki.archlinux.org/index.php/Installation_guide
Update the keys and the package database:
$ pacman-key --init
$ yes | pacman --noconfirm -Sc
$ yes | pacman --noconfirm -Sy pacman
$ pacman-db-upgrade
$ yes | pacman --noconfirm -S archlinux-keyring
$ pacman-key --init
$ yes | pacman --noconfirm -Syu
Install OpenDaVINCI dependencies:
$ sudo pacman --no-confirm -S apache-ant jdk8-openjdk boost cmake ffmpeg2.8 freeglut gcc git junit make opencv python2 qt4 qwt5
Clone the latest OpenDaVINCI sources from https://github.com/se-research/OpenDaVINCI or download the latest OpenDaVINCI sources as zip file: https://github.com/se-research/OpenDaVINCI/archive/master.zip.
Create an installation folder:
$ sudo mkdir -p /opt/od && sudo chown $USER:$USER /opt/od
Change to your source folder and create a build directory:
$ cd OpenDaVINCI && mkdir build
Use cmake to create the build scripts for your build folder:
$ cd build && cmake -D CMAKE_INSTALL_PREFIX=/opt/od ..
Build, run the tests, and install the OpenDaVINCI:
$ make
Compiling OpenDaVINCI on CentOS7¶
Download and install CentOS 7 and install its latest package updates:
$ sudo yum -y update
$ sudo yum -y upgrade
Install OpenDaVINCI dependencies:
$ sudo yum -y install ant ant-junit automake boost-devel cmake freeglut-devel gcc gcc-c++ git python27 iproute make opencv-devel psmisc qt4-devel qwt5-qt4-devel kernel-devel wget
Clean up installation:
$ sudo yum autoremove
$ sudo yum clean all
Clone the latest OpenDaVINCI sources from https://github.com/se-research/OpenDaVINCI or download the latest OpenDaVINCI sources as zip file: https://github.com/se-research/OpenDaVINCI/archive/master.zip.
Create an installation folder:
$ sudo mkdir -p /opt/od && sudo chown $USER:$USER /opt/od
Change to your source folder and create a build directory:
$ cd OpenDaVINCI && mkdir build
Use cmake to create the build scripts for your build folder:
$ cd build && cmake -D CMAKE_INSTALL_PREFIX=/opt/od ..
Build, run the tests, and install the OpenDaVINCI:
$ make
Compiling OpenDaVINCI on Debian 7.8¶
Download and install Debian 7.8 and install its latest package updates:
$ sudo apt-get update
$ sudo apt-get upgrade
$ sudo apt-get dist-upgrade
Install development packages for OpenDaVINCI sources:
$ sudo apt-get install build-essential cmake git
Install the required development packages for libodsimulation sources:
$ sudo apt-get install libcv-dev libhighgui-dev freeglut3 libqt4-dev libqwt5-qt4-dev libqwt5-qt4 libqt4-opengl-dev freeglut3-dev qt4-dev-tools libboost-dev libopencv-photo-dev libopencv-contrib-dev
Install development packages for DataStructureGenerator sources:
$ sudo apt-get install ant openjdk-7-jdk
Clean up installation:
$ sudo apt-get clean
$ sudo apt-get autoremove
Clone the latest OpenDaVINCI sources from https://github.com/se-research/OpenDaVINCI or download the latest OpenDaVINCI sources as zip file: https://github.com/se-research/OpenDaVINCI/archive/master.zip.
Create an installation folder:
$ sudo mkdir -p /opt/od && sudo chown $USER:$USER /opt/od
Change to your source folder and create a build directory:
$ cd OpenDaVINCI && mkdir build
Use cmake to create the build scripts for your build folder:
$ cd build && cmake -D CMAKE_INSTALL_PREFIX=/opt/od ..
Build, run the tests, and install the OpenDaVINCI:
$ make
Compiling OpenDaVINCI on Debian 8.1¶
Download and install Debian 8.1 and install its latest package updates:
$ sudo apt-get update
$ sudo apt-get upgrade
$ sudo apt-get dist-upgrade
Install development packages for OpenDaVINCI sources:
$ sudo apt-get install build-essential cmake git
Install the required development packages for libodsimulation sources:
$ sudo apt-get install libcv-dev libhighgui-dev freeglut3 libqt4-dev libqwt5-qt4-dev libqwt5-qt4 libqt4-opengl-dev freeglut3-dev qt4-dev-tools libboost-dev libopencv-photo-dev libopencv-contrib-dev
Install development packages for DataStructureGenerator sources:
$ sudo apt-get install ant openjdk-7-jdk
Clean up installation:
$ sudo apt-get clean
$ sudo apt-get autoremove
Clone the latest OpenDaVINCI sources from https://github.com/se-research/OpenDaVINCI or download the latest OpenDaVINCI sources as zip file: https://github.com/se-research/OpenDaVINCI/archive/master.zip.
Create an installation folder:
$ sudo mkdir -p /opt/od && sudo chown $USER:$USER /opt/od
Change to your source folder and create a build directory:
$ cd OpenDaVINCI && mkdir build
Use cmake to create the build scripts for your build folder:
$ cd build && cmake -D CMAKE_INSTALL_PREFIX=/opt/od ..
Build, run the tests, and install the OpenDaVINCI:
$ make
Compiling OpenDaVINCI on Debian 8.2¶
Download and install Debian 8.2 and install its latest package updates:
$ sudo apt-get update
$ sudo apt-get upgrade
$ sudo apt-get dist-upgrade
Install development packages for OpenDaVINCI sources:
$ sudo apt-get install build-essential cmake git
Install the required development packages for libodsimulation sources:
$ sudo apt-get install libcv-dev libhighgui-dev freeglut3 libqt4-dev libqwt5-qt4-dev libqwt5-qt4 libqt4-opengl-dev freeglut3-dev qt4-dev-tools libboost-dev libopencv-photo-dev libopencv-contrib-dev
Install development packages for DataStructureGenerator sources:
$ sudo apt-get install ant openjdk-7-jdk
Clean up installation:
$ sudo apt-get clean
$ sudo apt-get autoremove
Clone the latest OpenDaVINCI sources from https://github.com/se-research/OpenDaVINCI or download the latest OpenDaVINCI sources as zip file: https://github.com/se-research/OpenDaVINCI/archive/master.zip.
Create an installation folder:
$ sudo mkdir -p /opt/od && sudo chown $USER:$USER /opt/od
Change to your source folder and create a build directory:
$ cd OpenDaVINCI && mkdir build
Use cmake to create the build scripts for your build folder:
$ cd build && cmake -D CMAKE_INSTALL_PREFIX=/opt/od ..
Build, run the tests, and install the OpenDaVINCI:
$ make
Compiling OpenDaVINCI on Elementary OS¶
Download and install Elementary OS and install its latest package updates:
$ sudo apt-get update
$ sudo apt-get upgrade
$ sudo apt-get dist-upgrade
Install development packages for OpenDaVINCI sources:
$ sudo apt-get install build-essential cmake git
Install the required development packages for libodsimulation sources:
$ sudo apt-get install libcv-dev libhighgui-dev freeglut3 libqt4-dev libqwt5-qt4-dev libqwt5-qt4 libqt4-opengl-dev freeglut3-dev qt4-dev-tools libboost-dev libopencv-photo-dev libopencv-contrib-dev
Install development packages for DataStructureGenerator sources:
$ sudo apt-get install ant openjdk-7-jdk
Clean up installation:
$ sudo apt-get clean
$ sudo apt-get autoremove
Clone the latest OpenDaVINCI sources from https://github.com/se-research/OpenDaVINCI or download the latest OpenDaVINCI sources as zip file: https://github.com/se-research/OpenDaVINCI/archive/master.zip.
Create an installation folder:
$ sudo mkdir -p /opt/od && sudo chown $USER:$USER /opt/od
Change to your source folder and create a build directory:
$ cd OpenDaVINCI && mkdir build
Use cmake to create the build scripts for your build folder:
$ cd build && cmake -D CMAKE_INSTALL_PREFIX=/opt/od ..
Build, run the tests, and install the OpenDaVINCI:
$ make
Compiling OpenDaVINCI on Fedora 20¶
Download and install Fedora 20 and install its latest package updates:
$ sudo yum update
$ sudo yum upgrade
$ sudo yum distro-sync
Install the required development packages for OpenDaVINCI sources:
$ sudo yum install cmake gcc gcc-c++ git
Install the required development packages for libodsimulation sources:
$ sudo yum install freeglut qt4 boost boost-devel qt4-devel freeglut-devel opencv-devel qwt5-qt4-devel
Install the required development packages for the DataStructureGenerator sources:
$ sudo yum install java-1.7.0-openjdk ant
Clean up installation:
$ sudo yum autoremove
$ sudo yum clean all
Clone the latest OpenDaVINCI sources from https://github.com/se-research/OpenDaVINCI or download the latest OpenDaVINCI sources as zip file: https://github.com/se-research/OpenDaVINCI/archive/master.zip.
Create an installation folder:
$ sudo mkdir -p /opt/od && sudo chown $USER:$USER /opt/od
Change to your source folder and create a build directory:
$ cd OpenDaVINCI && mkdir build
Use cmake to create the build scripts for your build folder:
$ cd build && cmake -D CMAKE_INSTALL_PREFIX=/opt/od ..
Build, run the tests, and install the OpenDaVINCI:
$ make
Compiling OpenDaVINCI on Fedora 21¶
Download and install Fedora 21 and install its latest package updates:
$ sudo yum -y update
$ sudo yum -y upgrade
Install OpenDaVINCI dependencies:
$ sudo yum -y install ant ant-junit automake boost-devel cmake freeglut-devel gcc gcc-c++ git python2 iproute kernel-devel make opencv-devel psmisc qt4-devel qwt5-qt4-devel tar wget
Clean up installation:
$ sudo yum autoremove
$ sudo yum clean all
Clone the latest OpenDaVINCI sources from https://github.com/se-research/OpenDaVINCI or download the latest OpenDaVINCI sources as zip file: https://github.com/se-research/OpenDaVINCI/archive/master.zip.
Create an installation folder:
$ sudo mkdir -p /opt/od && sudo chown $USER:$USER /opt/od
Change to your source folder and create a build directory:
$ cd OpenDaVINCI && mkdir build
Use cmake to create the build scripts for your build folder:
$ cd build && cmake -D CMAKE_INSTALL_PREFIX=/opt/od ..
Build, run the tests, and install the OpenDaVINCI:
$ make
Compiling OpenDaVINCI on Fedora 22¶
Download and install Fedora 22 and install its latest package updates:
$ sudo dnf -y update
$ sudo dnf -y upgrade
Install OpenDaVINCI dependencies:
$ sudo dnf -y install ant ant-junit automake boost-devel cmake freeglut-devel gcc gcc-c++ git python2 iproute kernel-devel make opencv-devel psmisc qt4-devel qwt5-qt4-devel tar wget
Clean up installation:
$ sudo dnf autoremove
$ sudo dnf clean all
Clone the latest OpenDaVINCI sources from https://github.com/se-research/OpenDaVINCI or download the latest OpenDaVINCI sources as zip file: https://github.com/se-research/OpenDaVINCI/archive/master.zip.
Create an installation folder:
$ sudo mkdir -p /opt/od && sudo chown $USER:$USER /opt/od
Change to your source folder and create a build directory:
$ cd OpenDaVINCI && mkdir build
Use cmake to create the build scripts for your build folder:
$ cd build && cmake -D CMAKE_INSTALL_PREFIX=/opt/od ..
Build, run the tests, and install the OpenDaVINCI:
$ make
Compiling OpenDaVINCI on Fedora 23¶
Download and install Fedora 23 and install its latest package updates:
$ sudo dnf -y update
$ sudo dnf -y upgrade
Install OpenDaVINCI dependencies:
$ sudo dnf -y install ant ant-junit automake boost-devel cmake freeglut-devel git python2 gcc gcc-c++ iproute kernel-devel make opencv-devel psmisc qt4-devel qwt5-qt4-devel tar wget
Clean up installation:
$ sudo dnf autoremove
$ sudo dnf clean all
Clone the latest OpenDaVINCI sources from https://github.com/se-research/OpenDaVINCI or download the latest OpenDaVINCI sources as zip file: https://github.com/se-research/OpenDaVINCI/archive/master.zip.
Create an installation folder:
$ sudo mkdir -p /opt/od && sudo chown $USER:$USER /opt/od
Change to your source folder and create a build directory:
$ cd OpenDaVINCI && mkdir build
Use cmake to create the build scripts for your build folder:
$ cd build && cmake -D CMAKE_INSTALL_PREFIX=/opt/od ..
Build, run the tests, and install the OpenDaVINCI:
$ make
Compiling OpenDaVINCI on Mageia¶
Download and install Mageia and install its latest package updates:
$ sudo urpmi.update -a
Install the required development packages for OpenDaVINCI sources:
$ sudo urpmi cmake gcc gcc-c++ git
Install the required development packages for libodsimulation sources:
$ sudo urpmi libqt4-devel lib64freeglut3 lib64freeglut-devel lib64boost-devel opencv-devel
Install qwt5-qt4 for OpenDLV sources:
$ sudo urpmi lib64qwt5-devel
Add two missing symbolic links:
$ sudo ln -sf /usr/include/qwt /usr/include/qwt-qt4
$ sudo ln -sf /usr/lib64/libqwt5-qt4.so /usr/lib64/libqwt-qt4.so
Install the required development packages for the DataStructureGenerator sources:
$sudo urpmi java-1.7.0-openjdk-devel ant ant-junit
Clone the latest OpenDaVINCI sources from https://github.com/se-research/OpenDaVINCI or download the latest OpenDaVINCI sources as zip file: https://github.com/se-research/OpenDaVINCI/archive/master.zip.
Create an installation folder:
$ sudo mkdir -p /opt/od && sudo chown $USER:$USER /opt/od
Change to your source folder and create a build directory:
$ cd OpenDaVINCI && mkdir build
Use cmake to create the build scripts for your build folder:
$ cd build && cmake -D CMAKE_INSTALL_PREFIX=/opt/od ..
Build, run the tests, and install the OpenDaVINCI:
$ make
Compiling OpenDaVINCI on Linux Mint 17 (32bit and 64bit)¶
Download and install Linux Mint 17 and install its latest package updates:
$ sudo apt-get update
$ sudo apt-get upgrade
$ sudo apt-get dist-upgrade
Install development packages for OpenDaVINCI sources:
$ sudo apt-get install build-essential cmake git
Install the required development packages for libodsimulation sources:
$ sudo apt-get install libcv-dev libhighgui-dev freeglut3 libqt4-dev libqwt5-qt4-dev libqwt5-qt4 libqt4-opengl-dev freeglut3-dev qt4-dev-tools libboost-dev libopencv-photo-dev libopencv-contrib-dev
Install development packages for DataStructureGenerator sources:
$ sudo apt-get install ant openjdk-7-jdk
Clean up installation:
$ sudo apt-get clean
$ sudo apt-get autoremove
Clone the latest OpenDaVINCI sources from https://github.com/se-research/OpenDaVINCI or download the latest OpenDaVINCI sources as zip file: https://github.com/se-research/OpenDaVINCI/archive/master.zip.
Create an installation folder:
$ sudo mkdir -p /opt/od && sudo chown $USER:$USER /opt/od
Change to your source folder and create a build directory:
$ cd OpenDaVINCI && mkdir build
Use cmake to create the build scripts for your build folder:
$ cd build && cmake -D CMAKE_INSTALL_PREFIX=/opt/od ..
Build, run the tests, and install the OpenDaVINCI:
$ make
Compiling OpenDaVINCI on OpenSuSE 13.1¶
Download and install openSuSE 13.1 and install its latest package updates:
$ sudo zypper refresh
$ sudo zypper update
Install required development packages for OpenDaVINCI sources:
$ sudo zypper install cmake gcc gcc-c++ git
Install required development packages for libodsimulation sources:
$ sudo zypper install opencv-devel boost-devel freeglut-devel libqt4-devel ant ant-junit qwt-devel
Install and configure Oracle’s Java according to the following guide http://tutorialforlinux.com/2013/12/12/how-to-install-oracle-java-jdk-7-on-opensuse-13-1-gnome3-3264bit-easy-guide/
$ sudo apt-get install ant openjdk-7-jdk
Install required development packages for DataStructureGenerator sources:
$sudo zypper install ant
Clean up installation:
$ sudo zypper clean
Clone the latest OpenDaVINCI sources from https://github.com/se-research/OpenDaVINCI or download the latest OpenDaVINCI sources as zip file: https://github.com/se-research/OpenDaVINCI/archive/master.zip.
Create an installation folder:
$ sudo mkdir -p /opt/od && sudo chown $USER:$USER /opt/od
Change to your source folder and create a build directory:
$ cd OpenDaVINCI && mkdir build
Use cmake to create the build scripts for your build folder:
$ cd build && cmake -D CMAKE_INSTALL_PREFIX=/opt/od ..
Build, run the tests, and install the OpenDaVINCI:
$ make
Compiling OpenDaVINCI on OpenSuSE 13.2¶
Download and install openSuSE 13.2 and install its latest package updates:
$ sudo zypper --non-interactive --no-gpg-checks refresh
$ sudo zypper --non-interactive --no-gpg-checks update
Install OpenDaVINCI dependencies:
$ sudo zypper --non-interactive --no-gpg-checks install ant ant-junit boost-devel cmake git freeglut-devel gcc gcc-c++ iproute2 make python opencv-devel psmisc libqt4-devel qwt-devel wget
Clean up installation:
$ sudo zypper clean
Clone the latest OpenDaVINCI sources from https://github.com/se-research/OpenDaVINCI or download the latest OpenDaVINCI sources as zip file: https://github.com/se-research/OpenDaVINCI/archive/master.zip.
Create an installation folder:
$ sudo mkdir -p /opt/od && sudo chown $USER:$USER /opt/od
Change to your source folder and create a build directory:
$ cd OpenDaVINCI && mkdir build
Use cmake to create the build scripts for your build folder:
$ cd build && cmake -D CMAKE_INSTALL_PREFIX=/opt/od ..
Build, run the tests, and install the OpenDaVINCI:
$ make
Compiling OpenDaVINCI on Scientific Linux 7¶
Download and install Scientific Linux 7 and install its latest package updates:
$ sudo yum update
$ sudo yum upgrade
$ sudo yum distro-sync
Install the required development packages for OpenDaVINCI sources:
$ sudo yum install cmake gcc gcc-c++ git
Install the required development packages for libodsimulation sources:
$ sudo yum install freeglut qt4 boost boost-devel qt4-devel freeglut-devel opencv-devel
Install qwt5-qt4:
$ sudo yum install bzip2
$ wget http://downloads.sourceforge.net/project/qwt/qwt/5.2.3/qwt-5.2.3.tar.bz2
$ tar -xvjf qwt-5.2.3.tar.bz2
$ sudo ln -sf /usr/bin/qmake-qt4 /usr/bin/qmake
$ cd qwt-5.2.3 && qmake qwt.pro && make
$ sudo make install
Add two missing symbolic links:
$ sudo ln -sf /usr/local/qwt-5.2.3/include /usr/include/qwt-qt4
$ sudo ln -sf /usr/local/qwt-5.2.3/lib/libqwt.so.5.2.3 /usr/include/libqwt-qt4.so
Install the required development packages for the DataStructureGenerator sources:
$sudo yum install java-1.7.0-openjdk ant ant-junit
Clean up installation:
$sudo yum autoremove
$sudo yum clean all
Clone the latest OpenDaVINCI sources from https://github.com/se-research/OpenDaVINCI or download the latest OpenDaVINCI sources as zip file: https://github.com/se-research/OpenDaVINCI/archive/master.zip.
Create an installation folder:
$ sudo mkdir -p /opt/od && sudo chown $USER:$USER /opt/od
Change to your source folder and create a build directory:
$ cd OpenDaVINCI && mkdir build
Use cmake to create the build scripts for your build folder:
$ cd build && cmake -D CMAKE_INSTALL_PREFIX=/opt/od ..
Build, run the tests, and install the OpenDaVINCI:
$ make
Compiling OpenDaVINCI on Ubuntu 14.04 LTS (32bit and 64bit)¶
Download and install Ubuntu 14.04 LTS and install its latest package updates:
$ sudo apt-get update -y
$ sudo apt-get upgrade -y
$ sudo apt-get dist-upgrade -y
Install OpenDaVINCI dependencies:
$ sudo apt-get install -y --no-install-recommends ant build-essential cmake default-jre default-jdk freeglut3 freeglut3-dev git libboost-dev libopencv-dev libopencv-core-dev libopencv-highgui-dev libopencv-imgproc-dev libpopt-dev libqt4-dev libqt4-opengl-dev libqwt5-qt4-dev libqwt5-qt4 qt4-dev-tools rpm psmisc wget
Clean up installation:
$ sudo apt-get clean
$ sudo apt-get autoremove
Clone the latest OpenDaVINCI sources from https://github.com/se-research/OpenDaVINCI or download the latest OpenDaVINCI sources as zip file: https://github.com/se-research/OpenDaVINCI/archive/master.zip.
Create an installation folder:
$ sudo mkdir -p /opt/od && sudo chown $USER:$USER /opt/od
Change to your source folder and create a build directory:
$ cd OpenDaVINCI && mkdir build
Use cmake to create the build scripts for your build folder:
$ cd build && cmake -D CMAKE_INSTALL_PREFIX=/opt/od ..
Build, run the tests, and install the OpenDaVINCI:
$ make
Compiling OpenDaVINCI on Ubuntu 15.04¶
Download and install Ubuntu 15.04 and install its latest package updates:
$ sudo apt-get update -y
$ sudo apt-get upgrade -y
$ sudo apt-get dist-upgrade -y
Install OpenDaVINCI dependencies:
$ sudo apt-get install -y --no-install-recommends ant build-essential cmake default-jre default-jdk freeglut3 freeglut3-dev git libboost-dev libopencv-dev libopencv-core-dev libopencv-highgui-dev libopencv-imgproc-dev libpopt-dev libqt4-dev libqt4-opengl-dev libqwt5-qt4-dev libqwt5-qt4 qt4-dev-tools rpm psmisc wget
Clean up installation:
$ sudo apt-get clean
$ sudo apt-get autoremove
Install ffmpeg:
$ sudo apt-get install -y --no-install-recommends ffmpeg
Clone the latest OpenDaVINCI sources from https://github.com/se-research/OpenDaVINCI or download the latest OpenDaVINCI sources as zip file: https://github.com/se-research/OpenDaVINCI/archive/master.zip.
Create an installation folder:
$ sudo mkdir -p /opt/od && sudo chown $USER:$USER /opt/od
Change to your source folder and create a build directory:
$ cd OpenDaVINCI && mkdir build
Use cmake to create the build scripts for your build folder:
$ cd build && cmake -D CMAKE_INSTALL_PREFIX=/opt/od ..
Build, run the tests, and install the OpenDaVINCI:
$ make
Compiling OpenDaVINCI on Ubuntu 15.10¶
Download and install Ubuntu 15.10 and install its latest package updates:
$ sudo apt-get update -y
$ sudo apt-get upgrade -y
$ sudo apt-get dist-upgrade -y
Install OpenDaVINCI dependencies:
$ sudo apt-get install -y --no-install-recommends ant build-essential cmake default-jre default-jdk freeglut3 freeglut3-dev git libboost-dev libopencv-dev libopencv-core-dev libopencv-highgui-dev libopencv-imgproc-dev libpopt-dev libqt4-dev libqt4-opengl-dev libqwt5-qt4-dev libqwt5-qt4 qt4-dev-tools rpm psmisc wget
Clean up installation:
$ sudo apt-get clean
$ sudo apt-get autoremove
Install ffmpeg:
$ sudo apt-get install -y --no-install-recommends ffmpeg
Clone the latest OpenDaVINCI sources from https://github.com/se-research/OpenDaVINCI or download the latest OpenDaVINCI sources as zip file: https://github.com/se-research/OpenDaVINCI/archive/master.zip.
Create an installation folder:
$ sudo mkdir -p /opt/od && sudo chown $USER:$USER /opt/od
Change to your source folder and create a build directory:
$ cd OpenDaVINCI && mkdir build
Use cmake to create the build scripts for your build folder:
$ cd build && cmake -D CMAKE_INSTALL_PREFIX=/opt/od ..
Build, run the tests, and install the OpenDaVINCI:
$ make
Compiling OpenDaVINCI on Ubuntu 16.04¶
Download and install Ubuntu 16.04 and install its latest package updates:
$ sudo apt-get update -y
$ sudo apt-get upgrade -y
$ sudo apt-get dist-upgrade -y
Install OpenDaVINCI dependencies:
$ sudo apt-get install -y --no-install-recommends ant build-essential cmake default-jre default-jdk freeglut3 freeglut3-dev git libboost-dev libopencv-dev libopencv-core-dev libopencv-highgui-dev libopencv-imgproc-dev libpopt-dev libqt4-dev libqt4-opengl-dev libqwt5-qt4-dev libqwt5-qt4 qt4-dev-tools rpm psmisc wget
Clean up installation:
$ sudo apt-get clean
$ sudo apt-get autoremove
Install ffmpeg:
$ sudo apt-get install -y --no-install-recommends ffmpeg
Clone the latest OpenDaVINCI sources from https://github.com/se-research/OpenDaVINCI or download the latest OpenDaVINCI sources as zip file: https://github.com/se-research/OpenDaVINCI/archive/master.zip.
Create an installation folder:
$ sudo mkdir -p /opt/od && sudo chown $USER:$USER /opt/od
Change to your source folder and create a build directory:
$ cd OpenDaVINCI && mkdir build
Use cmake to create the build scripts for your build folder:
$ cd build && cmake -D CMAKE_INSTALL_PREFIX=/opt/od ..
Build, run the tests, and install the OpenDaVINCI:
$ make
Compiling OpenDaVINCI on Zorin 9.1¶
Download and install Zorin 9.1 and install its latest package updates:
$ sudo apt-get update
$ sudo apt-get upgrade
$ sudo apt-get dist-upgrade
Install development packages for OpenDaVINCI sources:
$ sudo apt-get install build-essential cmake git
Install development packages for DataStructureGenerator sources:
$ sudo apt-get install ant openjdk-7-jdk
Clean up installation:
$ sudo apt-get clean
$ sudo apt-get autoremove
Clone the latest OpenDaVINCI sources from https://github.com/se-research/OpenDaVINCI or download the latest OpenDaVINCI sources as zip file: https://github.com/se-research/OpenDaVINCI/archive/master.zip.
Create an installation folder:
$ sudo mkdir -p /opt/od && sudo chown $USER:$USER /opt/od
Change to your source folder and create a build directory:
$ cd OpenDaVINCI && mkdir build
Use cmake to create the build scripts for your build folder:
$ cd build && cmake -D CMAKE_INSTALL_PREFIX=/opt/od ..
Build, run the tests, and install the OpenDaVINCI:
$ make
Compiling OpenDaVINCI on Zorin 10¶
Download and install Zorin 10 and install its latest package updates:
$ sudo apt-get update
$ sudo apt-get upgrade
$ sudo apt-get dist-upgrade
Install development packages for OpenDaVINCI sources:
$ sudo apt-get install build-essential cmake git
Install development packages for DataStructureGenerator sources:
$ sudo apt-get install ant openjdk-7-jdk
Clean up installation:
$ sudo apt-get clean
$ sudo apt-get autoremove
Clone the latest OpenDaVINCI sources from https://github.com/se-research/OpenDaVINCI or download the latest OpenDaVINCI sources as zip file: https://github.com/se-research/OpenDaVINCI/archive/master.zip.
Create an installation folder:
$ sudo mkdir -p /opt/od && sudo chown $USER:$USER /opt/od
Change to your source folder and create a build directory:
$ cd OpenDaVINCI && mkdir build
Use cmake to create the build scripts for your build folder:
$ cd build && cmake -D CMAKE_INSTALL_PREFIX=/opt/od ..
Build, run the tests, and install the OpenDaVINCI:
$ make
How to install OpenDaVINCI on BSD-based Platforms¶
Compiling OpenDaVINCI on DragonFlyBSD 4.0.5 (64bit)¶
Download and install DragonFlyBSD 4.0.5 and update the packages list as root:
# pkg update
Install the bash shell:
# pkg install shells/bash
Change the shell by running:
$ chsh
Install the compiler:
# pkg install lang/gcc
# pkg install devel/cmake
# pkg install devel/git
# pkg install lang/python
- Install Java to generate data structures::
- # pkg install devel/apache-ant # pkg install java/openjdk7
Add the following lines to /etc/fstab:
fdesc /dev/fd fdescfs rw 0 0
proc /proc procfs rw 0 0
Add a symbolic link to python as root user:
# ln -sf /usr/local/bin/python /usr/bin/python
Clone the latest OpenDaVINCI sources from https://github.com/se-research/OpenDaVINCI or download the latest OpenDaVINCI sources as zip file: https://github.com/se-research/OpenDaVINCI/archive/master.zip.
Change to your source folder and create a build directory:
$ cd OpenDaVINCI && mkdir build
Use cmake to create the build scripts for your build folder:
$ cd build && cmake -D CMAKE_INSTALL_PREFIX=/usr/local ..
Build, run the tests, and install the OpenDaVINCI:
$ make all
Compiling OpenDaVINCI on DragonFlyBSD 4.2 (64bit)¶
Download and install DragonFlyBSD 4.2 and update the packages list as root:
# pkg update
Install the bash shell:
# pkg install shells/bash
Change the shell by running:
$ chsh
Install the compiler:
# pkg install lang/gcc
# pkg install devel/cmake
# pkg install devel/git
# pkg install lang/python
- Install Java to generate data structures::
- # pkg install devel/apache-ant # pkg install java/openjdk7
Add the following lines to /etc/fstab:
fdesc /dev/fd fdescfs rw 0 0
proc /proc procfs rw 0 0
Add a symbolic link to python as root user:
# ln -sf /usr/local/bin/python /usr/bin/python
Clone the latest OpenDaVINCI sources from https://github.com/se-research/OpenDaVINCI or download the latest OpenDaVINCI sources as zip file: https://github.com/se-research/OpenDaVINCI/archive/master.zip.
Change to your source folder and create a build directory:
$ cd OpenDaVINCI && mkdir build
Use cmake to create the build scripts for your build folder:
$ cd build && cmake -D CMAKE_INSTALL_PREFIX=/usr/local ..
Build, run the tests, and install the OpenDaVINCI:
$ make all
Compiling OpenDaVINCI on DragonFlyBSD 4.4 (64bit)¶
Download and install DragonFlyBSD 4.4 and update the packages list as root:
# pkg update
Install the bash shell:
# pkg install shells/bash
Change the shell by running:
$ chsh
Install the compiler:
# pkg install lang/gcc
# pkg install devel/cmake
# pkg install devel/git
# pkg install lang/python
- Install Java to generate data structures::
- # pkg install devel/apache-ant # pkg install java/openjdk8
Add the following lines to /etc/fstab:
fdesc /dev/fd fdescfs rw 0 0
proc /proc procfs rw 0 0
Add a symbolic link to python as root user:
# ln -sf /usr/local/bin/python /usr/bin/python
Clone the latest OpenDaVINCI sources from https://github.com/se-research/OpenDaVINCI or download the latest OpenDaVINCI sources as zip file: https://github.com/se-research/OpenDaVINCI/archive/master.zip.
Change to your source folder and create a build directory:
$ cd OpenDaVINCI && mkdir build
Use cmake to create the build scripts for your build folder:
$ cd build && cmake -D CMAKE_INSTALL_PREFIX=/usr/local ..
Build, run the tests, and install the OpenDaVINCI:
$ make all
Compiling OpenDaVINCI on FreeBSD 10.1 (32bit and 64bit)¶
Download and install FreeBSD 10.1 and update the packages list as root (FreeBSD will install automatically the package management tool, simply press ‘y’ to accept):
# pkg update
Install the bash shell for more convenient typing:
# pkg install shells/bash
Add the following line to /etc/fstab as indicated by the installer:
fdesc /dev/fd fdescfs rw 0 0
Change the shell by running:
$ chsh
Install the compiler:
# pkg install lang/gcc
# pkg install devel/cmake
# pkg install devel/git
# pkg install lang/python
Add a symbolic link to python as root user:
# ln -sf /usr/local/bin/python /usr/bin/python
Install Java to generate data structures:
# pkg install devel/apache-ant
# pkg install openjdk
Clone the latest OpenDaVINCI sources from https://github.com/se-research/OpenDaVINCI or download the latest OpenDaVINCI sources as zip file: https://github.com/se-research/OpenDaVINCI/archive/master.zip.
Change to your source folder and create a build directory:
$ cd OpenDaVINCI && mkdir build
Use cmake to create the build scripts for your build folder:
$ cd build && cmake -D CMAKE_INSTALL_PREFIX=/usr/local ..
Build, run the tests, and install the OpenDaVINCI:
$ make all
Compiling OpenDaVINCI on NetBSD 6.1.5 (32bit and 64bit)¶
Download and install NetBSD 6.1.4 and update the packages list as root:
# pkgin update
Install the bash shell:
# pkgin install bash
Change the shell by running:
$ chsh
Set up the right locale:
$ cat >.profile <<EOF
export LANG="en_US.UTF-8"
export LC_CTYPE="en_US.UTF-8"
export LC_ALL=""
EOF
Install the compiler:
# pkgin install gcc
# pkgin install cmake
# pkgin install git
# pkgin install python27
Add a symbolic link to python as root user:
# ln -sf /usr/pkg/bin/python2.7 /usr/bin/python
Install Java to generate data structures:
# cd /usr/pkgsrc/distfiles && wget http://ftp.osuosl.org/pub/funtoo/distfiles/oracle-java/jdk-7u72-linux-i586.tar.gz
# cd /usr/pkgsrc/emulators/suse121_base && make install clean
# cd /usr/pkgsrc/emulators/suse121_x11 && make install clean
# cd /usr/pkgsrc/lang/sun-jdk7 && echo "ACCEPTABLE_LICENSES+=oracle-binary-code-license" >> /etc/mk.conf && make install clean
# echo "procfs /usr/pkg/emul/linux/proc procfs rw,linux" >> /etc/fstab
# cd /usr/pkg/bin && ln -sf sun7-java java
# cd /usr/pkg/bin && ln -sf sun7-javac javac
$ echo "ulimit -d 400000" >> .profile
Clone the latest OpenDaVINCI sources from https://github.com/se-research/OpenDaVINCI or download the latest OpenDaVINCI sources as zip file: https://github.com/se-research/OpenDaVINCI/archive/master.zip.
Change to your source folder and create a build directory:
$ cd OpenDaVINCI && mkdir build
Use cmake to create the build scripts for your build folder:
$ cd build && cmake -D CMAKE_INSTALL_PREFIX=/usr/local ..
Build, run the tests, and install the OpenDaVINCI:
$ make all
Compiling OpenDaVINCI on NetBSD 7.0 (64bit)¶
Install the compiler:
# export PKG_PATH=http://ftp.NetBSD.org/pub/pkgsrc/packages/NetBSD/amd64/7.0/All
# pkg_add -v cmake
# pkg_add -v git
# pkg_add -v mozilla-rootcerts
# mozilla-rootcerts install
# pkg_add -v python27
# pkg_add -v gcc49
# pkg_add -v openjdk7
# pkg_add -v apache-ant
Add a symbolic link to python as root user:
# ln -sf /usr/pkg/bin/python2.7 /usr/pkg/bin/python
Add a symbolic link to Java as root user:
# ln -sf /usr/pkg/bin/openjdk7-java /usr/pkg/bin/java
# ln -sf /usr/pkg/bin/openjdk7-javac /usr/pkg/bin/javac
# ln -sf /usr/pkg/bin/openjdk7-javah /usr/pkg/bin/javah
# ln -sf /usr/pkg/bin/openjdk7-javadoc /usr/pkg/bin/javadoc
# ln -sf /usr/pkg/bin/openjdk7-jar /usr/pkg/bin/jar
Add a /usr/pkg/bin to the search path of the local user:
$ export PATH=/usr/pkg/bin:$PATH
Clone the latest OpenDaVINCI sources from https://github.com/se-research/OpenDaVINCI or download the latest OpenDaVINCI sources as zip file: https://github.com/se-research/OpenDaVINCI/archive/master.zip.
Change to your source folder and create a build directory:
$ cd OpenDaVINCI && mkdir build
Use cmake to create the build scripts for your build folder:
$ cd build && cmake -D CMAKE_INSTALL_PREFIX=/usr/local ..
Build, run the tests, and install the OpenDaVINCI:
$ make all
Compiling OpenDaVINCI on OpenBSD 5.7 (32bit and 64bit)¶
Download and install OpenBSD 5.7.
Set the PKG_PATH (32bit version):
# export PKG_PATH=http://ftp.eu.openbsd.org/pub/OpenBSD/5.7/packages/i386/
Set the PKG_PATH (64bit version):
# export PKG_PATH=http://ftp.eu.openbsd.org/pub/OpenBSD/5.7/packages/amd64/
Install the bash shell:
# pkg_add -v -i bash
You can change the shell by running:
$ chsh
Install the compiler:
# pkg_add -v -i bash
# pkg_add -v -i python # (choose version 2.7)
# pkg_add -v -i cmake
# pkg_add -v -i git
# pkg_add -v -i gcc-4.9.2p1
# pkg_add -v -i g++-4.9.2p1
Install Java to generate data structures:
# pkg_add -v -i apache-ant
# pkg_add -v -i jdk
# pkg_add -v -i jre
# cd /usr/local/bin && ln -sf /usr/local/jdk-1.7.0/bin/java java
# cd /usr/local/bin && ln -sf /usr/local/jdk-1.7.0/bin/javac javac
Add a symbolic link to python as root user:
# ln -sf /usr/local/bin/python2.7 /usr/bin/python
Clone the latest OpenDaVINCI sources from https://github.com/se-research/OpenDaVINCI or download the latest OpenDaVINCI sources as zip file: https://github.com/se-research/OpenDaVINCI/archive/master.zip.
Change to your source folder and create a build directory:
$ cd OpenDaVINCI && mkdir build
Use cmake to create the build scripts for your build folder:
$ cd build && export CC=egcc && export CXX=eg++ && cmake -D CMAKE_INSTALL_PREFIX=/usr/local ..
Build, run the tests, and install the OpenDaVINCI:
$ make all
Compiling OpenDaVINCI on OpenBSD 5.8 (32bit and 64bit)¶
Download and install OpenBSD 5.8.
Set the PKG_PATH (32bit version):
# export PKG_PATH=http://ftp.eu.openbsd.org/pub/OpenBSD/5.8/packages/i386/
Set the PKG_PATH (64bit version):
# export PKG_PATH=http://ftp.eu.openbsd.org/pub/OpenBSD/5.8/packages/amd64/
Install the bash shell:
# pkg_add -v -i bash
You can change the shell by running:
$ chsh
Install the compiler:
# pkg_add -v -i bash
# pkg_add -v -i python # (choose version 2.7)
# pkg_add -v -i cmake
# pkg_add -v -i git
# pkg_add -v -i gcc-4.9.3p0
# pkg_add -v -i g++-4.9.3p0
Install the Java:
# pkg_add -v -i apache-ant
# pkg_add -v -i jdk
# pkg_add -v -i jre
# cd /usr/local/bin && ln -sf /usr/local/jdk-1.8.0/bin/javac javac
# cd /usr/local/bin && ln -sf /usr/local/jdk-1.8.0/bin/javah javah
# cd /usr/local/bin && ln -sf /usr/local/jdk-1.8.0/bin/java java
# cd /usr/local/bin && ln -sf /usr/local/jdk-1.8.0/bin/jar jar
# cd /usr/local/bin && ln -sf /usr/local/jdk-1.8.0/bin/javadoc javadoc
Add a symbolic link to python as root user:
# ln -sf /usr/local/bin/python2.7 /usr/bin/python
Clone the latest OpenDaVINCI sources from https://github.com/se-research/OpenDaVINCI or download the latest OpenDaVINCI sources as zip file: https://github.com/se-research/OpenDaVINCI/archive/master.zip.
Change to your source folder and create a build directory:
$ cd OpenDaVINCI && mkdir build
Use cmake to create the build scripts for your build folder:
$ cd build && export CC=egcc && export CXX=eg++ && cmake -D CMAKE_INSTALL_PREFIX=/usr/local ..
Build, run the tests, and install the OpenDaVINCI:
$ make all
Compiling OpenDaVINCI on MacOSX 10¶
Install Xcode: https://developer.apple.com/xcode/downloads/
Install CMake: http://www.cmake.org/download/
Install Java to generate data structures: http://java.com/en/download/
Install Python 2.79: https://www.python.org/downloads/mac-osx/
Clone the latest OpenDaVINCI sources from https://github.com/se-research/OpenDaVINCI or download the latest OpenDaVINCI sources as zip file: https://github.com/se-research/OpenDaVINCI/archive/master.zip.
Change to your source folder and create a build directory:
$ cd OpenDaVINCI && mkdir build
Use cmake to create the build scripts for your build folder:
$ cd build && cmake -D CMAKE_C_COMPILER=/usr/bin/cc -D CMAKE_CXX_COMPILER=/usr/bin/c++ -D CMAKE_INSTALL_PREFIX=/usr/local ..
Build, run the tests, and install the OpenDaVINCI:
$ make all
How to install OpenDaVINCI on Minix¶
Compiling OpenDaVINCI on Minix3¶
Download and install Minix3 and install its latest package updates:
# pkgin update
Install development packages for OpenDaVINCI sources:
# pkgin install python27
# pkgin install cmake
# pkgin install git-base
# pkgin install clang
Install development packages for DataStructureGenerator sources:
# export PKG_PATH=http://ftp.eu.openbsd.org/pub/OpenBSD/5.6/packages/i386/
# pkg_add -v -i apache-ant
# pkg_add -v -i jdk
# pkg_add -v -i jre
# cd /usr/local/bin && ln -sf /usr/local/jdk-1.7.0/bin/java java
# cd /usr/local/bin && ln -sf /usr/local/jdk-1.7.0/bin/javac javac
Add a symbolic link to python as root user:
# ln -sf /usr/local/bin/python2.7 /usr/bin/python
Clone the latest OpenDaVINCI sources from https://github.com/se-research/OpenDaVINCI or download the latest OpenDaVINCI sources as zip file: https://github.com/se-research/OpenDaVINCI/archive/master.zip.
Change to your source folder and create a build directory:
$ cd OpenDaVINCI && mkdir build
Use cmake to create the build scripts for your build folder:
$ cd build && cmake -D CMAKE_INSTALL_PREFIX=/usr/local ..
Build, run the tests, and install the OpenDaVINCI:
$ make all
How to install OpenDaVINCI on Windows-based Platforms¶
Compiling OpenDaVINCI on Windows 7, 8.1, and 10 (32bit and 64bit)¶
Download and install CMake for Windows (let the install add the CMake binary to the all users’ path): http://www.cmake.org/files/v3.0/cmake-3.0.0-win32-x86.exe
Download and install Python 2.7.8 for Windows: https://www.python.org/ftp/python/2.7.8/python-2.7.8.msi. Let the installer add Python to the the system path so that you can run Python from the command line.
Download and install Git for Windows (choose “Use Git from Windows Command Prompt” & “Checkout Windows-style & commit Unix style”: http://git-scm.com/download/win
Install Java to generate data structures: http://java.com/en/download/
Download and install Visual Studio 2013 Community Edition: http://go.microsoft.com/fwlink/?LinkId=517284
Clone the latest OpenDaVINCI sources from https://github.com/se-research/OpenDaVINCI or download the latest OpenDaVINCI sources as zip file: https://github.com/se-research/OpenDaVINCI/archive/master.zip.
Change to your source folder and create a build directory:
$ cd OpenDaVINCI && mkdir build
Use cmake to create the build scripts for your build folder (NMake files for building on console):
$ cd build
$ cmake -G "NMake Makefiles" -D CMAKE_INSTALL_PREFIX=myInstallDir ..
Build the OpenDaVINCI sources:
$ nmake
If you want to use Visual Studio for editing, let cmake create the build scripts:
$ cd build
$ cmake -G "Visual Studio 12 2013" -D CMAKE_INSTALL_PREFIX=../myInstallDir ..
How to compile OpenDaVINCI with Clang¶
To compile OpenDaVINCI using Clang, change to your source folder and create a build directory:
$ cd OpenDaVINCI && mkdir build
Use cmake to create the build scripts for your build folder and specify the Clang toolchain:
$ cd build && cmake -D CMAKE_INSTALL_PREFIX=/usr/local -DCMAKE_TOOLCHAIN_FILE=../cmake/clang-Toolchain.cmake ..