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
After installing the dependencies, you can continue with the compile instructions later on this page (the more detailed way..).
116
116
117
117
## macOS
118
118
To install on OS X you either need [Homebrew](https://brew.sh/) or [Macport](https://www.macports.org/) but Homebrew is the recommended way to install the packages. To use Homebrew, XCode is required as well, use `brew doctor` to check your install.
119
119
120
120
First you need to install the dependencies for either the QT5 or QT6 build:
We assume a 64bit Windows 10. Install the following;
131
+
> [!NOTE]
132
+
> When downloading, please remember whether you have an x64 or an ARM64 architecture.
133
+
134
+
We assume a 64bit Windows 11. Install the following:
132
135
-[Git](https://git-scm.com/downloads) (Check: Add to PATH)
133
-
-[CMake (Windows win64-x64 installer)](https://cmake.org/download/) (Check: Add to PATH)
136
+
-[CMake (Windows Installer)](https://cmake.org/download/) (Check: Add to PATH)
134
137
-[Visual Studio 2022 Community Edition](https://visualstudio.microsoft.com/downloads/#visual-studio-community-2022)
135
138
- Select 'Desktop development with C++'
136
-
- On the right, just select `MSVC v143 VS 2022 C++ x64/x86-Buildtools`, `C++ ATL for latest v143 build tools (x86 & x64)` and latest `Windows 10 SDK`. Everything else is not needed.
cmake -DPLATFORM=windows -G "Visual Studio 17 2022" ..
230
+
cmake -G Ninja -DCMAKE_BUILD_TYPE=Release ..
245
231
```
246
232
247
-
**Run make to build Hyperion:**
248
-
The `-j $(nproc)` specifies the amount of CPU cores to use.
233
+
**Developers** should use:
249
234
```console
250
-
make -j $(nproc)
235
+
cmake -G Ninja -DCMAKE_BUILD_TYPE=Debug ..
251
236
```
252
237
253
-
On a mac you can use ``sysctl -n hw.ncpu`` to get the number of available CPU cores to use.
254
-
238
+
### 4. Make it:
255
239
```console
256
-
make -j $(sysctl -n hw.ncpu)
240
+
ninja
257
241
```
258
242
259
-
On Windows run:
260
-
```posh
261
-
cmake --build . --config Release -- -maxcpucount
262
-
```
263
-
Maintainer: To build installer, install [NSIS](https://nsis.sourceforge.io/Main_Page) and set env `VCINSTALLDIR="C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC"`
243
+
### 5. Additionals (Linux)
264
244
265
-
**Install hyperion into your system:**
266
-
Copy all necessary files to ``/usr/local/share/hyperion``
245
+
**Install hyperion into your system:**\
246
+
Copies all required files to ``/usr/local/share/hyperion``
267
247
```console
268
-
sudo make install/strip
248
+
sudo cmake --build . --target install/strip
269
249
```
270
250
271
-
If you want to install into another location call this before installing
272
-
251
+
**If you want to install into another location call this before installing:**
0 commit comments