How to re-compile

• Nov 23, 2011 - 19:28

Hello,
I try to compile MuseScore myself but the complilation crashes after some time (let's say 30%). Is there a way how to continue in compilation after getting rid of problems that cause the crash? Make doesn't continue in the process if build directory already exists and I am forced to run make clean. But how to 'make' if I do not want to loose what has already been compiled?

And how about making some little changes after the product has been compiled - do I need to 'clean' everything and run the whole (long) process again?

Thanks for answer!
Ho.


Comments

I know in Windows if the compilation fails partway, then a re-compilation will basically skip the sections that are already compiled. The command is this: mingw32-make -f makefile.mingw win32. But sometimes you do need to do a clean compile esp with large code commits.

As to the second point, I "svn checkout" the code changes all the time, and quick recompile so yes you can do it.

In reply to by schepers

But the Makefile for linux is different than Makefile.mingw :(

Do you think it would be OK to get following Makefile section out of "if test ! -d build;" condition?

cd build; \
cmake -DCMAKE_BUILD_TYPE=RELEASE \
-DCMAKE_INSTALL_PREFIX="${PREFIX}" \
../mscore; \
make lrelease; \
make -j ${CPUS};

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