Can't compile Musescore on Mac

• Jul 18, 2018 - 07:16

I followed all the instructions on https://musescore.org/en/handbook/developers-handbook/compilation/compi… and am still unable to get Musescore to compile.

This includes
brew install libogg libsndfile libvorbis pkg-config portaudio jack lame cmake git
and
export PATH=$PATH:/Users/me/Qt/5.11.1/clang_64/bin

Doing qmake -v gives me
QMake version 3.1
Using Qt version 5.11.1 in /Users/me/Qt/5.11.1/clang_64/lib

I get this error when running make -f Makefile.osx release

CMake Error at CMakeLists.txt:62 (include):
include could not find load file:

FindQt5

CMake Error at CMakeLists.txt:63 (include):
include could not find load file:

UsePkgConfig1

CMake Error at CMakeLists.txt:64 (include):
include could not find load file:

FindPulseAudio

CMake Error at CMakeLists.txt:65 (include):
include could not find load file:

GetCompilerVersion

CMake Error at CMakeLists.txt:66 (include):
include could not find load file:

CreatePrecompiledHeader

MuseScore SoundFont is up to date.
-- ALSA support disabled
-- PulseAudio support disabled
CMake Error at CMakeLists.txt:332 (include):
include could not find load file:

FindLame

CMake Error at CMakeLists.txt:378 (PKGCONFIG1):
Unknown CMake command "PKGCONFIG1".

-- Configuring incomplete, errors occurred!
See also "/Users/me/Documents/MuseScore/build.release/CMakeFiles/CMakeOutput.log".
xcodebuild: error: 'mscore.xcodeproj' does not exist.
xcodebuild: error: 'mscore.xcodeproj' does not exist.
make: *** [release] Error 66

Any ideas how to solve this?


Comments

What version of Xcode are you using ?
I was seeing similar errors with High Sierra decided it was safe to finally upgrade so im running a supported OS. HS likes to install Xcode 10. I’ve found it depreciates a number of libraries, also breaks a few other things including brew and ruby.

What worked here was to clean out the installed compilers and associated dependencies then reload Xcode 9.4 and associated command line tools.

With a Clean / Updated / reinstalled Ruby and brew reinstalled reloading the dependencies solved things.

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