Skip to main content
GameDev.net gamedev.net
🔒 Locked

SDL_ttf

Started by Applegenie Feb 17, 2012 at 10:59 AM 1 replies 1.9k views
Original Post
Applegenie
Applegenie
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 ).
Bartek Bartyzel
Bartek Bartyzel
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.
Justindano
Justindano
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.

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.