Compile for 0.6 not and some n00b questions

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.

You can get the experimentals here 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 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

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

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

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.

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/ .

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