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 ).
SDL_ttf
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.
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.
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.
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.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement