Community AlphaAlpha MUADMINS
PLPolski
Zaloguj się
Na MuADMINSWspółtwórzPomagaj i zdobywaj Community PointsOtwórzNa MuADMINSHarmonogram eventówBlood Castle, Devil Square, inwazje w tygodniowej siatceOtwórz
← Wszystkie rozwiązania

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

✓ Potwierdzone w zgłoszeniu

Narzędzie: 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.

Osoba, która zgłosiła problem, potwierdziła, że to go naprawiło.

Oryginalne słowa (angielski)

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

W zgłoszeniu, 2026-10-08 (oryginalne słowa)
GitHub (sven-n/MuMain) · 2026-10-08
Czy to pomogło?

Nadal masz problem? Szukaj w MuGPS Zapytaj Asystenta MU

MuADMINS Community Alpha: za darmo, tworzone przez społeczność, w aktywnym rozwoju.