A wiki is probably the best place, even if it needs feedback.
Attached is a quick github translation of it.
Here's a working copy of it:
https://github.com/tresf/lmms/wiki/Compile-lmms-Windows
- tres.finocchi...@gmail.com
On Thu, Jun 5, 2014 at 7:51 AM, Raine M. Ekman <ra...@iki.fi> wrote:
> Quoting Tres Finocchiaro <tres.finocchi...@gmail.com>:
>
> Fantastic! Can you wikify this on your own github and then we can bring
>> it
>> over to the official page once proper access has been granted?
>>
>
> Sure, right after some QA. If anyone can spot errors or anything, please
> share :)
>
> I'm especially confused by the need to run build_mingw32 and make twice,
> is it just my system or is it like that for others too?
>
>
>
> --
> ra...@iki.fi
> softrabbit on #lmms
>
>
>
### Installing packages for cross compiling
1. Add Toby's cross-compiling repo
```sh
sudo add-apt-repository ppa:tobydox/mingw
```
1. Change the "trusty" release tags to "precise"
```sh
sudo $EDITOR /etc/apt/sources.list.d/tobydox-mingw-trusty.list
sudo apt-get update
```
1. Install NSIS for building packages (cloog is a dependency of the -gcc
packages)
```sh
sudo apt-get install nsis cloog-isl
```
1. Get the suitable libmpc2 .deb for your architecture here (unless you
already have it): http://packages.ubuntu.com/saucy/libmpc2 (This is another
dependency of the -gcc packages, it's been superseded by libmpc3 in 14.04)
```sh
sudo dpkg -i libmpc2_VERSIONS_ETC.deb
```
1. NB! the -bootstrap packages aren't needed and will probably just mess
things up, don't install them
```sh
$ for MINGW in mingw32-x mingw64-x ; do
> sudo apt-get install $MINGW-qt $MINGW-sdl $MINGW-libvorbis \
$MINGW-fluidsynth $MINGW-stk $MINGW-glib2 $MINGW-portaudio \
$MINGW-libsndfile $MINGW-fftw $MINGW-flac $MINGW-fltk \
$MINGW-libsamplerate $MINGW-pkgconfig $MINGW-pthreads \
$MINGW-binutils $MINGW-gcc
> done
```
### Building
1. Get the source from GitHub per FIXME link "accessing github repo" page
```sh
cd
cd lmms
mkdir build target
cd build
../build_mingw32
# Note: If you receive errors from Cmake (SDL not found, etc), try again
../build_mingw32
make
# Note: If you receive "Error 2" At 42%, try again
make
# Create installer
make package
```
------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/NeoTech
_______________________________________________
LMMS-devel mailing list
LMMS-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lmms-devel