Cannot Build MuseScore in M1 Mac

• Aug 10, 2021 - 10:52

Note:
I don't know where to post this topic. So I posted it here.
If you think you posted it in the wrong place, please let me know a good place to post this topic.

Environment

  • MacBook Pro "13 2020
    • Processor: Apple M1
    • RAM: 16GB
    • OS: macOS Big Sur 11.4

What I do

I do type in terminal which written in:
https://musescore.org/en/handbook/developers-handbook/compilation/compi…

(At the musescore directory)

mkdir my_build_dir
cd my_build_dir
cmake .. -DCMAKE_INSTALL_PREFIX=my_install_dir -GXcode
cmake . --build

How it came

(After cmake . --build )

(...)
** BUILD FAILED **

The following build commands failed:
CompileC (...)/musescore/my_build_dir/src/framework/telemetry/google_crashpad_client/mscore.build/Debug/gcrashpad.build/Objects-normal/x86_64/mocs_compilation.o /Users/nanggu/MuseScore/build_arm64/src/framework/telemetry/google_crashpad_client/gcrashpad_autogen/mocs_compilation.cpp normal x86_64 c++ com.apple.compilers.llvm.clang.1_0.compiler
(1 failure)

How can I solve this problem?


Comments

In reply to by Jojo-Schmitz

I also tried it. When type make -f Makefile.osx revision, I got this:

(...) % sudo make -f Makefile.osx revision
make: Makefile.osx: No such file or directory
make: *** No rule to make target `Makefile.osx'. Stop.

and I did another thing(Compile instructions (MU4 macOS with QtCreator) ), but I got stuck in CMake configuration at Qt Creator.

Do you still have an unanswered question? Please log in first to post your question.