Make error while compiling
Hi,
since the update of musescore in debian is really slow, and I need some of the features of 0.9.4, I decided to compile mscore myself. During make however, I get this error (I know it doesn't tell so much, but this is what I have):
[ 97%] Building CXX object scriptgen/qtbindings/gui/CMakeFiles/qtscript_gui.dir/qtscriptshell_QValidator.o /home/iacopo/Desktop/mscore-0.9.4/mscore/scriptgen/qtbindings/gui/qtscriptshell_QValidator.cpp: In member function ‘virtual QValidator::State QtScriptShell_QValidator::validate(QString&, int&) const’: /home/iacopo/Desktop/mscore-0.9.4/mscore/scriptgen/qtbindings/gui/qtscriptshell_QValidator.cpp:122: warning: control reaches end of non-void function [ 97%] Building CXX object scriptgen/qtbindings/gui/CMakeFiles/qtscript_gui.dir/qtscriptshell_QWheelEvent.o [ 97%] Building CXX object scriptgen/qtbindings/gui/CMakeFiles/qtscript_gui.dir/qtscriptshell_QWidget.o [ 97%] Building CXX object scriptgen/qtbindings/gui/CMakeFiles/qtscript_gui.dir/qtscriptshell_QWidgetAction.o [ 97%] Building CXX object scriptgen/qtbindings/gui/CMakeFiles/qtscript_gui.dir/qtscriptshell_QWidgetItem.o [ 97%] Building CXX object scriptgen/qtbindings/gui/CMakeFiles/qtscript_gui.dir/qtscriptshell_QWindowsStyle.o /home/iacopo/Desktop/mscore-0.9.4/mscore/scriptgen/qtbindings/gui/qtscriptshell_QWindowsStyle.cpp: In member function ‘virtual QPixmap QtScriptShell_QWindowsStyle::standardPixmap(QStyle::StandardPixmap, const QStyleOption*, const QWidget*) const’: /home/iacopo/Desktop/mscore-0.9.4/mscore/scriptgen/qtbindings/gui/qtscriptshell_QWindowsStyle.cpp:342: warning: control reaches end of non-void function [ 97%] Building CXX object scriptgen/qtbindings/gui/CMakeFiles/qtscript_gui.dir/qtscriptshell_QWizard.o [ 98%] Building CXX object scriptgen/qtbindings/gui/CMakeFiles/qtscript_gui.dir/qtscriptshell_QWizardPage.o [ 98%] Building CXX object scriptgen/qtbindings/gui/CMakeFiles/qtscript_gui.dir/qtscriptshell_QWorkspace.o Linking CXX shared library libqtscript_gui.so make[3]: Leaving directory `/home/iacopo/Desktop/mscore-0.9.4/build' [ 98%] Built target qtscript_gui make[2]: Leaving directory `/home/iacopo/Desktop/mscore-0.9.4/build' make[1]: *** [all] Error 2 make[1]: Leaving directory `/home/iacopo/Desktop/mscore-0.9.4/build' make: *** [release] Error 2
Can you help me? I followed the "compile in ubuntu linux" instructions. (I used the pre element to read it better, but the text is cut. Copy&paste it somewhere else to see it, sorry)
OT: great talk at Fosdem!
Comments
Your log shows only some compiler warnings. The error happened earlier in the log. Maybe you should compile without the script interface first by setting BUILD_SCRIPT_INTERFACE and BUILD_SCRIPT_DEBUG to FALSE in the top CMakeLists.txt. There is a problem with older cmake versions compiling the script interface.
In reply to Your log shows only some by [DELETED] 3
Ok, I followed your informations and gave the command "make > file.txt". So, this is the file.txt, and this is what was written in the console.
In reply to Ok, I followed your by iacchi
The file revision.h in your copy contains garbage. It should only contain the current revision number like "1505". The file is generated with "make revision" or "make version" but this only works if you checked out your copy from the subversion source code repository.
In reply to The file revision.h in your by [DELETED] 3
So if I download the release source I have to skip the "make revision" command and just type "make" directly, right?
In reply to The file revision.h in your by [DELETED] 3
Ok, it worked. Thanks.