Compil error

• Apr 5, 2013 - 22:08
Type
Functional
Severity
S4 - Minor
Status
closed
Project

...
Built target lrelease
[...]
make[3]: entrant dans le répertoire « /home/olivier/MuseScore/build.release »
Scanning dependencies of target fluid
make[3]: quittant le répertoire « /home/olivier/MuseScore/build.release »
make[3]: entrant dans le répertoire « /home/olivier/MuseScore/build.release »
[ 4%] Building CXX object fluid/CMakeFiles/fluid.dir/moc_fluidgui.cxx.o
In file included from /home/olivier/MuseScore/build.release/fluid/moc_fluidgui.cxx:10:0:
/home/olivier/MuseScore/build.release/fluid/../../fluid/fluidgui.h:26:19: désolé, pas implanté: non-static data member initializers
/home/olivier/MuseScore/build.release/fluid/../../fluid/fluidgui.h:26:19: erreur: ISO C++ forbids in-class initialization of non-const static member ‘_idx’
make[3]: *** [fluid/CMakeFiles/fluid.dir/moc_fluidgui.cxx.o] Erreur 1
make[3]: quittant le répertoire « /home/olivier/MuseScore/build.release »
make[2]: *** [fluid/CMakeFiles/fluid.dir/all] Erreur 2
make[2]: quittant le répertoire « /home/olivier/MuseScore/build.release »
make[1]: *** [all] Erreur 2
make[1]: quittant le répertoire « /home/olivier/MuseScore/build.release »
make: *** [release] Erreur 2

Attachment Size
compil_error.txt 18.94 KB

Comments

Which GCC version are you using?
GCC >= 4.7 is needed.
'CMakeLists.txt' still only checks for GCC >= 4.6, that's why cmake might not complain about this.