Difficuties in compiling

• Jun 19, 2009 - 05:39

Hi all,
In an effort to be thorough, I download the latest Qt sdk, and MuseScore 0.9.4 (the tar ball), in order to test the Arabisation I'm working on in action, and spot logical incoherences, etc.

Well, first of all, I had to "make clean" since the compiling started off with an error.

Then, although I had already adjusted QTDIR env variable to point to newly installed sdk, and added qt/bin to teh beginning of my PATH, I still receive the following error message (tried this twice):

make[3]: Entering directory `/home/hosadeeb/Download/mscore-0.9.4/build'
[  6%] Generating moc_qscriptdebuggerlauncher.h
moc: qscriptdebuggerlauncher.h: No such file
make[3]: *** [scriptdebug/moc_qscriptdebuggerlauncher.h] Error 1
make[3]: Leaving directory `/home/hosadeeb/Download/mscore-0.9.4/build'
make[2]: *** [scriptdebug/CMakeFiles/qtscript_debug.dir/all] Error 2
make[2]: Leaving directory `/home/hosadeeb/Download/mscore-0.9.4/build'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/hosadeeb/Download/mscore-0.9.4/build'
make: *** [release] Error 2

Any ideas? Any suggestions are more than welcome.

HosAdeeb


Comments

I presume you downloaded Qt 4.5.1. If so, know that MuseScore 0.9.4 can't be compiled since it is build on Qt 4.4.x. Instead check out the SVN HEAD (trunk) and restart the compilation.

In reply to by Thomas

Well, as a matter of fact, it eventually did compile after setting both of BUILD_SCRIPT_INTERFACE & BUILD_SCRIPT_DEBUG to FALSE.But I later realised that my cmake is quite old, and so I downloaded the latest version. I didn't bother to re-compile 0.9.4 again, but I tried to compile the trunk you mentioned, knowing that it already contained the last arabisation file I had sent. It didn't compile ...

I received the following:

[ 33%] Building CXX object mscore/CMakeFiles/mscore.dir/exportaudio.cpp.o
/home/hosadeeb/Download/trunk/mscore/mscore/exportaudio.cpp: In member function ‘bool Score::saveOgg(const QString&)’:
/home/hosadeeb/Download/trunk/mscore/mscore/exportaudio.cpp:171: error: ‘SF_FORMAT_OGG’ was not declared in this scope
/home/hosadeeb/Download/trunk/mscore/mscore/exportaudio.cpp:171: error: ‘SF_FORMAT_VORBIS’ was not declared in this scope
make[3]: *** [mscore/CMakeFiles/mscore.dir/exportaudio.cpp.o] Error 1
make[3]: Leaving directory `/home/hosadeeb/Download/trunk/build'
make[2]: *** [mscore/CMakeFiles/mscore.dir/all] Error 2
make[2]: Leaving directory `/home/hosadeeb/Download/trunk/build'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/hosadeeb/Download/trunk/build'
make: *** [release] Error 2

Any further suggestions? Of course, I'm working on the assumption that basing my work on the latest stable release isn't perhaps the best thing to do, now is it?!

Regards.

Hosam Adeeb Nashed

Do you still have an unanswered question? Please log in first to post your question.