Compiling 2.1 - problem with 'STRING_NONE'

classic Classic list List threaded Threaded
10 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Compiling 2.1 - problem with 'STRING_NONE'

MLutz
Hi, currently I'm trying to compile again 2.1, but there is one annoying error, that didn't occur before:

note.h:108: Error: ‘STRING_NONE’ was not declared in this scope
       int string                { STRING_NONE };
note.h:108: Error: cannot convert ‘<brace-enclosed initializer list>’ to ‘int’ in initialization
       int string                { STRING_NONE };
                                                       
Can someone help?
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Compiling 2.1 - problem with 'STRING_NONE'

lasconic
Administrator
On which OS? Do you have Qt 5.4 installed? Which version of GCC or Clang do you use?

lasconic

2017-03-13 17:43 GMT+01:00 MLutz <[hidden email]>:
Hi, currently I'm trying to compile again 2.1, but there is one annoying
error, that didn't occur before:

note.h:108: Error: ‘STRING_NONE’ was not declared in this scope
       int string                { STRING_NONE };
note.h:108: Error: cannot convert ‘<brace-enclosed initializer list>’ to
‘int’ in initialization
       int string                { STRING_NONE };

Can someone help?



--
View this message in context: http://dev-list.musescore.org/Compiling-2-1-problem-with-STRING-NONE-tp7580178.html
Sent from the MuseScore Developer mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Mscore-developer mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/mscore-developer


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Mscore-developer mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/mscore-developer
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Compiling 2.1 - problem with 'STRING_NONE'

Jojo-Schmitz
In reply to this post by MLutz
I'd supect some wrong compiler or compiler options?

-----Original Message-----
From: MLutz [mailto:[hidden email]]
Sent: Monday, March 13, 2017 5:43 PM
To: [hidden email]
Subject: [Mscore-developer] Compiling 2.1 - problem with 'STRING_NONE'

Hi, currently I'm trying to compile again 2.1, but there is one annoying error, that didn't occur before:

note.h:108: Error: ‘STRING_NONE’ was not declared in this scope
       int string                { STRING_NONE };
note.h:108: Error: cannot convert ‘<brace-enclosed initializer list>’ to ‘int’ in initialization
       int string                { STRING_NONE };
                                                       
Can someone help?



--
View this message in context: http://dev-list.musescore.org/Compiling-2-1-problem-with-STRING-NONE-tp7580178.html
Sent from the MuseScore Developer mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________
Mscore-developer mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/mscore-developer


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Mscore-developer mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/mscore-developer
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Compiling 2.1 - problem with 'STRING_NONE'

MLutz
In reply to this post by lasconic
Hi, I'm compiling on linuxmint xfe 18; I'm using qtcreator with qt 5.4.2; gcc is version 5.4
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Compiling 2.1 - problem with 'STRING_NONE'

ralfD
In reply to this post by MLutz
 
Am Montag, 13. März 2017 17:43 CET, MLutz <[hidden email]> schrieb:
 
> Hi, currently I'm trying to compile again 2.1, but there is one annoying
> error, that didn't occur before:
>
> note.h:108: Error: ‘STRING_NONE’ was not declared in this scope
>        int string                { STRING_NONE };
> note.h:108: Error: cannot convert ‘<brace-enclosed initializer list>’ to
> ‘int’ in initialization
>        int string                { STRING_NONE };

Hmm, static constants instead of enums and braced initializers are C++11 features.
Might it be possible that somehow you don't compile with C++11 enabled?

 HTH Ralf Mattes
                                                     

> Can someone help?
>
>
>
> --
> View this message in context: http://dev-list.musescore.org/Compiling-2-1-problem-with-STRING-NONE-tp7580178.html
> Sent from the MuseScore Developer mailing list archive at Nabble.com.
>
> ------------------------------------------------------------------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> _______________________________________________
> Mscore-developer mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/mscore-developer
 
 
 
 



------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Mscore-developer mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/mscore-developer
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Compiling 2.1 - problem with 'STRING_NONE'

MLutz
Really don't know what happened, as it hadn't been a problem before ...
And now again it compiles (at least the 2.1)

