'Cannot include "SDL2_ttf" or "SDL2_image"

When i run code it had an error:

src/snake/Screen.hpp:7:10: fatal error: 'SDL_ttf.h' file not found
   #include "SDL_ttf.h"
         ^~~~~~~~~~~
   1 error generated.
   make: *** [all] Error 1

I included sdl2 library in my project and i only have problems with sdl2_image and sdl2_ttf.

This is my makefile:

SRC_DIR = src/snake
BUILD_DIR = build/debug
CC = g++
SRC_FILES = $(wildcard $(SRC_DIR)/*.cpp)
OBJ_NAME = play
INCLUDE_PATHS = -Iinclude
LIBRARY_PATHS = -Llib
COMPILER_FLAGS = -std=c++11 -Wall -O0 -g
LINKER_FLAGS = -lsdl2 -lsdl2_image -lsdl2_ttf

all:
    $(CC) $(COMPILER_FLAGS) $(LINKER_FLAGS) $(INCLUDE_PATHS) $(LIBRARY_PATHS) $(SRC_FILES) -o $(BUILD_DIR)/$(OBJ_NAME) 


Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source