title: fatal error: SDL2/SDL_ttf.h: No such file or directory
body: <p>I'm fairly new to c++ and have run into this problem. I'm trying to simply include the header file SDL_tff.h but it can't be found. I am fairly sure I have installed correctly SDL2_ttf-2.0.14 and added the header to global search directory and library to linker tab in Code::Blocks. Also I have added -lSDL2_ttf under the other linker options in the linker setting tab. And put all the .dll files into the .exe directory. Can anyone help me work out why it can't be found?</p>
  
  <pre><code>#include "SDL.h"
  #include "SDL2/SLD_ttf.h" //fatal error: SDL2/SDL_ttf.h: No such file or directory
  
  int main(int argc, char* argv[])
  {
  if (SDL_Init(SDL_INIT_EVERYTHING) == 0) {
      SDL_Window* window = NULL;
      SDL_Renderer* renderer = NULL;
      //TTF_Font* Sans = TTF_OpenFont("Sans.ttf", 24);
  
  
      if (SDL_CreateWindowAndRenderer(640, 480, 0, &amp;window, &amp;renderer) ==  0) {
          SDL_bool done = SDL_FALSE;
  
          while (!done) {
              SDL_Event event;
  
              SDL_SetRenderDrawColor(renderer, 220, 220, 220, SDL_ALPHA_OPAQUE);
              SDL_RenderClear(renderer);
  
  
              SDL_SetRenderDrawColor(renderer, 0, 0, 0, SDL_ALPHA_OPAQUE);
              SDL_RenderDrawLine(renderer, 10, 10, 630, 10);
              SDL_RenderDrawLine(renderer, 630, 10, 630, 470);
              SDL_RenderDrawLine(renderer, 630, 470, 10, 470);
              SDL_RenderDrawLine(renderer, 10, 470, 10, 10);
              SDL_RenderPresent(renderer);
  
              while (SDL_PollEvent(&amp;event)) {
                  if (event.type == SDL_QUIT) {
                      done = SDL_TRUE;
                  }
              }
          }
      }
  
      if (renderer) {
          SDL_DestroyRenderer(renderer);
      }
      if (window) {
          SDL_DestroyWindow(window);
      }
  }
  SDL_Quit();
  return 0;
  </code></pre>
  
  <p>}</p>