Probably it was a git mismatch ... - I now have to try to compile also my updated version (I applied changes from miwarre for the 2.1 branch ...)
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Compiling 2.1 - problem with 'STRING_NONE'

MLutz
Probably this is an issue in the branch "testAdd_LuteChanges", where I have applied all the changes from the first big PR of miwarre to enable bass strings for lute tablature ...
Unfortunately the files, that are mentioned in the error message, haven't been changed at all, so I have no idea ...

Here is the message of qt:
[ 13%] Building CXX object synthesizer/CMakeFiles/synthesizer.dir/msynthesizer.cpp.o
make[3]: Entering directory '/home/markus/gitMuseScore/MuseScore/build.debug'
In file included from /home/markus/gitMuseScore/MuseScore/libmscore/durationtype.h:17:0,
                 from /home/markus/gitMuseScore/MuseScore/libmscore/stafftype.h:19,
                 from /home/markus/gitMuseScore/MuseScore/libmscore/xml.h:17,
                 from /home/markus/gitMuseScore/MuseScore/midi/midifile.cpp:14:
/home/markus/gitMuseScore/MuseScore/libmscore/note.h:108:35: error: ‘STRING_NONE’ was not declared in this scope
       int string                { STRING_NONE };
                                   ^
/home/markus/gitMuseScore/MuseScore/libmscore/note.h:108:47: error: cannot convert ‘<brace-enclosed initializer list>’ to ‘int’ in initialization
       int string                { STRING_NONE };
                                               ^
In file included from /home/markus/gitMuseScore/MuseScore/libmscore/durationtype.h:17:0,
                 from /home/markus/gitMuseScore/MuseScore/libmscore/stafftype.h:19,
                 from /home/markus/gitMuseScore/MuseScore/libmscore/xml.h:17,
                 from /home/markus/gitMuseScore/MuseScore/fluid/sfont.cpp:30:
/home/markus/gitMuseScore/MuseScore/libmscore/note.h:108:35: error: ‘STRING_NONE’ was not declared in this scope
       int string                { STRING_NONE };
                                   ^
/home/markus/gitMuseScore/MuseScore/libmscore/note.h:108:47: error: cannot convert ‘<brace-enclosed initializer list>’ to ‘int’ in initialization
       int string                { STRING_NONE };
                                               ^
make[3]: Leaving directory '/home/markus/gitMuseScore/MuseScore/build.debug'
In file included from /home/markus/gitMuseScore/MuseScore/libmscore/durationtype.h:17:0,
                 from /home/markus/gitMuseScore/MuseScore/libmscore/stafftype.h:19,
                 from /home/markus/gitMuseScore/MuseScore/libmscore/xml.h:17,
                 from /home/markus/gitMuseScore/MuseScore/synthesizer/msynthesizer.cpp:18:
/home/markus/gitMuseScore/MuseScore/libmscore/note.h:108:35: error: ‘STRING_NONE’ was not declared in this scope
       int string                { STRING_NONE };
                                   ^
/home/markus/gitMuseScore/MuseScore/libmscore/note.h:108:47: error: cannot convert ‘<brace-enclosed initializer list>’ to ‘int’ in initialization
       int string                { STRING_NONE };
                                               ^
make[3]: Entering directory '/home/markus/gitMuseScore/MuseScore/build.debug'
[ 13%] Building CXX object libmscore/CMakeFiles/libmscore.dir/plugins.cpp.o
In file included from /home/markus/gitMuseScore/MuseScore/libmscore/durationtype.h:17:0,
                 from /home/markus/gitMuseScore/MuseScore/libmscore/input.h:17,
                 from /home/markus/gitMuseScore/MuseScore/libmscore/score.h:22,
                 from /home/markus/gitMuseScore/MuseScore/libmscore/plugins.h:20,
                 from /home/markus/gitMuseScore/MuseScore/libmscore/plugins.cpp:21:
/home/markus/gitMuseScore/MuseScore/libmscore/note.h:108:35: error: ‘STRING_NONE’ was not declared in this scope
       int string                { STRING_NONE };
                                   ^
/home/markus/gitMuseScore/MuseScore/libmscore/note.h:108:47: error: cannot convert ‘<brace-enclosed initializer list>’ to ‘int’ in initialization
       int string                { STRING_NONE };
                                               ^
