A forum about programs for W:A and WWP.
http://lookias.worms2d.info/forum/

how can i compile this my own?
http://lookias.worms2d.info/forum/viewtopic.php?f=8&t=17
Page 1 of 1

Author:  lookias [ Thu Sep 25, 2008 10:02 pm ]
Post subject:  how can i compile this my own?

please note: this is NOT allways necessary. only try it, if you are sure you have problems because my compiled binarys dont work on your own linux distro.
opensuse 11 64bit and 32bit, ubuntu hardy 32bit and others are allready known to work without compiling anything of play worms armageddon alone.


compiling play worms armageddon on linux has 3 parts.

1 compiling the patched wine version.

2 compiling `play worms armageddon on linux`

3 override my binarys with your selfmade binarys.

first:
download the program and take the 3 patches from the wine4wa folder inside play wa on linux.
download the source of wine1.0 then apply the patches with:
patch -p1 < patch1
patch -p1 < patch2
patch -p1 < patch3
compile it with:
./configure -prefix=$HOME/wine4wa
make depend
make install

compiling wine requires some additional packages, the configure step will tell which packages you need, http://www.codeweavers.com/support/docs ... /compiling can be helpfull aswell.

second:
then compile the program:
you need to install Qt version 4.4.1 or newer.
http://trolltech.com/downloads/opensour ... ux-x11-cpp
now get the `xorg-x11-devel` package from your repo manager.
compile it with:
./configure
make sub-src
make install
this may take 3 hours on a 2ghz amd, mutlicore cpus can speed this up when you use `make sub-src -j8` instead of `make sub-src`.

after installing Qt, get the newest source from the source history of play wa on linux (requires a svn client).
svn co https://pwaol.svn.sourceforge.net/svnroot/pwaol pwaol

compile it with:
qmake -config release
make

third:
now replace the wine4wa folder inside your play_wa_on_linux program with that one you have just installed (patched and compiled) and replace the play_wa_on_linux executable with the one you have just compiled.

njoy.

Page 1 of 1 All times are UTC
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/