Fails to build with AEOLUS=ON

• Aug 28, 2017 - 01:27

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 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.

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