@@ -53,28 +53,40 @@ Build APM Planner
5353Linux
5454=====
5555
56- Building on Linux (tested against Ubuntu 18.04 LTS) :
57- (Use Qt5.9.5+ suggested Qt5.12.5)
56+ 1 ) Install the required packages :
57+ ---------------------------------
5858
59- (** NOTE:** There is an error in 14.04LTS with libxcb crashing sometimes, try this [ fix] ( https://gist.github.com/slimsag/a26d838ccc4480ce21bc ) )
6059
61- (** NOTE:** If you are using 14:04LTS or other linux and instructions below are not working do it [ 'The Easy Way'] ( BUILD-EASY.md ) )
62-
63- 1 ) Install the required packages:
60+ ** Packages needed on Ubuntu 18.04 LTS:**
6461
6562Be sure to run apt-get update first
6663
64+
6765```
6866sudo apt-get update
6967sudo apt-get install qt5-qmake qt5-default \
7068 qtscript5-dev libqt5webkit5-dev libqt5serialport5-dev \
71- libqt5svg5-dev qtdeclarative5-qtquick2-plugin libqt5serialport5-dev \
69+ libqt5svg5-dev qtdeclarative5-qtquick2-plugin \
7270 libqt5opengl5-dev qml-module-qtquick-controls
7371sudo apt-get install git libsdl1.2-dev libsndfile-dev \
7472 flite1-dev libssl-dev libudev-dev libsdl2-dev python-serial python-pexpect
7573```
7674
77- In Fedora (tested against Fedora 21), use:
75+
76+ ** Packages needed on Ubuntu 22.04 LTS:**
77+
78+ (** NOTE:** On Ubuntu 22.04 use only the native (ubuntu) Qt version 5.15.3 as the official Qt 5.15.2 which comes with the Qt Maintenance tool only supports OpenSSL 1.1.1 which is not supported by Ubuntu 22.04 anymore.)
79+
80+ Be sure to run apt-get update first
81+
82+ ```
83+ sudo apt-get update
84+ sudo apt-get install qt5-qmake qtbase5-dev qtscript5-dev libqt5webkit5-dev libqt5serialport5-dev libqt5svg5-dev libqt5opengl5-dev qml-module-qtquick-controls
85+ sudo apt-get install git libsdl1.2-dev libsndfile1-dev flite1-dev libssl-dev libudev-dev libsdl2-dev
86+ ```
87+
88+
89+ ** Packages needed on Fedora (tested against Fedora 21), use:**
7890
7991```
8092sudo yum update
@@ -87,13 +99,15 @@ sudo yum install SDL-devel libsndfile-devel \
8799```
88100
891012 ) Clone the repository in your workspace:
102+ ------------------------------------------
90103
91104```
92105cd ~/workspace
93106git clone https://github.com/diydrones/apm_planner
94107```
95108
961093 ) Build APM Planner:
110+ ---------------------
97111
98112```
99113cd ~/workspace/apm_planner
@@ -102,13 +116,15 @@ make
102116```
103117
1041184 ) Run APM Planner:
119+ -------------------
105120
106121```
107122./release/apmplanner2
108123```
109124
110- 5 ) Permanent installation (optional, if you'd like to install APM Planner in a fixed location)
111-
125+ 5 ) Permanent installation (optional, if you'd like to install APM Planner in a fixed location):
126+ -----------------------------------------------------------------------------------------------
127+
112128There are two ways to do this:
113129
114130a) Using Debuild:
0 commit comments