Skip to content

Commit 349e595

Browse files
committed
Add instructions on how to build for Ubuntu 20.04
1 parent e56d186 commit 349e595

File tree

2 files changed

+9
-3
lines changed

2 files changed

+9
-3
lines changed

.github/workflows/build-avian.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ on:
77
- develop
88
- V4.2
99
paths-ignore:
10-
- 'doc/**'
11-
- '**.md'
10+
- "doc/**"
11+
- "**.md"
1212
pull_request:
1313
branches:
1414
- master

doc/build-ubuntu-20.04.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -265,25 +265,32 @@ make -j"$(nproc)"
265265
## Troubleshooting
266266

267267
### "gcc-10: command not found"
268+
268269
Ensure you installed `gcc-10` and `g++-10`:
270+
269271
```bash
270272
sudo apt-get install -y gcc-10 g++-10
271273
```
272274

273275
### Build fails with "Qt5Core not found"
276+
274277
The depends system should have built Qt. If this error persists, try:
278+
275279
```bash
276280
rm -rf depends/built
277281
CC=gcc-10 CXX=g++-10 make -C depends HOST=x86_64-pc-linux-gnu -j"$(nproc)"
278282
```
279283

280284
### Out of disk space during depends build
285+
281286
The depends system can use 5-10GB of disk space. Ensure you have sufficient space:
287+
282288
```bash
283289
df -h
284290
```
285291

286292
### Build hangs or takes very long
293+
287294
This is normal for the first build. The depends system downloads and compiles many libraries. Use `-j$(nproc)` for parallel builds, which significantly speeds up the process.
288295

289296
---
@@ -293,4 +300,3 @@ This is normal for the first build. The depends system downloads and compiles ma
293300
- See [INSTALL.md](../INSTALL.md) for general installation instructions
294301
- See [README.md](../README.md) for usage documentation
295302
- Join the community on GitHub Discussions for questions and support
296-

0 commit comments

Comments
 (0)