title: Linking SDL_ttf library in C++
body: <p>I'm having a problem linking SDL_ttf library with C++ compiler. I have tried three different programs and i couldn't solve the problem in any of them. I've tried Dev C++, Eclipse and CodeBlocks. In all of them it appeared a different error, but all related to not finding -lSDL_ttf or not recognizing the functions of that library. 
  I'm following this tutorial <a href="http://lazyfoo.net/SDL_tutorials/" rel="nofollow">http://lazyfoo.net/SDL_tutorials/</a> and have done everything i have found on the internet. I copy the .h file inside /include/SDL/ directory, the .dll files inside the project directory, and the files within /lib directory into the /lib directory that i am using. I think the error might be here, as SDL_image for example, have ".lib" files, and in ttf there is no such file. They are all ".a" or ".la". I'm new to C++ so i don't know if i am doing something wrong.
  Thank anyone for his help.</p>
  
  <p>The error in code blocks is the following:</p>
  
  <p>ld.exe                      cannot find -lSDL_ttf</p>