Linking With Sdl_ttf, And Sdl_image In Vis Studio


p0is0n

Still Fresh
Joined
Aug 29, 2007
Messages
24
Age
38
Location
UK
Website
Visit site
Hi guys, here again with a few questions.

I'm using Visual Studio with SDL. I'm trying to use SDL_ttf, and SDL_image, i'm getting an "Undefined refrence" for every function call i make to SDL_image and SDL_ttf. I have given the paths to visual studio for the header file and the lib file.

Question Time
I know i need to use the libSDL_ttf.a, and libSDL_image.a, but are they the same as the windows libs?
for example can i take SDL_ttf.lib and rename it to libSDL_ttf.a and have that work?
If they are different where would i get the .a libs from?
If it isnt this, what else could it be?

Thanks in advance!

EDIT: Nevermind I've managed to find all of the right libs i need here:
http://archive.gp2x.de/cgi-bin/cfiles.cgi?0,0,0,0,14,1362

EDIT: Anyone know what i need to link with to set up SDL_mixer, and what order it needs to be done in?

EDIT : Nevermind i've decided to use normal SDL sound instead of using mixer, but still would be nice if someone would say how to link with SDL_mixer and in what order, or more usefully, how you can know/tell.
 
Back
Top