Fails to build with AEOLUS=ON
On FreeBSD 11.1, musescore-2.1 fails with these messages:
/usr/ports/audio/musescore/work/MuseScore-2.1/aeolus/aeolus.h:122:20: error: virtual function 'setState' has a different return type ('void') than the function it overrides (which has return type 'bool')
virtual void setState(const SynthesizerGroup&);
~~~~ ^
/usr/ports/audio/musescore/work/MuseScore-2.1/synthesizer/synthesizer.h:60:20: note: overridden virtual function is here
virtual bool setState(const SynthesizerGroup&) = 0;
~~~~ ^
/usr/ports/audio/musescore/work/MuseScore-2.1/aeolus/aeolus.cpp:89:17: error: use of undeclared identifier 'LC_ALL'
setlocale(LC_ALL, "C"); // scanf of floats does not work otherwise
^
Comments
That part of the code had been disabled for a reason, and since then it hasn't been adjusted to further changes elsewhere in the code. If those 2 errors are the only ones, you're actually pretty lucky.
In reply to That part of the code had… by Jojo-Schmitz
I was updating the FreeBSD port for the latest version, saw this option in CMakeLists.txt, and tried it. You should label it with the word or comment "broken" in CMakeLists.txt until fixed.
In reply to I was updating the FreeBSD… by yurivict
Well, it wasn't broken when it got disabled, it got disabled because of a row with the original author, Fons Adriaensen, how released the source as free software under GPL, but then disagreed with MuseScore using it.
And disabled coded doesn't get checked for whether it becomes broken at some time. Might be time to delete it, not sure.