Jump to content

  • Log In with Google      Sign In   
  • Create Account

SDL_ttf


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
2 replies to this topic

#1 Applegenie   Members   -  Reputation: 109

Like
0Likes
Like

Posted 17 February 2012 - 04:59 AM

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

Sponsor:

#2 Barn   Members   -  Reputation: 100

Like
0Likes
Like

Posted 12 March 2012 - 06:46 PM

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.

#3 JustinDaniel   Members   -  Reputation: 137

Like
0Likes
Like

Posted 13 March 2012 - 12:10 AM

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.




Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS