Community AlphaAlpha MUADMINS
VITiếng Việt
Đăng nhập
Trên MuADMINSConfig ScannerTải lên zip file của bạn: rate, rơi đồ, spot, giới hạnMởTrên MuADMINSGặp chúng tôi trên DiscordNhờ giúp đỡ, chia sẻ những gì bạn đang làm và trò chuyện về MU với các chủ server khác.Mở
← Tất cả giải pháp

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

✓ Đã xác nhận trong issue

Công cụ: 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.

Người mở issue đã xác nhận cách này đã sửa được lỗi.

Nguyên văn (Tiếng Anh)

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

Trong issue, 2026-10-08 (nguyên văn)
GitHub (sven-n/MuMain) · 2026-10-08
Cách này có giúp được bạn không?

Vẫn còn vướng mắc? Tìm trên MuGPS Hỏi Trợ lý MU

MuADMINS Community Alpha: miễn phí, do cộng đồng xây dựng, đang được phát triển tích cực.