Files
imhex/dist/compiling/macos.md
Jacques Pienaar ed1f120b0b build: Remove --no-lock flag from macOS build instructions (#2584)
### Problem description
-no-lock CLI options has been removed
https://github.com/Homebrew/homebrew-bundle/pull/1509.

### Implementation description
Remove flag from invocation.
2025-12-25 21:24:49 +01:00

727 B

Compiling ImHex on macOS

On macOS, ImHex is built through regular GCC and LLVM clang.

  1. Clone the repo using git clone https://github.com/WerWolv/ImHex --recurse-submodules
  2. Install all the dependencies using brew bundle --file dist/macOS/Brewfile
  3. Build ImHex itself using the following commands:
cd ImHex
mkdir -p build
cd build
CC=$(brew --prefix llvm)/bin/clang        \
CXX=$(brew --prefix llvm)/bin/clang++     \
OBJC=$(brew --prefix llvm)/bin/clang      \
OBJCXX=$(brew --prefix llvm)/bin/clang++  \
cmake -G "Ninja"                          \
  -DCMAKE_BUILD_TYPE=Release              \
  -DCMAKE_INSTALL_PREFIX="./install"      \
  -DIMHEX_GENERATE_PACKAGE=ON             \
  ..
ninja install