Image/Instructions to compile MScore for Linux & Win (without changing a line of code)
like to compile the last SVN commit and Werner said several times that
for now it just compile on his computer. So I try to setup a system to
download the current mscore for linux and windows. I use Amazon EC2
first and then I setup a VirtualBox virtual machine. You can download
the virtual disk in a rar file and use it in VirtualBox : http://prereleases.musescore.org/VirtualBox/Ubuntu.rar - 943Mb Just unrar somewhere you got some Gb (the disk is dynamic but can grow to 6Gb, it's 3.9Gb now).
Then create a virtual disk and a virtual machine from an existing vdi file. Run the virtual machine.
Launch a terminal. Go to /home/ws/mscore/mscore/trunk.
svn up (if you want to be up to date)
make win32 etc ...
If you don"t want to use Virtual box or you can want to setup from scratch : follow this guide.
From an ubuntu 8.04 (example an EC2 ami : ami-1539dc7c)
make release and make install should work from here but make win32 still need work.
put qt windows installation files in /home/ws/.wine/drive_c/Qt/4.4.0/ (bin with dll, include, lib, plugins, src)
Download zlib from zlib site and put in mingw include path (/usr/i586-mingw32msvc/)
Install wine to run nsis : apt-get install wine --> Install NSIS : apt-get install nsis
---> Optional (if you use EC2) Need an X server ? apt-get install x-window-system-core xserver-xorg --> Need Mingw windows bin copy them to /home/ws/.wine/drive_c/MingW -->
cp /usr/include/portaudio.h /usr/i586-mingw32msvc/include/ &
cp -r /usr/include/portaudiocpp /usr/i586-mingw32msvc/include/ Portaudio needs to be somewhere to link :
portaudio.dll from the bin directory of a previous musescore install to
/usr/i586-mingw32msvc/lib or /home/ws/mscore/portaudio/lib
and cp /usr/i586-mingw32msvc/lib/portaudio.dll portaudio/bin/ (for distrib creation)
make win32 (make release has to be done because make win32 use the gendoc executable created by make release)
Yeah :) you got the mscore.exe and the mscore installation package :)