Jump to content
  • Advertisement
Sign in to follow this  
Applegenie

SDL_ttf

This topic is 2469 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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
Advertisement
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
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
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!