Permalink
Fetching contributors…
Cannot retrieve contributors at this time
86 lines (70 sloc) 2.15 KB

Build instructions

Windows

macOS

Linux

Windows

Prerequisites

Build

git clone --recursive https://github.com/cpvrlab/ImagePlay.git
cd ImagePlay
qmake -tp vc -r

Visual Studio:

  • Open ImagePlay.sln
  • Set ImagePlay as startup project.
  • Run

Qt Creator:

  • Open ImagePlay.pro
  • Disable Shadow build in the project settings.
  • Run

macOS

Prerequisites

First make sure you have a recent version of XCode.

Install Homebrew

brew install qt5
brew link --force qt5
brew tap homebrew/science
brew install opencv3

Build

git clone --recursive https://github.com/cpvrlab/ImagePlay.git
cd ImagePlay
qmake -recursive
make 

Note Currently the build based on homebrews qt5.rb has some difficulties to find the correct libraries. You can use Qt Creator (Version 5.5) where you load the Imageplay.pro project with the Desktop QT 5.5 profile.

Linux

Prerequisites

The following packages are necessary to compile (Debian/Ubuntu).

sudo apt-get install qt5-default qt5-qmake git
sudo apt-get install libfreeimage-dev libopencv-core-dev libopencv-core-dev libopencv-imgproc-dev libopencv-highgui-dev

Build

git clone --recursive https://github.com/cpvrlab/ImagePlay.git
cd ImagePlay
qmake -recursive
make 

Install

sudo make install

The following files are installed:

  • /usr/bin/imageplay
  • /usr/share/imageplay/*

Debug build

Append CONFIG+=debug to the qmake -recursive command (note: In such a case, make current does not rebuild imageplay binary automatically)