Compile error in windows 7 (sp1) Qt Creater 3.1.1(based on qt 5.2.1)
I have the following compile warnings and errors. I am new to coding so please forbear.
Location of file ) \MuseScore\libmscore\pos.h:32: warning: scoped enums only available with -std=c++11 or -std=gnu++11 [enabled by default]
enum class TType : char { TICKS, FRAMES };
^
Location of file ) \MuseScore\libmscore\pos.h:32: warning: scoped enums only available with -std=c++11 or -std=gnu++11 [enabled by default]
enum class TType : char { TICKS, FRAMES };
^
Location of file ) \MuseScore\libmscore\pos.h:58: error: 'TType' is not a class or namespace
Pos(TempoMap*, TimeSigMap*, unsigned, TType type = TType::TICKS);
^
Location of file ) \MuseScore\libmscore\pos.h:64: error: 'TType' is not a class or namespace
unsigned time(TType t) const { return t == TType::TICKS ? tick() : frame(); }
^
Thanks for your help.
Comments
Please see http://musescore.org/nl/developers-handbook/compilation/compile-instruc…, we just recently upgraded to use Qt 5.3
But even with 5.2.1 you shouldn't see these errors, although the change that cause them (38c0d12) is younger than the change to the new Qt (b414f30).
Hmm, Qt Creator that comes with Qt 5.3 is version 3.1.1 build with Qt 5.2.1...
Are you using Qt 5.3?
I downloaded it yesterday and i thought that i got 5.3 but in the about box it says 5.2.1. It was build on May 16, 2014.
Qt Creator itself was build using Qt 5.2.1, but is can build MuseScore using Qt 5.3.
Actually I'm doing it several times a day, so know for sure that it work.
Did you install and setup as per http://musescore.org/nl/developers-handbook/compilation/compile-instruc…?
Yes I did that. I did not do the optional ones tho.
And followed all the steps in the developers handbook?
Yes
Try to find help on IRC
https://kiwiirc.com/client/irc.freenode.net/?nick=musescore|?#musescore
Ok I'll do that thanks for your help.
Automatically closed -- issue fixed for 2 weeks with no activity.