# Tiles Compilation Error (for the umpteenth time)

**URL:** <https://discourse.cataclysmdda.org/t/tiles-compilation-error-for-the-umpteenth-time/5539>\
**Category:** The Garage\
**Created:** [March 22, 2014, 12:12am UTC](https://discourse.cataclysmdda.org/t/tiles-compilation-error-for-the-umpteenth-time/5539 "2014-03-22T00:12:03Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Moon-Shooter](https://avatars.discourse-cdn.com/v4/letter/m/c0e974/32.png) [@Moon-Shooter](https://discourse.cataclysmdda.org/u/Moon-Shooter)\
**Post date:** [March 22, 2014, 12:12am UTC](https://discourse.cataclysmdda.org/t/tiles-compilation-error-for-the-umpteenth-time/5539/1 "2014-03-22T00:12:03Z")

</div>

Hi. I just discovered Cataclysm DDA maybe… a week ago? And I’m in love with it. Graphics are classic and Nethack-y but the gameplay is so deep that I can’t believe how much better this game is than some triple A titles I’ve played in the past. Suck it Fallout 3, you weren’t infinite and you didn’t let me fight fuckin’ dinosaurs.

But joking aside, I still need help. I am currently a Linux user (distro KDE if I’m not mistaken. Correct me if I’m not and it’s just Ubuntu) and I’m still having a bitch of a time getting the tiles to work. Don’t get me wrong, I managed to get the regular ./cataclysm to work just fine, but for some reason I can’t seem to run ./cataclysm-tiles. Which is a shame, because I want to determine myself if this game could get any more… you know, more, with graphics I don’t have to always spam the “E” key over to figure out what everything is.

I’d much appreciate you all taking me through the steps to getting this to run, but if it helps, I can tell you what I’ve done already.

Essentially, I have:  
sudo apt-get install libsdl1.2-dev libsdl-ttf2.0-dev:i386

Followed by of course an apt-get install update

To no avail, accompanies with

make TILES = 1

Which also did nothing… all I got was a:

src/cata\_tiles.h:13:22: fatal error: SDL2/SDL.h: No such file or directory  
#include “SDL2/SDL.h”  
^  
compilation terminated.  
make: \*\*\* [obj/tiles/animation\_tiles.o] Error 1

I’m honestly at a loss, and I’m unsure of where to look, and if an issue like this hasn’t already been solved on the forums. If it has, a link would be nice.

---

<div class="post-metadata">

**Author:** ![CIB](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/cib/32/903_2.png) [@CIB](https://discourse.cataclysmdda.org/u/CIB)\
**Post date:** [March 22, 2014, 12:15am UTC](https://discourse.cataclysmdda.org/t/tiles-compilation-error-for-the-umpteenth-time/5539/2 "2014-03-22T00:15:03Z")

</div>

You need SDL2, not SDL1.2.

---

<div class="post-metadata">

**Author:** ![Moon-Shooter](https://avatars.discourse-cdn.com/v4/letter/m/c0e974/32.png) [@Moon-Shooter](https://discourse.cataclysmdda.org/u/Moon-Shooter)\
**Post date:** [March 22, 2014, 12:18am UTC](https://discourse.cataclysmdda.org/t/tiles-compilation-error-for-the-umpteenth-time/5539/3 "2014-03-22T00:18:35Z")

</div>

Alright then, how would I go about getting SDL2? And implementing it so I can use it?

---

<div class="post-metadata">

**Author:** ![Moon-Shooter](https://avatars.discourse-cdn.com/v4/letter/m/c0e974/32.png) [@Moon-Shooter](https://discourse.cataclysmdda.org/u/Moon-Shooter)\
**Post date:** [March 22, 2014, 12:23am UTC](https://discourse.cataclysmdda.org/t/tiles-compilation-error-for-the-umpteenth-time/5539/4 "2014-03-22T00:23:54Z")

</div>

E: Unable to locate package libsdl2.0-dev  
E: Couldn’t find any package by regex ‘libsdl2.0-dev’

Side note, I keep getting an error saying that it’s unable to locate any 2.0-dev package for SDL… if this was what I was supposed to do in the first place anywho.

---

<div class="post-metadata">

**Author:** ![elauminx](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/elauminx/32/283_2.png) [@elauminx](https://discourse.cataclysmdda.org/u/elauminx)\
**Post date:** [March 22, 2014, 12:44am UTC](https://discourse.cataclysmdda.org/t/tiles-compilation-error-for-the-umpteenth-time/5539/5 "2014-03-22T00:44:48Z")

</div>

tried ‘libsdl2-dev’,

already?  
eai

P.S. apt-cache search libsdl  
…

---

<div class="post-metadata">

**Author:** ![Moon-Shooter](https://avatars.discourse-cdn.com/v4/letter/m/c0e974/32.png) [@Moon-Shooter](https://discourse.cataclysmdda.org/u/Moon-Shooter)\
**Post date:** [March 22, 2014, 4:07am UTC](https://discourse.cataclysmdda.org/t/tiles-compilation-error-for-the-umpteenth-time/5539/6 "2014-03-22T04:07:19Z")

</div>

[quote=“elauminx, post:5, topic:5539”]tried ‘libsdl2-dev’,

already?  
eai

P.S. apt-cache search libsdl  
…[/quote]

Well I tried that, but nothing happened. apt-get install libsdl2-dev

libsdl1.2-dbg - Simple DirectMedia Layer debug files  
libsdl1.2-dev - Simple DirectMedia Layer development files  
libsdl1.2debian - Simple DirectMedia Layer  
maelstrom - An arcade-style game resembling Asteroids.  
wolf4sdl - SDL-Port of Wolfenstein 3-D and Spear of Destiny  
erlang-esdl - Erlang bindings to the Simple Direct Media Library  
fische - stand-alone sound visualisation for Linux  
glhack - Fullscreen SDL/OpenGL version of NetHack  
libalien-sdl-dev-perl - helper to build Perl program using SDL libraries  
libalien-sdl-perl - helper to get, build and use SDL libraries  
libsdl-console - Console that can be added to any SDL application, libraries  
libsdl-console-dev - Console that can be added to any SDL application, development files  
libsdl-gfx1.2-4 - drawing and graphical effects extension for SDL  
libsdl-gfx1.2-dev - development files for SDL\_gfx  
libsdl-gfx1.2-doc - documentation files for SDL\_gfx  
libsdl-gst - SDL bindings for GNU Smalltalk  
libsdl-image-gst - SDL\_image bindings for GNU Smalltalk  
libsdl-image1.2 - Image loading library for Simple DirectMedia Layer 1.2, libraries  
libsdl-image1.2-dbg - Image loading library for Simple DirectMedia Layer 1.2, debugging  
libsdl-image1.2-dev - Image loading library for Simple DirectMedia Layer 1.2, development files  
libsdl-mixer-gst - SDL\_mixer bindings for GNU Smalltalk  
libsdl-mixer1.2 - Mixer library for Simple DirectMedia Layer 1.2, libraries  
libsdl-mixer1.2-dbg - Mixer library for Simple DirectMedia Layer 1.2, debugging  
libsdl-mixer1.2-dev - Mixer library for Simple DirectMedia Layer 1.2, development files  
libsdl-net1.2 - Network library for Simple DirectMedia Layer 1.2, libraries  
libsdl-net1.2-dbg - Network library for Simple DirectMedia Layer 1.2, libraries  
libsdl-net1.2-dev - Network library for Simple DirectMedia Layer 1.2, development files  
libsdl-ocaml - OCaml bindings for SDL - runtime files  
libsdl-ocaml-dev - OCaml bindings for SDL - development files  
libsdl-pango-dev - text rendering with Pango in SDL applications (development)  
libsdl-pango1 - text rendering with Pango in SDL applications (shared library)  
libsdl-perl - SDL bindings for the Perl language  
libsdl-ruby - Transitional package for ruby-sdl  
libsdl-ruby1.8 - Transitional package for ruby-sdl  
libsdl-ruby1.9.1 - Transitional package for ruby-sdl  
libsdl-sge - extension of graphic functions for SDL multimedia libraries  
libsdl-sge-dev - extension of graphic functions for the SDL multimedia, development files  
libsdl-sound-gst - SDL\_sound bindings for GNU Smalltalk  
libsdl-sound1.2 - Sound library for Simple DirectMedia Layer 1.2, libraries  
libsdl-sound1.2-dev - Sound library for Simple DirectMedia Layer 1.2, development files  
libsdl-stretch-0-3 - stretch functions for Simple DirectMedia Layer  
libsdl-stretch-dev - development files for SDL\_stretch library  
libsdl-ttf-gst - SDL\_ttf bindings for GNU Smalltalk  
libsdl-ttf2.0-0 - TrueType Font library for Simple DirectMedia Layer 1.2, libraries  
libsdl-ttf2.0-dev - TrueType Font library for Simple DirectMedia Layer 1.2, development files  
libsdl2-2.0-0 - Simple DirectMedia Layer  
libsdl2-dbg - Simple DirectMedia Layer debug files  
libsdl2-dev - Simple DirectMedia Layer development files  
libsdl2-image-2.0-0 - Image loading library for Simple DirectMedia Layer 2, libraries  
libsdl2-image-dbg - Image loading library for Simple DirectMedia Layer 2, debugging symbols  
libsdl2-image-dev - Image loading library for Simple DirectMedia Layer 2, development files  
libsdl2-mixer-2.0-0 - Mixer library for Simple DirectMedia Layer 2, libraries  
libsdl2-mixer-dbg - Mixer library for Simple DirectMedia Layer 2, debugging  
libsdl2-mixer-dev - Mixer library for Simple DirectMedia Layer 2, development files  
libsdl2-net-2.0-0 - Network library for Simple DirectMedia Layer 2, libraries  
libsdl2-net-dbg - Network library for Simple DirectMedia Layer 2, debugging  
libsdl2-net-dev - Network library for Simple DirectMedia Layer 2, development files  
ruby-sdl - Ruby/SDL interface for Ruby

This is what I got when I did the cache thing. Should I try installing one of these? And if so, which one?

---

<div class="post-metadata">

**Author:** ![Moon-Shooter](https://avatars.discourse-cdn.com/v4/letter/m/c0e974/32.png) [@Moon-Shooter](https://discourse.cataclysmdda.org/u/Moon-Shooter)\
**Post date:** [March 22, 2014, 2:20pm UTC](https://discourse.cataclysmdda.org/t/tiles-compilation-error-for-the-umpteenth-time/5539/7 "2014-03-22T14:20:22Z")

</div>

Apparently it’s not available the way I’m going through this. Is there any other place/way to obtain what I need?

---

<div class="post-metadata">

**Author:** ![elauminx](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/elauminx/32/283_2.png) [@elauminx](https://discourse.cataclysmdda.org/u/elauminx)\
**Post date:** [March 22, 2014, 3:14pm UTC](https://discourse.cataclysmdda.org/t/tiles-compilation-error-for-the-umpteenth-time/5539/8 "2014-03-22T15:14:07Z")

</div>

Are you trying to be confusing on purpose or just being ADHD lazy?

So what does actually happen when you do:  
apt-get install libsdl2-dev

?,  
eai
