how do you set up sdl_ttf in codeblocks? Ive read lazyfoo's tutorial about adding new libraries to sdl, and have successfully added sdl_image to it. however, ttf refuses to work. i have downloaded the files, put the header file in the sdl folder, put the dlls and lib in syswow64 and added a -lSDL_ttf to the linker settings, but i keep on getting the error ld.exe||cannot find -lSDL_ttf|
how do i fix this?
Asked
Active
Viewed 1,633 times
3

Martin G
- 17,357
- 9
- 82
- 98

wantstoprogram
- 31
- 2
-
check if you have .so in the correct path (`/usr/lib`?). Make an `locate sdl_image` and look where is it. – jotapdiez Apr 28 '11 at 16:53
-
wow. i found what i did wrong – wantstoprogram Apr 28 '11 at 17:00
2 Answers
0
sudo apt-get install libsdl-ttf2.0-dev
Or in Windows, make sure you put the SDL_ttf libs and includes into the SDL folders.

TheBuzzSaw
- 8,648
- 5
- 39
- 58