midi/CMakeFiles/midi.dir/build.make:61: recipe for target 'midi/CMakeFiles/midi.dir/midifile.cpp.o' failed
make[3]: Leaving directory '/home/markus/gitMuseScore/MuseScore/build.debug'
make[3]: *** [midi/CMakeFiles/midi.dir/midifile.cpp.o] Error 1
make[2]: *** [midi/CMakeFiles/midi.dir/all] Error 2
make[2]: *** Waiting for unfinished jobs....
CMakeFiles/Makefile2:778: recipe for target 'midi/CMakeFiles/midi.dir/all' failed
[ 13%] Building CXX object libmscore/CMakeFiles/libmscore.dir/segmentlist.cpp.o
fluid/CMakeFiles/fluid.dir/build.make:180: recipe for target 'fluid/CMakeFiles/fluid.dir/sfont.cpp.o' failed
make[3]: Leaving directory '/home/markus/gitMuseScore/MuseScore/build.debug'
make[3]: *** [fluid/CMakeFiles/fluid.dir/sfont.cpp.o] Error 1
make[2]: *** [fluid/CMakeFiles/fluid.dir/all] Error 2
CMakeFiles/Makefile2:958: recipe for target 'fluid/CMakeFiles/fluid.dir/all' failed
[ 13%] Building CXX object libmscore/CMakeFiles/libmscore.dir/fingering.cpp.o
In file included from /home/markus/gitMuseScore/MuseScore/libmscore/durationtype.h:17:0,
                 from /home/markus/gitMuseScore/MuseScore/libmscore/input.h:17,
                 from /home/markus/gitMuseScore/MuseScore/libmscore/score.h:22,
                 from /home/markus/gitMuseScore/MuseScore/libmscore/segmentlist.cpp:15:
/home/markus/gitMuseScore/MuseScore/libmscore/note.h:108:35: error: ‘STRING_NONE’ was not declared in this scope
       int string                { STRING_NONE };
                                   ^
/home/markus/gitMuseScore/MuseScore/libmscore/note.h:108:47: error: cannot convert ‘<brace-enclosed initializer list>’ to ‘int’ in initialization
       int string                { STRING_NONE };
                                               ^
