MuseScore compile issue on macOS 10.11.6 / Xcode 8.2.1 / Qt 5.9.8

• Dec 14, 2019 - 16:23

(I have a 12y-old iMac which is the only computer I have access to install the software (work PC is locked down). I am trying to compile MuseScore on the above combination of macOS/Xcode/Qt, to help with some problematic strings that have bugging me for a while)

I have been following the instructions from
Compile instructions (macOS 10.10+) - Git

Step 1 states "Install the latest version of Xcode from the Mac App Store"

Xcode 10.3 is the latest available version
Xcode 8.2.1 is the latest supported version of Xcode on macOS 10.11.6 as per Wikipedia:Xcode . I managed to install this version.

I used brew to install the prerequisite packages
Other than the older version of Xcode, I was able to meet all other requirements.
Are there any older versions of Xcode known not to work (e.g. is Xcode 8.2.1 known to be too old?)

As part of step
make -f Makefile.osx release
I get the below error message

Undefined symbols for architecture x86_64:
"Ms::ApiInfo::apiKeyHeader", referenced from:
Ms::ApiRequest::buildRequest() const in loginmanager.o
Ms::ApiWebEngineRequestInterceptor::interceptRequest(QWebEngineUrlRequestInfo&) in loginmanager.o
"Ms::ApiInfo::clientIdHeader", referenced from:
Ms::ApiRequest::buildRequest() const in loginmanager.o
Ms::ApiWebEngineRequestInterceptor::interceptRequest(QWebEngineUrlRequestInfo&) in loginmanager.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

** BUILD FAILED **

The following build commands failed:
Ld build.release/mscore/Release/mscore.app/Contents/MacOS/mscore normal x86_64
(1 failure)
make: *** [release] Error 65

Any help would be greatly appreciated. I am also on Telegram, riaanvn.


Comments

Thanks

  • Running Qt's MaintenanceTool shows QT 5.9.8/WebEngine installed, in addition to QT 5.9.8/macOS
  • The size of the 5.9.8 directory (with only macOS and WebEngine selected/installed)
    du -ms 5.9.8
    2558 5.9.8
  • The error messages for someone not having Qt installed (recent thread you were providing input on) show different error messages for when WebEngine is not installed
    https://musescore.org/en/node/296524
  • The only post-Qt-install related setting I have is
    export PATH=$PATH:~/Qt/5.9/clang_64/bin in .bash_profile (echo $PATH reflects it)

If you think there is a point, I can remove and re-install QT 5.9.8/WebEngine but I doubt that this is the issue.

In reply to by mattmcclinch

Thanks mattmcclinch. Until we get this merged (or in case we don't), could you provide the command(s) to pull the patch, patch the source tree, as well as exclude/revert the patch so it does not get included with a PR (or anything else you consider relevant)? (those are the things I can think of). I will expand the macOS 10.10 GIT page.

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