I was following this tutorial.
http://wiki.armagetronad.org/index.php? ... from_Linux
First, I installed the dependencies ( sudo apt-get install mingw-w64 xml2)
And ran the usual commands I use to compile Armagetron Advanced on my Linux but this time with the correct configure for cross compiling
Code: Select all
make clean
./bootstrap
./configure --host=i686-w64-mingw32 --prefix=/usr/i686-w64-mingw32 --with-python=no
Code: Select all
checking for xmlParseMemory in -lxml2... no
configure: error: You need the library xml2 to compile Armagetron Advanced. Read the file doc/installation.txt.
Code: Select all
root@John:~/Downloads/xml2-0.4# apt-get install xml2
Reading package lists... Done
Building dependency tree
Reading state information... Done
xml2 is already the newest version.
The following packages were automatically installed and are no longer required:
libseccomp2 torsocks
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
root@John:~/Downloads/xml2-0.4#