synthesizer/CMakeFiles/synthesizer.dir/build.make:61: recipe for target 'synthesizer/CMakeFiles/synthesizer.dir/msynthesizer.cpp.o' failed
make[3]: Leaving directory '/home/markus/gitMuseScore/MuseScore/build.debug'
CMakeFiles/Makefile2:1228: recipe for target 'synthesizer/CMakeFiles/synthesizer.dir/all' failed
make[3]: *** [synthesizer/CMakeFiles/synthesizer.dir/msynthesizer.cpp.o] Error 1
make[2]: *** [synthesizer/CMakeFiles/synthesize[ 13%] Building CXX object synthesizer/CMakeFiles/synthesizer.dir/msynthesizer.cpp.o
make[3]: Entering directory '/home/markus/gitMuseScore/MuseScore/build.debug'
In file included from /home/markus/gitMuseScore/MuseScore/libmscore/durationtype.h:17:0,
                 from /home/markus/gitMuseScore/MuseScore/libmscore/stafftype.h:19,
                 from /home/markus/gitMuseScore/MuseScore/libmscore/xml.h:17,
                 from /home/markus/gitMuseScore/MuseScore/midi/midifile.cpp:14:
/home/markus/gitMuseScore/MuseScore/libmscore/note.h:108:35: error: ‘STRING_NONE’ was not declared in this scope
       int string                { STRING_NONE };
                                   ^
/home/markus/gitMuseScore/MuseScore/libmscore/note.h:108:47: error: cannot convert ‘<brace-enclosed initializer list>’ to ‘int’ in initialization
       int string                { STRING_NONE };
                                               ^
In file included from /home/markus/gitMuseScore/MuseScore/libmscore/durationtype.h:17:0,
                 from /home/markus/gitMuseScore/MuseScore/libmscore/stafftype.h:19,
                 from /home/markus/gitMuseScore/MuseScore/libmscore/xml.h:17,
                 from /home/markus/gitMuseScore/MuseScore/fluid/sfont.cpp:30:
/home/markus/gitMuseScore/MuseScore/libmscore/note.h:108:35: error: ‘STRING_NONE’ was not declared in this scope
       int string                { STRING_NONE };
                                   ^
/home/markus/gitMuseScore/MuseScore/libmscore/note.h:108:47: error: cannot convert ‘<brace-enclosed initializer list>’ to ‘int’ in initialization
       int string                { STRING_NONE };
                                               ^
make[3]: Leaving directory '/home/markus/gitMuseScore/MuseScore/build.debug'
In file included from /home/markus/gitMuseScore/MuseScore/libmscore/durationtype.h:17:0,
                 from /home/markus/gitMuseScore/MuseScore/libmscore/stafftype.h:19,
                 from /home/markus/gitMuseScore/MuseScore/libmscore/xml.h:17,
                 from /home/markus/gitMuseScore/MuseScore/synthesizer/msynthesizer.cpp:18:
/home/markus/gitMuseScore/MuseScore/libmscore/note.h:108:35: error: ‘STRING_NONE’ was not declared in this scope
       int string                { STRING_NONE };
                                   ^
/home/markus/gitMuseScore/MuseScore/libmscore/note.h:108:47: error: cannot convert ‘<brace-enclosed initializer list>’ to ‘int’ in initialization
       int string                { STRING_NONE };
                                               ^
make[3]: Entering directory '/home/markus/gitMuseScore/MuseScore/build.debug'
[ 13%] Building CXX object libmscore/CMakeFiles/libmscore.dir/plugins.cpp.o
In file included from /home/markus/gitMuseScore/MuseScore/libmscore/durationtype.h:17:0,
                 from /home/markus/gitMuseScore/MuseScore/libmscore/input.h:17,
                 from /home/markus/gitMuseScore/MuseScore/libmscore/score.h:22,
                 from /home/markus/gitMuseScore/MuseScore/libmscore/plugins.h:20,
                 from /home/markus/gitMuseScore/MuseScore/libmscore/plugins.cpp:21:
/home/markus/gitMuseScore/MuseScore/libmscore/note.h:108:35: error: ‘STRING_NONE’ was not declared in this scope
       int string                { STRING_NONE };
                                   ^
/home/markus/gitMuseScore/MuseScore/libmscore/note.h:108:47: error: cannot convert ‘<brace-enclosed initializer list>’ to ‘int’ in initialization
       int string                { STRING_NONE };
                                               ^
midi/CMakeFiles/midi.dir/build.make:61: recipe for target 'midi/CMakeFiles/midi.dir/midifile.cpp.o' failed
make[3]: Leaving directory '/home/markus/gitMuseScore/MuseScore/build.debug'
make[3]: *** [midi/CMakeFiles/midi.dir/midifile.cpp.o] Error 1
make[2]: *** [midi/CMakeFiles/midi.dir/all] Error 2
make[2]: *** Waiting for unfinished jobs....
CMakeFiles/Makefile2:778: recipe for target 'midi/CMakeFiles/midi.dir/all' failed
[ 13%] Building CXX object libmscore/CMakeFiles/libmscore.dir/segmentlist.cpp.o
fluid/CMakeFiles/fluid.dir/build.make:180: recipe for target 'fluid/CMakeFiles/fluid.dir/sfont.cpp.o' failed
make[3]: Leaving directory '/home/markus/gitMuseScore/MuseScore/build.debug'
make[3]: *** [fluid/CMakeFiles/fluid.dir/sfont.cpp.o] Error 1
make[2]: *** [fluid/CMakeFiles/fluid.dir/all] Error 2
CMakeFiles/Makefile2:958: recipe for target 'fluid/CMakeFiles/fluid.dir/all' failed
[ 13%] Building CXX object libmscore/CMakeFiles/libmscore.dir/fingering.cpp.o
In file included from /home/markus/gitMuseScore/MuseScore/libmscore/durationtype.h:17:0,
                 from /home/markus/gitMuseScore/MuseScore/libmscore/input.h:17,
                 from /home/markus/gitMuseScore/MuseScore/libmscore/score.h:22,
                 from /home/markus/gitMuseScore/MuseScore/libmscore/segmentlist.cpp:15:
/home/markus/gitMuseScore/MuseScore/libmscore/note.h:108:35: error: ‘STRING_NONE’ was not declared in this scope
       int string                { STRING_NONE };
                                   ^
/home/markus/gitMuseScore/MuseScore/libmscore/note.h:108:47: error: cannot convert ‘<brace-enclosed initializer list>’ to ‘int’ in initialization
       int string                { STRING_NONE };
                                               ^
synthesizer/CMakeFiles/synthesizer.dir/build.make:61: recipe for target 'synthesizer/CMakeFiles/synthesizer.dir/msynthesizer.cpp.o' failed
make[3]: Leaving directory '/home/markus/gitMuseScore/MuseScore/build.debug'
CMakeFiles/Makefile2:1228: recipe for target 'synthesizer/CMakeFiles/synthesizer.dir/all' failed
make[3]: *** [synthesizer/CMakeFiles/synthesizer.dir/msynthesizer.cpp.o] Error 1
make[2]: *** [synthesizer/CMakeFiles/synthesizer.dir/all] Error 2
[ 13%] Building CXX object libmscore/CMakeFiles/libmscore.dir/accidental.cpp.o
In file included from /home/markus/gitMuseScore/MuseScore/libmscore/durationtype.h:17:0,
                 from /home/markus/gitMuseScore/MuseScore/libmscore/input.h:17,
                 from /home/markus/gitMuseScore/MuseScore/libmscore/score.h:22,
                 from /home/markus/gitMuseScore/MuseScore/libmscore/fingering.cpp:14:
/home/markus/gitMuseScore/MuseScore/libmscore/note.h:108:35: error: ‘STRING_NONE’ was not declared in this scope
       int string                { STRING_NONE };
                                   ^
/home/markus/gitMuseScore/MuseScore/libmscore/note.h:108:47: error: cannot convert ‘<brace-enclosed initializer list>’ to ‘int’ in initialization
       int string                { STRING_NONE };
                                               ^
In file included from /home/markus/gitMuseScore/MuseScore/libmscore/accidental.cpp:14:0:
/home/markus/gitMuseScore/MuseScore/libmscore/note.h:108:35: error: ‘STRING_NONE’ was not declared in this scope
       int string                { STRING_NONE };
                                   ^
/home/markus/gitMuseScore/MuseScore/libmscore/note.h:108:47: error: cannot convert ‘<brace-enclosed initializer list>’ to ‘int’ in initialization
       int string                { STRING_NONE };
                                               ^
/home/markus/gitMuseScore/MuseScore/libmscore/accidental.cpp: In static member function ‘static Ms::AccidentalType Ms::Accidental::value2subtype(Ms::AccidentalVal)’:
/home/markus/gitMuseScore/MuseScore/libmscore/accidental.cpp:370:73: warning: format ‘%hhd’ expects argument of type ‘int’, but argument 3 has type ‘Ms::AccidentalVal’ [-Wformat=]
                   qFatal("value2subtype: illegal accidental val %hhd", v);
                                                                         ^
libmscore/CMakeFiles/libmscore.dir/build.make:65: recipe for target 'libmscore/CMakeFiles/libmscore.dir/plugins.cpp.o' failed
make[3]: *** [libmscore/CMakeFiles/libmscore.dir/plugins.cpp.o] Error 1
make[3]: *** Waiting for unfinished jobs....
libmscore/CMakeFiles/libmscore.dir/build.make:88: recipe for target 'libmscore/CMakeFiles/libmscore.dir/segmentlist.cpp.o' failed
make[3]: *** [libmscore/CMakeFiles/libmscore.dir/segmentlist.cpp.o] Error 1
libmscore/CMakeFiles/libmscore.dir/build.make:111: recipe for target 'libmscore/CMakeFiles/libmscore.dir/fingering.cpp.o' failed
make[3]: *** [libmscore/CMakeFiles/libmscore.dir/fingering.cpp.o] Error 1
libmscore/CMakeFiles/libmscore.dir/build.make:134: recipe for target 'libmscore/CMakeFiles/libmscore.dir/accidental.cpp.o' failed
make[3]: *** [libmscore/CMakeFiles/libmscore.dir/accidental.cpp.o] Error 1
make[2]: *** [libmscore/CMakeFiles/libmscore.dir/all] Error 2
make[3]: Leaving directory '/home/markus/gitMuseScore/MuseScore/build.debug'
CMakeFiles/Makefile2:1138: recipe for target 'libmscore/CMakeFiles/libmscore.dir/all' failed
make[2]: Leaving directory '/home/markus/gitMuseScore/MuseScore/build.debug'
Makefile:149: recipe for target 'all' failed
make[1]: Leaving directory '/home/markus/gitMuseScore/MuseScore/build.debug'
Makefile:64: recipe for target 'debug' failed
make[1]: *** [all] Error 2
make: *** [debug] Error 2
19:10:10: Der Prozess "/usr/bin/make" wurde mit dem Rückgabewert 2 beendet.
Fehler beim Erstellen/Deployment des Projekts MuseScore_2.1 (Kit: Desktop Qt 5.4.2 GCC 64bit2)
Bei der Ausführung von Schritt "Make"
19:10:10: Verstrichene Zeit: 00:10.r.dir/all] Error 2
[ 13%] Building CXX object libmscore/CMakeFiles/libmscore.dir/accidental.cpp.o
In file included from /home/markus/gitMuseScore/MuseScore/libmscore/durationtype.h:17:0,
                 from /home/markus/gitMuseScore/MuseScore/libmscore/input.h:17,
                 from /home/markus/gitMuseScore/MuseScore/libmscore/score.h:22,
                 from /home/markus/gitMuseScore/MuseScore/libmscore/fingering.cpp:14:
