@@ -38,7 +38,7 @@ The Release and Debug builds of RRA will be available in the build/release and b
38
38
39
39
### Building on Ubuntu
40
40
Required dependencies can be installed as follows:
41
-
41
+ ``` bash
42
42
sudo apt-get update
43
43
sudo apt-get install build-essential python3 chrpath
44
44
sudo apt-get install python3-pip
@@ -49,7 +49,7 @@ sudo apt-get install git-lfs
49
49
sudo apt-get install python3-sphinx
50
50
sudo apt-get install libxcb-xinerama0
51
51
sudo apt-get install mesa-common-dev libglu1-mesa-dev
52
-
52
+ ```
53
53
Qt V5.15.2 can be installed using the Qt online installer available from the Qt 5.15.2 release page here: https://www.qt.io/blog/qt-5.15.2-released
54
54
As an alternative, the Qt 5.12.6 offline installer can be used here: https://download.qt.io/archive/qt/5.12/5.12.6/ (the .run file) and installed
55
55
to ~ /Qt/Qt5.12.6 (the default of ~ /Qt5.12.6 will not work).
@@ -61,23 +61,24 @@ the libraries in the post build step. If needed, the XCB library files (libxcb*)
61
61
Suite download found at https://gpuopen.com/tools/ .
62
62
63
63
Run the python pre_build.py in the build folder.
64
-
65
- $ python3 pre_build.py
66
-
64
+ ``` bash
65
+ python3 pre_build.py
66
+ ```
67
67
Or run the pre_build.py script with the -qt option to specify another version of Qt (also use the --disable-extra-qt-lib-deploy flag since the XCB
68
68
libraries aren't needed). For example:
69
-
70
- $ python3 pre_build.py --qt 5.12.6 --disable-extra-qt-lib-deploy
71
-
69
+ ``` bash
70
+ python3 pre_build.py --qt 5.12.6 --disable-extra-qt-lib-deploy
71
+ ```
72
72
The pre_build.py script will construct the output folders and build the necessary makefiles.
73
73
To build the release build, use:
74
-
75
- $ make -j5 -C linux/make/release
76
-
74
+ ``` bash
75
+ make -j5 -C linux/make/release
76
+ ```
77
77
Similarly for the debug build, use:
78
-
79
- $ make -j5 -C linux/make/debug
80
-
78
+ ``` bash
79
+ make -j5 -C linux/make/debug
80
+ ```
81
81
Alternatively, building can be done directly from the prebuild script with the --build option
82
-
83
- $ python3 pre_build.py --build
82
+ ``` bash
83
+ python3 pre_build.py --build
84
+ ```
0 commit comments