Community AlphaAlpha MUADMINS
ENEnglish
Sign in
On MuADMINSConfig ScannerDrop your files zip: rates, drops, spots, limitsOpenOn MuADMINSMeet us on DiscordAsk for help, share what you are building and talk MU with other server owners.Open
← All solutions

MuMain: the macOS build fails with Homebrew LLVM 23: 'use of undeclared identifier malloc' in the spdlog bundled format.h

✓ Confirmed in the issue

Tool: MuMain

  1. The macOS toolchain picks Homebrew LLVM when it is installed. With LLVM 23.1.1 the build stops with format.h:747:28: error: use of undeclared identifier 'malloc' (spdlog v1.15.3 bundles fmt 11.2.0) and WinIni.cpp:154:35: error: no member named 'strtol' in namespace 'std'.
  2. Update to the main branch after PR #704 (merged on 2026-10-15). It pins spdlog v1.17.0 (fmt 12.1.0) and includes <cstdlib> in WinIni.cpp.
  3. Build again: cmake --preset macos-arm64 then cmake --build --preset macos-arm64-release.

“With spdlog v1.17.0, the native macOS Release build completes and CTest passes all 424 tests”

In the issue, 2026-10-08 (original words)
GitHub (sven-n/MuMain) · 2026-10-08
Did this help?

Still stuck? Search MuGPS Ask the MU Assistant

MuADMINS Community Alpha: free and community made, in active development.