Wiki

Clone wiki

SceneGate Viewer / Build Instructions: / Linux

Build Instructions: Linux

11/14/2019

Known bug: Audio driver not loaded but is in work

Repository (PDF with images available in Downloads)

Tested on fresh install of Ubuntu 18.04

In a terminal :
$ sudo apt-get update

$ sudo apt-get upgrade

$ sudo add-apt-repository ppa:ubuntu-toolchain-r/test

$ sudo apt install --install-recommends build-essential manpages-dev software-properties-common cmake mercurial clang git python2.7 python-pip doxygen ninja-build

$ sudo update-alternatives --config cc
->Select clang

$ sudo update-alternatives --config c++
->Select clang++

$ sudo pip install --upgrade pip

$ sudo pip install autobuild

$ export AUTOBUILD_PLATFORM_OVERRIDE=linux64

$ sudo dpkg --add-architecture i386

$ sudo apt update

$ sudo apt install --install-recommends libx11-dev libgl1-mesa-dev libxrender-dev libidn11-dev libglu1-mesa-dev zlib1g-dev libssl-dev libogg-dev libpng-dev libdbus-glib-1-dev libgtk2.0-dev libopenal-dev libvorbis-dev libalut-dev libapr1-dev libjpeg-dev libaprutil1-dev libboost-dev libc-ares-dev libxmlrpc-epi-dev

Download the Scenegate viewer with ‘clone’ (change User by the name of your Bitbucket account) or download the zip on the website:
$ git clone https://User@bitbucket.org/imadevelopmentteam/scenegate-viewer.git

Go to the scenegate directory (the following command is for the clone download) :
$ cd /imadevelopmentteam-scenegate-viewer

Change to the development branch
$ git checkout remotes/origin/SceneGate

Launch the building of the viewer :
$ autobuild build -A 64 -c Release

TO-DO: Update this package from the source on Github, the repository of the package must be changed. Right now packages use by the viewer are mostly downloaded from the Alchemy Viewer repository, those downloaded files fill two conditions to be recognized by the autobuild instruction: have a correct filename and the file contains autobuild-package.xml, include, lib and LICENSES. The updated version on github does not fill those two conditions. Until this update do the following instruction.

The building will stop because there is an error with “google_breakpad” so replace it with an updated version :

$ git clone https://github.com/google/breakpad.git

$ cp -r breakpad/src/. build-linux-x86_64/packages/include/google_breakpad

Rebuild it may take some time :
$ autobuild build -A 64 -c Release

Launching the SceneGate Viewer:

Binary code is in the file build-linux-x86_64/newview

$ cd /build-linux-x86_64/newview/packaged

$ ./scenegate

If you run across the media_plugin_cef failure message, installing these packages may help
$ sudo apt install libnss3:i386 libnspr4:i386 libxtst6:i386 libgconf-2-4:i386 libxss1:i386

Updated