title: Visual Studio C++ 2010 error LNK2019: unresolved external symbol
body: <p>I am using Microsoft Visual Studio C++ 2010 Express Edition and
  I'm trying to compile an SDL project using the SDL_ttf.lib and get the following error messages:</p>
  
  <pre><code>1&gt;SDL.obj : error LNK2019: unresolved external symbol _TTF_CloseFont referenced in function "void __cdecl DrawTextW(struct SDL_Surface *,class std::basic_string&lt;char,struct std::char_traits&lt;char&gt;,class std::allocator&lt;char&gt; &gt;,int,int,int,int,int,int,int,int,int)" (?DrawTextW@@YAXPAUSDL_Surface@@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@HHHHHHHHH@Z)
  
  1&gt;SDL.obj : error LNK2019: unresolved external symbol _TTF_RenderText_Shaded referenced in function "void __cdecl DrawTextW(struct SDL_Surface *,class std::basic_string&lt;char,struct std::char_traits&lt;char&gt;,class std::allocator&lt;char&gt; &gt;,int,int,int,int,int,int,int,int,int)" (?DrawTextW@@YAXPAUSDL_Surface@@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@HHHHHHHHH@Z)
  
  1&gt;SDL.obj : error LNK2019: unresolved external symbol _TTF_OpenFont referenced in function "void __cdecl DrawTextW(struct SDL_Surface *,class std::basic_string&lt;char,struct std::char_traits&lt;char&gt;,class std::allocator&lt;char&gt; &gt;,int,int,int,int,int,int,int,int,int)" (?DrawTextW@@YAXPAUSDL_Surface@@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@HHHHHHHHH@Z)
  
  1&gt;SDL.obj : error LNK2019: unresolved external symbol _TTF_Init referenced in function "bool __cdecl Init(void)" (?Init@@YA_NXZ)
  
  1&gt;SDL.obj : error LNK2019: unresolved external symbol _TTF_Quit referenced in function _SDL_main
  </code></pre>
  
  <p>I searched for solutions already but haven't found anything that solves my problem.
  I didn't forget to link SDL_ttf.lib, I linked the folder with it also, included the header and put the SDL_ttf.dll into my projects folder.</p>
  
  <p>P.S I have the same problem with SDL_image.</p>