/home/markus/gitMuseScore/MuseScore/libmscore/note.h:108:35: error: ‘STRING_NONE’ was not declared in this scope
       int string                { STRING_NONE };
                                   ^
/home/markus/gitMuseScore/MuseScore/libmscore/note.h:108:47: error: cannot convert ‘<brace-enclosed initializer list>’ to ‘int’ in initialization
       int string                { STRING_NONE };
                                               ^
In file included from /home/markus/gitMuseScore/MuseScore/libmscore/accidental.cpp:14:0:
/home/markus/gitMuseScore/MuseScore/libmscore/note.h:108:35: error: ‘STRING_NONE’ was not declared in this scope
       int string                { STRING_NONE };
                                   ^
/home/markus/gitMuseScore/MuseScore/libmscore/note.h:108:47: error: cannot convert ‘<brace-enclosed initializer list>’ to ‘int’ in initialization
       int string                { STRING_NONE };
                                               ^
/home/markus/gitMuseScore/MuseScore/libmscore/accidental.cpp: In static member function ‘static Ms::AccidentalType Ms::Accidental::value2subtype(Ms::AccidentalVal)’:
/home/markus/gitMuseScore/MuseScore/libmscore/accidental.cpp:370:73: warning: format ‘%hhd’ expects argument of type ‘int’, but argument 3 has type ‘Ms::AccidentalVal’ [-Wformat=]
                   qFatal("value2subtype: illegal accidental val %hhd", v);
                                                                         ^
