You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+149-7Lines changed: 149 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -20,12 +20,16 @@ Issues should be reported via the forum here: https://forum.libreelec.tv/board/4
20
20
21
21
# **How to compile the USB/SD Creator**
22
22
23
-
Build instructions are supplied for Windows x64 (Installer and Portable) and MacOS (Intel and Apple Silicon). Instructions tested locally on Mac Sonoma and Windows 11.
23
+
Build instructions are supplied for Windows x64 (Installer and Portable), macOS (Intel and Apple Silicon) and Ubuntu Linux (x86_64). Instructions have been tested locally on Windows 11, macOS Sonoma and Ubuntu 24.04.
24
24
25
-
It is possible to build for Linux, but for now instructions are TBD.
25
+
-[Windows](#Windows)
26
+
-[macOS](#macOS)
27
+
-[Linux](#Linux)
26
28
27
29
# Windows
28
30
31
+
Note: the offical release for Windows is built using Visual Studio
32
+
29
33
## Install pre-requisites
30
34
31
35
### 1. Install 7zip
@@ -66,6 +70,7 @@ Add msys2 to PATH: `C:\msys64\mingw64\bin`. Then do a restart of windows.
66
70
Note: you must use a standard commnd prompt when using mingw for the build.
67
71
68
72
### 2. Clone Git Repo
73
+
69
74
Clone the repository to `%UserProfile%/usb-sd-creator`
@@ -141,6 +152,7 @@ Install Visual Studio Community 2022 from: https://visualstudio.microsoft.com/vs
141
152
Note that the command prompt is to be used thoughtout the MSVC build must be started from a standard command prompt for `x64` as follows: `"C:/Program Files/Microsoft Visual Studio/2022/Community/Common7/Tools/VsDevCmd.bat" -arch=x64 -host_arch=x64`.
142
153
143
154
### 2. Clone Git Repo
155
+
144
156
Clone the repository to `%UserProfile%/usb-sd-creator`
If you wish to build the install `.dmg` (not required for development), you can create it using the following command. Note that code signing cannot be done locally (unless you have your own certs).
320
+
321
+
#### Debug build
322
+
323
+
```
324
+
cd build
325
+
cpack -C Debug
326
+
```
327
+
328
+
#### Release build
329
+
330
+
```
331
+
cpack --preset release
332
+
```
333
+
334
+
335
+
# Linux
336
+
337
+
### 1. Install build tools
338
+
339
+
```
340
+
sudo apt install build-essential
341
+
sudo apt install libgl-dev
342
+
sudo apt install cmake
343
+
sudo apt install git
344
+
```
345
+
346
+
### 2. Setup Qt 6.7.2
347
+
348
+
#### Install pre-requisites (Pip and Pipx)
349
+
350
+
```
351
+
sudo apt install python3-pip pipx
352
+
pipx ensurepath
353
+
```
354
+
355
+
Now install `aqt`, a command line package manager for `Qt`:
0 commit comments