mirror of
https://github.com/WerWolv/ImHex.git
synced 2026-03-27 23:37:05 -05:00
doc: add instructions to use ImHex on macOS without a GPU
This commit is contained in:
2
dist/compiling/macos.md
vendored
2
dist/compiling/macos.md
vendored
@@ -20,3 +20,5 @@ cmake -G "Ninja" \
|
||||
..
|
||||
ninja install
|
||||
```
|
||||
|
||||
If your MacOS installation doesn't have graphic acceleration, you can check the [MacOS NoGPU guide](./macos_nogpu.md)
|
||||
10
dist/compiling/macos_nogpu.md
vendored
Normal file
10
dist/compiling/macos_nogpu.md
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
### Compiling and running ImHex on macOS without a GPU
|
||||
|
||||
In order to run ImHex on a macOS installation without a GPU, you need a custom build of GLFW. You can build it this way:
|
||||
|
||||
Note: only tested on macOS x86
|
||||
|
||||
1. `git clone --depth 1 https://github.com/glfw/glfw`
|
||||
2. `git apply {IMHEX_DIR}/dist/macOS/0001-glfw-SW.patch` (file is [here](../macOS/0001-glfw-SW.patch) in the ImHex repository. [Source](https://github.com/glfw/glfw/issues/2080).)
|
||||
3. `cmake -G "Ninja" -DBUILD_SHARED_LIBS=ON ..`
|
||||
4. `ninja install`, or `ninja` and figure out how to make ImHex detect the shared library
|
||||
Reference in New Issue
Block a user