libmscore/CMakeFiles/libmscore.dir/build.make:65: recipe for target 'libmscore/CMakeFiles/libmscore.dir/plugins.cpp.o' failed
make[3]: *** [libmscore/CMakeFiles/libmscore.dir/plugins.cpp.o] Error 1
make[3]: *** Waiting for unfinished jobs....
libmscore/CMakeFiles/libmscore.dir/build.make:88: recipe for target 'libmscore/CMakeFiles/libmscore.dir/segmentlist.cpp.o' failed
make[3]: *** [libmscore/CMakeFiles/libmscore.dir/segmentlist.cpp.o] Error 1
libmscore/CMakeFiles/libmscore.dir/build.make:111: recipe for target 'libmscore/CMakeFiles/libmscore.dir/fingering.cpp.o' failed
make[3]: *** [libmscore/CMakeFiles/libmscore.dir/fingering.cpp.o] Error 1
libmscore/CMakeFiles/libmscore.dir/build.make:134: recipe for target 'libmscore/CMakeFiles/libmscore.dir/accidental.cpp.o' failed
make[3]: *** [libmscore/CMakeFiles/libmscore.dir/accidental.cpp.o] Error 1
make[2]: *** [libmscore/CMakeFiles/libmscore.dir/all] Error 2
make[3]: Leaving directory '/home/markus/gitMuseScore/MuseScore/build.debug'
CMakeFiles/Makefile2:1138: recipe for target 'libmscore/CMakeFiles/libmscore.dir/all' failed
make[2]: Leaving directory '/home/markus/gitMuseScore/MuseScore/build.debug'
Makefile:149: recipe for target 'all' failed
make[1]: Leaving directory '/home/markus/gitMuseScore/MuseScore/build.debug'
Makefile:64: recipe for target 'debug' failed
make[1]: *** [all] Error 2
make: *** [debug] Error 2
19:10:10: Der Prozess "/usr/bin/make" wurde mit dem Rückgabewert 2 beendet.
Fehler beim Erstellen/Deployment des Projekts MuseScore_2.1 (Kit: Desktop Qt 5.4.2 GCC 64bit2)
Bei der Ausführung von Schritt "Make"
19:10:10: Verstrichene Zeit: 00:10.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Compiling 2.1 - problem with 'STRING_NONE'

