From: Martin T. <m.t...@zo...> - 2009-06-01 14:51:47
|
I'm trying to compile canorus-0.7svn.R1091. But it looks like I'm missing something. I get stuck with: [ 18%] Building CXX object src/CMakeFiles/_CanorusPython.dir/core/muselementfactory.cpp.o In file included from /home/m.tarenskeen/rpmbuild/BUILD/canorus-0.7svn.R1091/src/canorus.h:12, from /home/m.tarenskeen/rpmbuild/BUILD/canorus-0.7svn.R1091/src/core/muselementfactory.cpp:21: /home/m.tarenskeen/rpmbuild/BUILD/canorus-0.7svn.R1091/src/ui/settingsdialog.h:15:31: error: ui_settingsdialog.h: No such file or directory In file included from /home/m.tarenskeen/rpmbuild/BUILD/canorus-0.7svn.R1091/src/canorus.h:13, from /home/m.tarenskeen/rpmbuild/BUILD/canorus-0.7svn.R1091/src/core/muselementfactory.cpp:21: /home/m.tarenskeen/rpmbuild/BUILD/canorus-0.7svn.R1091/src/ui/mainwin.h:17:24: error: ui_mainwin.h: No such file or directory In file included from /home/m.tarenskeen/rpmbuild/BUILD/canorus-0.7svn.R1091/src/score/barline.h:12, from /home/m.tarenskeen/rpmbuild/BUILD/canorus-0.7svn.R1091/src/core/muselementfactory.h:12, from /home/m.tarenskeen/rpmbuild/BUILD/canorus-0.7svn.R1091/src/core/muselementfactory.cpp:10: /home/m.tarenskeen/rpmbuild/BUILD/canorus-0.7svn.R1091/src/score/muselement.h: In member function 'CAContext* CAMusElement::setContext(CAContext*)': /home/m.tarenskeen/rpmbuild/BUILD/canorus-0.7svn.R1091/src/score/muselement.h:47: warning: no return statement in function returning non-void In file included from /home/m.tarenskeen/rpmbuild/BUILD/canorus-0.7svn.R1091/src/score/note.h:12, from /home/m.tarenskeen/rpmbuild/BUILD/canorus-0.7svn.R1091/src/score/voice.h:14, from /home/m.tarenskeen/rpmbuild/BUILD/canorus-0.7svn.R1091/src/core/muselementfactory.h:19, from /home/m.tarenskeen/rpmbuild/BUILD/canorus-0.7svn.R1091/src/core/muselementfactory.cpp:10: /home/m.tarenskeen/rpmbuild/BUILD/canorus-0.7svn.R1091/src/score/playable.h: In member function 'virtual CAPlayable* CAPlayable::clone(CAContext*)': /home/m.tarenskeen/rpmbuild/BUILD/canorus-0.7svn.R1091/src/score/playable.h:25: warning: no return statement in function returning non-void In file included from /home/m.tarenskeen/rpmbuild/BUILD/canorus-0.7svn.R1091/src/core/muselementfactory.h:25, from /home/m.tarenskeen/rpmbuild/BUILD/canorus-0.7svn.R1091/src/core/muselementfactory.cpp:10: /home/m.tarenskeen/rpmbuild/BUILD/canorus-0.7svn.R1091/src/score/mark.h: In member function 'virtual CAMark* CAMark::clone(CAContext*)': /home/m.tarenskeen/rpmbuild/BUILD/canorus-0.7svn.R1091/src/score/mark.h:38: warning: no return statement in function returning non-void In file included from /home/m.tarenskeen/rpmbuild/BUILD/canorus-0.7svn.R1091/src/core/muselementfactory.h:26, from /home/m.tarenskeen/rpmbuild/BUILD/canorus-0.7svn.R1091/src/core/muselementfactory.cpp:10: /home/m.tarenskeen/rpmbuild/BUILD/canorus-0.7svn.R1091/src/score/articulation.h: In member function 'void* CAArticulation::setAssociatedNote(CANote*)': /home/m.tarenskeen/rpmbuild/BUILD/canorus-0.7svn.R1091/src/score/articulation.h:53: warning: no return statement in function returning non-void In file included from /home/m.tarenskeen/rpmbuild/BUILD/canorus-0.7svn.R1091/src/canorus.h:12, from /home/m.tarenskeen/rpmbuild/BUILD/canorus-0.7svn.R1091/src/core/muselementfactory.cpp:21: /home/m.tarenskeen/rpmbuild/BUILD/canorus-0.7svn.R1091/src/ui/settingsdialog.h: At global scope: /home/m.tarenskeen/rpmbuild/BUILD/canorus-0.7svn.R1091/src/ui/settingsdialog.h:20: error: 'Ui' has not been declared /home/m.tarenskeen/rpmbuild/BUILD/canorus-0.7svn.R1091/src/ui/settingsdialog.h:20: error: expected `{' before 'uiSettingsDialog' /home/m.tarenskeen/rpmbuild/BUILD/canorus-0.7svn.R1091/src/ui/settingsdialog.h:20: error: function definition does not declare parameters In file included from /home/m.tarenskeen/rpmbuild/BUILD/canorus-0.7svn.R1091/src/ui/mainwin.h:27, from /home/m.tarenskeen/rpmbuild/BUILD/canorus-0.7svn.R1091/src/canorus.h:13, from /home/m.tarenskeen/rpmbuild/BUILD/canorus-0.7svn.R1091/src/core/muselementfactory.cpp:21: /home/m.tarenskeen/rpmbuild/BUILD/canorus-0.7svn.R1091/src/interface/pyconsoleinterface.h: In member function 'char* CAPyConsoleInterface::bufferedInput(char*)': /home/m.tarenskeen/rpmbuild/BUILD/canorus-0.7svn.R1091/src/interface/pyconsoleinterface.h:24: warning: no return statement in function returning non-void In file included from /home/m.tarenskeen/rpmbuild/BUILD/canorus-0.7svn.R1091/src/canorus.h:13, from /home/m.tarenskeen/rpmbuild/BUILD/canorus-0.7svn.R1091/src/core/muselementfactory.cpp:21: /home/m.tarenskeen/rpmbuild/BUILD/canorus-0.7svn.R1091/src/ui/mainwin.h: At global scope: /home/m.tarenskeen/rpmbuild/BUILD/canorus-0.7svn.R1091/src/ui/mainwin.h:61: error: expected class-name before ',' token /home/m.tarenskeen/rpmbuild/BUILD/canorus-0.7svn.R1091/src/ui/mainwin.h:61: error: 'Ui' has not been declared /home/m.tarenskeen/rpmbuild/BUILD/canorus-0.7svn.R1091/src/ui/mainwin.h:61: error: expected `{' before 'uiMainWindow' /home/m.tarenskeen/rpmbuild/BUILD/canorus-0.7svn.R1091/src/ui/mainwin.h:61: error: function definition does not declare parameters In file included from /home/m.tarenskeen/rpmbuild/BUILD/canorus-0.7svn.R1091/src/core/muselementfactory.cpp:21: /home/m.tarenskeen/rpmbuild/BUILD/canorus-0.7svn.R1091/src/canorus.h:30: error: 'CASettingsPage' in class 'CASettingsDialog' does not name a type /home/m.tarenskeen/rpmbuild/BUILD/canorus-0.7svn.R1091/src/canorus.h: In static member function 'static void CACanorus::removeView(CAView*)': /home/m.tarenskeen/rpmbuild/BUILD/canorus-0.7svn.R1091/src/canorus.h:52: error: invalid use of incomplete type 'class CAMainWin' /home/m.tarenskeen/rpmbuild/BUILD/canorus-0.7svn.R1091/src/control/mainwinprogressctl.h:13: error: forward declaration of 'class CAMainWin' /home/m.tarenskeen/rpmbuild/BUILD/canorus-0.7svn.R1091/src/canorus.h: In static member function 'static void CACanorus::restartTimeEditedTimes(CADocument*)': /home/m.tarenskeen/rpmbuild/BUILD/canorus-0.7svn.R1091/src/canorus.h:53: error: invalid use of incomplete type 'class CAMainWin' /home/m.tarenskeen/rpmbuild/BUILD/canorus-0.7svn.R1091/src/control/mainwinprogressctl.h:13: error: forward declaration of 'class CAMainWin' /home/m.tarenskeen/rpmbuild/BUILD/canorus-0.7svn.R1091/src/canorus.h:53: error: invalid use of incomplete type 'class CAMainWin' /home/m.tarenskeen/rpmbuild/BUILD/canorus-0.7svn.R1091/src/control/mainwinprogressctl.h:13: error: forward declaration of 'class CAMainWin' /home/m.tarenskeen/rpmbuild/BUILD/canorus-0.7svn.R1091/src/core/muselementfactory.cpp: In member function 'bool CAMusElementFactory::configureMark(CAMusElement*)': /home/m.tarenskeen/rpmbuild/BUILD/canorus-0.7svn.R1091/src/core/muselementfactory.cpp:321: warning: enumeration value 'Undefined' not handled in switch make[2]: *** [src/CMakeFiles/_CanorusPython.dir/core/muselementfactory.cpp.o] Error 1 make[1]: *** [src/CMakeFiles/_CanorusPython.dir/all] Error 2 make: *** [all] Error 2 fout: Bad exit status from /var/tmp/rpm-tmp.bYuW9e (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.bYuW9e (%build) -- Martin Tarenskeen |