# Help needed cross compiling Windows Tile version on Linux

**URL:** <https://discourse.cataclysmdda.org/t/help-needed-cross-compiling-windows-tile-version-on-linux/5018>\
**Category:** The Lab\
**Created:** [February 9, 2014, 1:57pm UTC](https://discourse.cataclysmdda.org/t/help-needed-cross-compiling-windows-tile-version-on-linux/5018 "2014-02-09T13:57:08Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![smotazor](https://avatars.discourse-cdn.com/v4/letter/s/9fc29f/32.png) [@smotazor](https://discourse.cataclysmdda.org/u/smotazor)\
**Post date:** [February 9, 2014, 1:57pm UTC](https://discourse.cataclysmdda.org/t/help-needed-cross-compiling-windows-tile-version-on-linux/5018/1 "2014-02-09T13:57:08Z")

</div>

Hello  
I want to learn how to compile a windows tiles version of the game using Linux.

I am running Ubuntu 12.04 as a VM. Specifically I want to compile this version of the game [https://github.com/CleverRaven/Cataclysm-DDA/releases/tag/0.9](https://github.com/CleverRaven/Cataclysm-DDA/releases/tag/0.9)

I am following the [compiling.md](http://compiling.md) instructions. But I always get errors.

These are the steps I have followed.

Cross-compile to Windows SDL from Linux

Dependencies:

```
mxe

```

sudo apt-get install autoconf bison flex cmake git automake intltool libtool scons yasm  
mkdir -p ~/src/mxe  
git clone -b stable [https://github.com/mxe/mxe.git](https://github.com/mxe/mxe.git) ~/src/mxe  
cd ~/src/mxe  
make sdl sdl\_ttf

Building

PATH="${PATH}:~/src/mxe/usr/bin"  
make TILES=1 CROSS=i686-pc-mingw32-

I have just been typing all these commands into a terminal window, is that correct?  
Are there steps that I have to do before starting this process? Or are there other things I need to know?

I would love if someone with knowledge of how to cross compile wrote a detailed guide.

Thanks 🙂
