Getting this to work involves a few points where one might choose the wrong path, so here's a little something about building for Windows. Maybe there should be a wiki page on the subject?
Many thanks to Umcaruje for a few crucial hints! ### Installing packages for cross compiling # Toby has prepared a nice set of packages: $ sudo add-apt-repository ppa:tobydox/mingw # Change the "trusty" release tags to "precise" $ sudo $EDITOR /etc/apt/sources.list.d/tobydox-mingw-trusty.list $ sudo apt-get update # NSIS is for building packages, cloog is a dependency of the -gcc packages) # (I prefer to use system packages as far as possible, but cloog and isl are # available in the PPA, too) $ sudo apt-get install nsis cloog-isl # 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) $ sudo dpkg -i libmpc2_VERSIONS_ETC.deb # NB! the -bootstrap packages aren't needed and will probably # just mess things up, don't install them $ 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 # Get the source in the normal way and checkout the branch you want # Do the Cmake song and dance $ mkdir build target $ cd build # 32 or 64, any way you wish $ ../build_mingw32 # I get errors from Cmake, like SDL not found, so try again... # works on my system at least :) $ ../build_mingw32 $ make # At 42%, there's an lmms.exe and "Error 2" (at least on master branch). # Don't worry, a second "make" gets all the way through $ make # If you want something installable: $ make package -- ra...@iki.fi softrabbit on #lmms ------------------------------------------------------------------------------ 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