# Compile for 0.6 not and some n00b questions

**URL:** https://discourse.cataclysmdda.org/t/compile-for-0-6-not-and-some-n00b-questions/11083
**Category:** The Garage
**Created:** [December 15, 2015, 4:47am UTC](https://discourse.cataclysmdda.org/t/compile-for-0-6-not-and-some-n00b-questions/11083 "2015-12-15T04:47:18Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![I\_haz\_no\_names](https://avatars.discourse-cdn.com/v4/letter/i/8797f3/32.png) [@I\_haz\_no\_names](https://discourse.cataclysmdda.org/u/I_haz_no_names)
#### Post date: [December 15, 2015, 4:47am UTC](https://discourse.cataclysmdda.org/t/compile-for-0-6-not-and-some-n00b-questions/11083/1 "2015-12-15T04:47:18Z")

</div>

Hello guys, I’ve followed the guide and installed the dependencies required for compiling Cataclysm.

First off, good job devs.

Second off, I have a question, where do you get the latest experimental?

0.5  
Linux Mint 17.5  
Curses? (Tiles don’t work)

However, while attempting to compile the Tiles version, I get an error when I type this:  
sudo make TILES=1 NATIVE=linux64 LUA=1

/usr/bin/ld: cannot find -lfreetype  
collect2: error: ld returned 1 exit status  
make: \*\*\* [cataclysm-tiles] Error 1

Any suggestions?

Another question(s), anyone know where the git file goes with the command? It’s the directory your terminal is in right?  
Where can I specify where to compile it? Not a good linux user.

---

<div class="post-metadata">

### Author: ![Malkeus](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/malkeus/32/12037_2.png) [@Malkeus](https://discourse.cataclysmdda.org/u/Malkeus)
#### Post date: [December 15, 2015, 4:58am UTC](https://discourse.cataclysmdda.org/t/compile-for-0-6-not-and-some-n00b-questions/11083/2 "2015-12-15T04:58:46Z")

</div>

You can get the experimentals here [http://dev.narc.ro/cataclysm/jenkins-latest/](http://dev.narc.ro/cataclysm/jenkins-latest/). I just went through the same thing you’re going through right now. But all my painfully gained knowledge applies to windows, codeblocks and the mingw compiler. I can tell you that in windows, when you type git clone [https://github/username/Cataclysm-dda](https://github/username/Cataclysm-dda) the cloned repository is placed in a subdirectory of the one you are in, called Cataclysm-dda. Sorry I can’t be of more help with compiling, I just learned yesterday ;D

---

<div class="post-metadata">

### Author: ![rremyroy](https://avatars.discourse-cdn.com/v4/letter/r/a183cd/32.png) [@rremyroy](https://discourse.cataclysmdda.org/u/rremyroy)
#### Post date: [December 15, 2015, 5:27am UTC](https://discourse.cataclysmdda.org/t/compile-for-0-6-not-and-some-n00b-questions/11083/3 "2015-12-15T05:27:03Z")

</div>

You need to install the dev version of the libfreetype library. The package is often called something like [tt]libfreetype6-dev[/tt].

Check out the compiling guide for for information: [https://github.com/CleverRaven/Cataclysm-DDA/blob/master/COMPILING.md](https://github.com/CleverRaven/Cataclysm-DDA/blob/master/COMPILING.md)

---

<div class="post-metadata">

### Author: ![I\_haz\_no\_names](https://avatars.discourse-cdn.com/v4/letter/i/8797f3/32.png) [@I\_haz\_no\_names](https://discourse.cataclysmdda.org/u/I_haz_no_names)
#### Post date: [December 15, 2015, 5:52am UTC](https://discourse.cataclysmdda.org/t/compile-for-0-6-not-and-some-n00b-questions/11083/4 "2015-12-15T05:52:14Z")

</div>

Ok thanks, didn’t get the libfreetype.

Now I git cloned the repo, but on compile I’m getting:

Package SDL2\_mixer was not found in the pkg-config search path.  
Perhaps you should add the directory containing `SDL2\_mixer.pc’  
to the PKG\_CONFIG\_PATH environment variable  
No package ‘SDL2\_mixer’ found

@Malkeus the linux build return an error stating there is no SDL2.0 build on my linux.

Edit, build finished with an error:

src/sdltiles.cpp:48:26: fatal error: SDL\_mixer.h: No such file or directory

# include \<SDL\_mixer.h\>

```
                      ^

```

compilation terminated.  
make: \*\*\* [obj/tiles/sdltiles.o] Error 1

---

<div class="post-metadata">

### Author: ![rremyroy](https://avatars.discourse-cdn.com/v4/letter/r/a183cd/32.png) [@rremyroy](https://discourse.cataclysmdda.org/u/rremyroy)
#### Post date: [December 15, 2015, 7:17am UTC](https://discourse.cataclysmdda.org/t/compile-for-0-6-not-and-some-n00b-questions/11083/5 "2015-12-15T07:17:56Z")

</div>

You need to install the dev version of the SDL2\_mixer library. Check in your packages list.

---

<div class="post-metadata">

### Author: ![I\_haz\_no\_names](https://avatars.discourse-cdn.com/v4/letter/i/8797f3/32.png) [@I\_haz\_no\_names](https://discourse.cataclysmdda.org/u/I_haz_no_names)
#### Post date: [December 16, 2015, 9:51am UTC](https://discourse.cataclysmdda.org/t/compile-for-0-6-not-and-some-n00b-questions/11083/6 "2015-12-16T09:51:07Z")

</div>

> [@rremyroy](#):
>
> You need to install the dev version of the SDL2\_mixer library. Check in your packages list.

That’s the issue, I’m not on my Mint install right now, but I’ve install all the SDL2 files in Mint.

---

<div class="post-metadata">

### Author: ![rremyroy](https://avatars.discourse-cdn.com/v4/letter/r/a183cd/32.png) [@rremyroy](https://discourse.cataclysmdda.org/u/rremyroy)
#### Post date: [December 19, 2015, 6:20am UTC](https://discourse.cataclysmdda.org/t/compile-for-0-6-not-and-some-n00b-questions/11083/7 "2015-12-19T06:20:21Z")

</div>

If your OS does not provide a package for SDL2\_mixer, you can always compile it from the source. Get them here: [https://www.libsdl.org/projects/SDL\_mixer/](https://www.libsdl.org/projects/SDL_mixer/) .

Also, you can avoid SDL2\_mixer by not compiling with sound if that makes it easier.
