Difference between revisions of "OpenCine.Build Instructions"

From apertus wiki
Jump to: navigation, search
Line 1: Line 1:
== Prerequisites ==
== Prerequisites ==
Installation will be described in the OS related sections.
Installation will be described in the OS related sections.
Line 15: Line 16:


;Qt 5.8 (same aplpies to 5.7)
;Qt 5.8 (same aplpies to 5.7)
* Download Qt installer from [[http://download.qt.io/official_releases/qt/5.8/5.8.0/$qt_install]]
* It's assumed that user will download the file to '''/home/<user>/Downloads'''
: You can do it through command line also: wget http://download.qt.io/official_releases/qt/5.8/5.8.0/$qt_install
* Download Qt installer from [[http://download.qt.io/official_releases/qt/5.8/5.8.0/qt-opensource-linux-x64-5.8.0.run]]
: Terminal command: '''wget''' http://download.qt.io/official_releases/qt/5.8/5.8.0/qt-opensource-linux-x64-5.8.0.run
* Set type to executable: '''chmod +x qt-opensource-linux-x64-5.8.0.run'''
* Run installer: '''./qt-opensource-linux-x64-5.8.0.run'''
* Click '''Next''' until path selection is shown, then select following path: '''/home/<user>/Qt''' <span style="color:#FF0000">(TODO: Add screenshot)</span>
* Click '''Next''', select '''x64 libraries''' and '''QtCreator''', deactivate other options, as they are not required<span style="color:#FF0000">(TODO: Add screenshot)</span>
* Start installation
* Afterwards you can proceed to the build from command line or in QtCreator
** Command line: Deactivate '''Launch QtCreator''', click Finish -> [[#Build from command line]]
* If you want to proceed build from command line, then deactivate '''Launc QtCreator''' option, otherwise leave it on and proceed with build in
 
 
== Build from command line ==

Revision as of 21:55, 1 March 2017

1 Prerequisites

Installation will be described in the OS related sections.

  • Ubuntu / LinuxMint
  • Qt 5.7 or 5.8
  • Git
  • CMake
  • GCC / G++
  • OpenGL headers (e.g. FreeGLUT3 dev package)
  • FFMPEG dev libraries

2 Ubuntu

Install required packages
sudo apt-get install git cmake build-essential freeglut3-dev libavformat-dev libswscale-dev libavfilter-dev libavdevice-dev libavresample-dev
Qt 5.8 (same aplpies to 5.7)
  • It's assumed that user will download the file to /home/<user>/Downloads
  • Download Qt installer from [[1]]
Terminal command: wget http://download.qt.io/official_releases/qt/5.8/5.8.0/qt-opensource-linux-x64-5.8.0.run
  • Set type to executable: chmod +x qt-opensource-linux-x64-5.8.0.run
  • Run installer: ./qt-opensource-linux-x64-5.8.0.run
  • Click Next until path selection is shown, then select following path: /home/<user>/Qt (TODO: Add screenshot)
  • Click Next, select x64 libraries and QtCreator, deactivate other options, as they are not required(TODO: Add screenshot)
  • Start installation
  • Afterwards you can proceed to the build from command line or in QtCreator
  • If you want to proceed build from command line, then deactivate Launc QtCreator option, otherwise leave it on and proceed with build in


3 Build from command line