Hi Reece, we use MXE to compile Enigma for Windows under Linux.
1) Install MXE (this is a non-trivial step, and any further problems down the compilation route probably originate here): http://www.mxe.cc 2) For safety, work on a copy of the trunk, specifically for the task of compiling for Windows. 3) Take a look at etc/mxe-configure.sh and make sure that PATH is correct. If your installed MXE is not i686-pc-mingw32, you might have to replace those references as well. 4) cd etc chmod u+x mxe-configure.sh ./mxe-configure.sh 5) It should show "Enigma is now configured ...", otherwise install missing packets (or review steps 1 and 3). 6) cd .. make 7) The executable is src/enigma.exe Does this work for you? Best regards, Andreas Am 27.10.2013 19:19, schrieb Reece: > Hello Everyone! > > I have recently started learning how to program in C/C++ and use the > SDL library. > I have been successful at creating and compiling a simple 2D test game > using Ubuntu Linux. > However, I have not been able to setup successful build environment > for compiling on Windows 7. > I have also not been able to find much in the way of how to cross > compile for Windows using a Linux build environment! > > I would preferable want to cross compile so that I don't have to > switch between the different operating systems. > I know that Enigma is built for both platforms and Enigma also uses > the SDL library. > For this reason, I have come to you for help on this topic. > > How do you, the Enigma Team, go about compiling Enigma for windows > using Linux if this is indeed what you do? > If that is not how you get a binary for Windows, what do you do? > > Any help or pointers in any direction would be greatly appreciated! > Thank you for any time you take to help answer my questions! > > Reece > > > _______________________________________________ > Enigma-devel mailing list > Enigma-devel@nongnu.org > https://lists.nongnu.org/mailman/listinfo/enigma-devel _______________________________________________ Enigma-devel mailing list Enigma-devel@nongnu.org https://lists.nongnu.org/mailman/listinfo/enigma-devel