BoomingTech / Piccolo

Piccolo (formerly Pilot) – mini game engine for games104

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Fail to compile on M1 Macbook

easycodesniper-afk opened this issue · comments

Failed while run script cmake --build build --config Release

Error log here:

note: Run script build phase 'CMake PostBuild Rules' will be run during every build because the option to run the script phase "Based on dependency analysis" is unchecked. (in target 'PiccoloParser' from project 'Piccolo')
** BUILD FAILED **

The following build commands failed:
Ld /Users/XXX/work/Piccolo/engine/bin/PiccoloParser normal (in target 'PiccoloParser' from project 'Piccolo')

Desktop | 桌面环境

  • OS: MacOS
  • Version Ventura
  • CPU & GPU Apple M1 Pro
  • Memory 32GB
  • Homebrew clang version 17.0.6 Target: x86_64-apple-darwin22.6.0
  • cmake version 3.28.3

Ohhhh, I found that my llvm is 'x86_64' version, when I reinstall it as 'arm' version, this problem is done.