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
### 2. [Build a HyperHDR installer for any supported Linux system on any system using Docker](https://github.com/awawa-dev/HyperHDR/wiki/Compiling-HyperHDR#build-a-hyperhdr-installer-for-any-supported-linux-system-on-any-system-using-docker)
### 2. [Build a HyperHDR installer for any supported Linux system on any system using Docker](#build-a-hyperhdr-installer-for-any-supported-linux-system-on-any-system-using-docker)
We assume a 64bit Windows 10. Install the following;
92
+
We assume a 64bit Windows 10. Install the following:
93
+
102
94
-[Git](https://git-scm.com/downloads) (Check during installation: Add to PATH)
103
95
-[CMake (Windows win64-x64 Installer)](https://cmake.org/download/) (Check during installation: Add to PATH)
104
96
-[Visual Studio 2022 Community Edition](https://visualstudio.microsoft.com/downloads/)
105
-
- Select 'Desktop development with C++'
106
-
- On the right, just select `MSVC v143 VS 2022 C++ x64/x86-Buildtools` and latest `Windows 10 SDK`. Everything else is not needed, but you can stay with default selection.
97
+
- Select 'Desktop development with C++'
98
+
- On the right, just select `MSVC v143 VS 2022 C++ x64/x86-Buildtools` and latest `Windows 10 SDK`. Everything else is not needed, but you can stay with default selection.
107
99
-[OpenSSL](https://slproweb.com/products/Win32OpenSSL.html) (for QT5.15-6.2: OpenSSL v1.1.1, for QT6: OpenSSL 3)
-[Python 3 (Windows x86-64 executable installer)](https://www.python.org/downloads/windows/) (Check during installation: Add to PATH and Debug Symbols)
110
-
- Open a console window and execute `pip install aqtinstall`.
111
-
- Now we can download Qt to _C:\Qt_`mkdir c:\Qt && aqt install -O c:\Qt 6.8.3 windows desktop win64_msvc2022_64 -m qtserialport`
112
-
- May need to add QT6 path before compiling, for example: `set CMAKE_PREFIX_PATH=C:\Qt\6.8.3\msvc2022_64\lib\cmake\` or for older QT5 `set Qt5_Dir=C:\Qt\5.15.2\msvc2019_64\lib\cmake\Qt5\`
102
+
- Open a console window and execute `pip install aqtinstall`.
103
+
- Now we can download Qt to _C:\Qt_`mkdir c:\Qt && aqt install -O c:\Qt 6.8.3 windows desktop win64_msvc2022_64 -m qtserialport`
104
+
- May need to add QT6 path before compiling, for example: `set CMAKE_PREFIX_PATH=C:\Qt\6.8.3\msvc2022_64\lib\cmake\` or for older QT5 `set Qt5_Dir=C:\Qt\5.15.2\msvc2019_64\lib\cmake\Qt5\`
113
105
- Optional for creating installer packages: [NSIS 3.x](https://sourceforge.net/projects/nsis/files/NSIS%203/) ([direct link](https://sourceforge.net/projects/nsis/files/latest/download))
114
106
115
-
Hint: after you execute the configuration command in the build folder (for example ```cmake -DCMAKE_BUILD_TYPE=Release ..```) you should receive *.sln solution project file that can be opened in Visual Studio. Select `hyperhdr` project as default for the solution to run it after compilation.
107
+
> [!TIP]
108
+
> After you execute the configuration command in the build folder (for example ```cmake -DCMAKE_BUILD_TYPE=Release ..```) you should receive *.sln solution project file that can be opened in Visual Studio. Select `hyperhdr` project as default for the solution to run it after compilation.
# Build a HyperHDR installer for any supported Linux system on any system using Docker
188
181
189
-
All you need is Docker and bash, which is available on every supported system, even on Windows where you only need to enable "Windows Subsystem for Linux". You don't need to install any packages to build HyperHDR because the script uses Docker images provided by https://github.com/awawa-dev/HyperHDR.dev.docker which contain everything you need to build the installer. Thanks to this, you can compile eg. the aarch64 HyperHDR installer for Raspberry Pi even on a PC. Run the `build.sh` script in the main directory.
182
+
All you need is Docker and bash, which is available on every supported system, even on Windows where you only need to enable "Windows Subsystem for Linux". You don't need to install any packages to build HyperHDR because the script uses Docker images provided by https://github.com/awawa-dev/HyperDockerBuilder which contain everything you need to build the installer. Thanks to this, you can compile eg. the aarch64 HyperHDR installer for Raspberry Pi even on a PC. Run the `build.sh` script in the main directory.
190
183
191
184
```console
192
185
pi@ubuntu:~/hyperhdr$ ./build.sh
@@ -202,7 +195,7 @@ DISTRO_NAME | DISTRO_VERSION | ARCHITECTURE - these are only for linux targets
202
195
debian | bookworm | amd64
203
196
debian | trixie | armhf
204
197
debian | trixie | arm64
205
-
debian | trixie | amd64
198
+
debian | trixie | amd64
206
199
ubuntu | jammy | amd64
207
200
ubuntu | noble | amd64
208
201
ubuntu | questing | amd64
@@ -225,7 +218,7 @@ The `build.sh` script can also be used to natively build macOS/Windows installer
225
218
226
219
----
227
220
228
-
# Github Action (online - easiest)
221
+
# Online:Github Action
229
222
230
223
Fork HyperHDR project. Now you must enable project's `Settings → Actions → Actions permissions → Allow all actions and reusable workflows` and save it.
231
224
Once you've done this, any change, even using the Github online editor, will immediately trigger the build in the Actions tab. If this did not happen, you probably did not enable the option described or did it later after making the changes.
0 commit comments