lasconic
Administrator
Try to run make VERBOSE=1 so we can see the exact command called.

lasconic

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Mscore-developer mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/mscore-developer
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Compiling 2.1 - problem with 'STRING_NONE'

MLutz
... I'm not sure, if that helps much; here is the output (part of it)

[ 13%] Building CXX object libmscore/CMakeFiles/libmscore.dir/fingering.cpp.o
cd /home/markus/gitMuseScore/MuseScore/build.debug/libmscore && /usr/bin/c++   -DQT_DISABLE_DEPRECATED_BEFORE=0 -I/home/markus/gitMuseScore/MuseScore/build.debug/libmscore -I/home/markus/gitMuseScore/MuseScore/libmscore -I/home/markus/Qt2/5.4/gcc_64/include -I/home/markus/Qt2/5.4/gcc_64/include/QtGui -I/home/markus/Qt2/5.4/gcc_64/include/QtCore -I/home/markus/Qt2/5.4/gcc_64/mkspecs/linux-g++ -I/home/markus/Qt2/5.4/gcc_64/include/QtWidgets -I/home/markus/Qt2/5.4/gcc_64/include/QtPrintSupport -I/home/markus/Qt2/5.4/gcc_64/include/QtSvg -I/home/markus/Qt2/5.4/gcc_64/include/QtNetwork -I/home/markus/Qt2/5.4/gcc_64/include/QtTest -I/home/markus/Qt2/5.4/gcc_64/include/QtDesigner -I/home/markus/Qt2/5.4/gcc_64/include/QtXml -I/home/markus/Qt2/5.4/gcc_64/include/QtConcurrent -I/home/markus/Qt2/5.4/gcc_64/include/QtXmlPatterns -I/home/markus/Qt2/5.4/gcc_64/include/QtUiTools -I/home/markus/Qt2/5.4/gcc_64/include/QtQml -I/home/markus/Qt2/5.4/gcc_64/include/QtQuick -I/home/markus/Qt2/5.4/gcc_64/include/QtQuickWidgets -I/home/markus/Qt2/5.4/gcc_64/include/QtWebKit -I/home/markus/Qt2/5.4/gcc_64/include/QtWebKitWidgets -I/home/markus/Qt2/5.4/gcc_64/include/QtSql -I/home/markus/Qt2/5.4/gcc_64/include/QtOpenGL -I/home/markus/Qt2/5.4/gcc_64/include/QtHelp -I/home/markus/gitMuseScore/MuseScore -I/home/markus/gitMuseScore/MuseScore/build.debug -I/home/markus/gitMuseScore/MuseScore/thirdparty/freetype/include  -std=c++11 -fPIC -g -fPIC   -g -include /home/markus/gitMuseScore/MuseScore/build.debug/all.h -Wall -Wextra -Winvalid-pch -o CMakeFiles/libmscore.dir/fingering.cpp.o -c /home/markus/gitMuseScore/MuseScore/libmscore/fingering.cpp
In file included from /home/markus/gitMuseScore/MuseScore/libmscore/durationtype.h:17:0,
                 from /home/markus/gitMuseScore/MuseScore/libmscore/stafftype.h:19,
                 from /home/markus/gitMuseScore/MuseScore/libmscore/xml.h:17,
                 from /home/markus/gitMuseScore/MuseScore/synthesizer/event.cpp:14:
