Sign in to follow this  
Applegenie

SDL_ttf

Recommended Posts

Applegenie    109
Hi,

I'm trying to make a platformer in C++ with SDL. It's going pretty well, but I ran into a small problem while trying to use the sdl_ttf library to use text in my application. After I downloaded the package, I couldn't find any sort of library or include folder which I could use. Only a couple of DLL's but that's it. Could any of you tell me what I'm doing wrong, or give me a link/file personally? I'm using DEV-C++ as IDE ( know it's kinda old, but I love the package manager that comes with it ).

Share this post


Link to post
Share on other sites
Start with this:

http://lazyfoo.net/SDL_tutorials/lesson03/windows/codeblocks/index.php

This is a tutorial on how to link the SDL_image lib. Do the same steps, but with SDL_ttf.

Uninstall DevC++, get Code::Blocks.

Share this post


Link to post
Share on other sites
Justindano    137
Looks like you have downloaded only the source files.
Alright, follow me through.
1: Go to http://www.libsdl.org/projects/SDL_ttf/
2: Scroll down all the way to Binary: topic
3: I assume you are using Windows, So Click on this SDL_ttf-devel-2.0.11-VC.zip and download it.
4: Link the libraries and includes correctly.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this