# Trouble with compiling on Ubuntu

**URL:** <https://discourse.cataclysmdda.org/t/trouble-with-compiling-on-ubuntu/4321>\
**Category:** The Garage\
**Created:** [November 30, 2013, 9:51pm UTC](https://discourse.cataclysmdda.org/t/trouble-with-compiling-on-ubuntu/4321 "2013-11-30T21:51:23Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Wagjaffer](https://avatars.discourse-cdn.com/v4/letter/w/7993a0/32.png) [@Wagjaffer](https://discourse.cataclysmdda.org/u/Wagjaffer)\
**Post date:** [November 30, 2013, 9:51pm UTC](https://discourse.cataclysmdda.org/t/trouble-with-compiling-on-ubuntu/4321/1 "2013-11-30T21:51:23Z")

</div>

After following the directions for compiling the game here: [http://smf.cataclysmdda.com/index.php?topic=3.0](http://smf.cataclysmdda.com/index.php?topic=3.0), when I type “./cataclysm” into the terminal, it opens the game and everything works just fine. However, it displays it in the same terminal window I type the command in. Are there any fixes to this? Did I compile it incorrectly?

---

<div class="post-metadata">

**Author:** ![Luissen](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/luissen/32/1025_2.png) [@Luissen](https://discourse.cataclysmdda.org/u/Luissen)\
**Post date:** [November 30, 2013, 10:16pm UTC](https://discourse.cataclysmdda.org/t/trouble-with-compiling-on-ubuntu/4321/2 "2013-11-30T22:16:42Z")

</div>

this is intended behavior for the console version.

---

<div class="post-metadata">

**Author:** ![Wagjaffer](https://avatars.discourse-cdn.com/v4/letter/w/7993a0/32.png) [@Wagjaffer](https://discourse.cataclysmdda.org/u/Wagjaffer)\
**Post date:** [November 30, 2013, 10:22pm UTC](https://discourse.cataclysmdda.org/t/trouble-with-compiling-on-ubuntu/4321/3 "2013-11-30T22:22:29Z")

</div>

Oh! Well now I feel stupid. Thanks though. I’ll be off downloading the graphical version then.

---

<div class="post-metadata">

**Author:** ![bothria](https://avatars.discourse-cdn.com/v4/letter/b/cc9497/32.png) [@bothria](https://discourse.cataclysmdda.org/u/bothria)\
**Post date:** [November 30, 2013, 11:10pm UTC](https://discourse.cataclysmdda.org/t/trouble-with-compiling-on-ubuntu/4321/4 "2013-11-30T23:10:52Z")

</div>

> [@Wagjaffer](#):
>
> Oh! Well now I feel stupid. Thanks though. I’ll be off downloading the graphical version then.

You already have it, I think. Instead of running make, run

```auto
make TILES=1
```

You may need to install SDL packages; maybe sdl\_image, sdl\_ttf?  
Also, if you don’t mind a longer compile time, append ‘RELEASE=1’ to the command. This will take longer, but enables optimizations that make the game run better.
