How to re-compile
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
You can run
make install
after the first make (even if failed)In reply to You can run make install by [DELETED] 5
And what it does? I thought it just copies compiled
mscore
binary somewhere.. by the way, what is the best way to specify this location prefix?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 I know in Windows if the by schepers
But the
Makefile
for linux is different thanMakefile.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};