/home/markus/gitMuseScore/MuseScore/libmscore/note.h:108:35: error: ‘STRING_NONE’ was not declared in this scope
       int string                { STRING_NONE };
                                   ^
/home/markus/gitMuseScore/MuseScore/libmscore/note.h:108:47: error: cannot convert ‘<brace-enclosed initializer list>’ to ‘int’ in initialization
       int string                { STRING_NONE };
                                               ^
In file included from /home/markus/gitMuseScore/MuseScore/libmscore/durationtype.h:17:0,
                 from /home/markus/gitMuseScore/MuseScore/libmscore/input.h:17,
                 from /home/markus/gitMuseScore/MuseScore/libmscore/score.h:22,
                 from /home/markus/gitMuseScore/MuseScore/libmscore/fingering.cpp:14:
/home/markus/gitMuseScore/MuseScore/libmscore/note.h:108:35: error: ‘STRING_NONE’ was not declared in this scope
       int string                { STRING_NONE };
                                   ^
/home/markus/gitMuseScore/MuseScore/libmscore/note.h:108:47: error: cannot convert ‘<brace-enclosed initializer list>’ to ‘int’ in initialization
       int string                { STRING_NONE };
                                               ^
libmscore/CMakeFiles/libmscore.dir/build.make:65: recipe for target 'libmscore/CMakeFiles/libmscore.dir/plugins.cpp.o' failed
make[3]: *** [libmscore/CMakeFiles/libmscore.dir/plugins.cpp.o] Error 1
make[3]: *** Waiting for unfinished jobs....
synthesizer/CMakeFiles/synthesizer.dir/build.make:84: recipe for target 'synthesizer/CMakeFiles/synthesizer.dir/event.cpp.o' failed
make[3]: Leaving directory '/home/markus/gitMuseScore/MuseScore/build.debug'
make[3]: *** [synthesizer/CMakeFiles/synthesizer.dir/event.cpp.o] Error 1
make[2]: *** [synthesizer/CMakeFiles/synthesizer.dir/all] Error 2
CMakeFiles/Makefile2:1228: recipe for target 'synthesizer/CMakeFiles/synthesizer.dir/all' failed
libmscore/CMakeFiles/libmscore.dir/build.make:88: recipe for target 'libmscore/CMakeFiles/libmscore.dir/segmentlist.cpp.o' failed
make[3]: *** [libmscore/CMakeFiles/libmscore.dir/segmentlist.cpp.o] Error 1
libmscore/CMakeFiles/libmscore.dir/build.make:111: recipe for target 'libmscore/CMakeFiles/libmscore.dir/fingering.cpp.o' failed
make[3]: Leaving directory '/home/markus/gitMuseScore/MuseScore/build.debug'
make[3]: *** [libmscore/CMakeFiles/libmscore.dir/fingering.cpp.o] Error 1
make[2]: *** [libmscore/CMakeFiles/libmscore.dir/all] Error 2
make[1]: *** [all] Error 2
make: *** [debug] Error 2
CMakeFiles/Makefile2:1138: recipe for target 'libmscore/CMakeFiles/libmscore.dir/all' failed
make[2]: Leaving directory '/home/markus/gitMuseScore/MuseScore/build.debug'
Makefile:149: recipe for target 'all' failed
make[1]: Leaving directory '/home/markus/gitMuseScore/MuseScore/build.debug'
Makefile:64: recipe for target 'debug' failed
22:12:40: Der Prozess "/usr/bin/make" wurde mit dem Rückgabewert 2 beendet.
Fehler beim Erstellen/Deployment des Projekts MuseScore_2.1 (Kit: Desktop Qt 5.4.2 GCC 64bit2)
Bei der Ausführung von Schritt "Make"
22:12:40: Verstrichene Zeit: 00:10.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Compiling 2.1 - problem with 'STRING_NONE'

MLutz
Sorry - seems I have now found my problem.
One of the additions in mscore.h had been in a comment instead of in a new line.

Probably that was it ...
Loading...