Building pct-online software: Difference between revisions

From pCT
Ral013 (talk | contribs)
mNo edit summary
Vei046 (talk | contribs)
No edit summary
Line 15: Line 15:
Using a terminal in the location where you want to install the pct-online software:
Using a terminal in the location where you want to install the pct-online software:


git clone <pct-online repository link> (Use clone with SSH)
<syntaxhighlight lang="bash">
$ git clone git@git.app.uib.no:pct/pct-online.git


cd pct-online
$ cd pct-online


• mkdir build
$ git checkout v1.0


• cd build
$ mkdir build


• cmake ..
$ cd build


make
$ scl enable devtoolset-8 bash
 
$ cmake3 ..
 
$ make
</syntaxhighlight>

Revision as of 08:05, 23 June 2021

You need access to the project at https://git.app.uib.no/pct

This is mainly a guide for how to install on a Ubuntu system, but could be used with other operating systems with minor to no changes.

Requires devtoolset-7 or higher, gcc 7.3 or higher.

The software requires a special installation of ROOT. The easiest way to install the correct version is to follow this guide https://wiki.uib.no/pct/index.php/Building_ROOT under Installation for pCT-Online on Ubuntu systems.

Make sure you have installed all other requirements: https://wiki.uib.no/pct/img_auth.php/d/d5/Requirements.pdf

If everything above was done properly the rest of the steps below should result in a working version of the pct-online software.


Using a terminal in the location where you want to install the pct-online software:

<syntaxhighlight lang="bash"> $ git clone git@git.app.uib.no:pct/pct-online.git

$ cd pct-online

$ git checkout v1.0

$ mkdir build

$ cd build

$ scl enable devtoolset-8 bash

$ cmake3 ..

$ make </syntaxhighlight>