Can't compile program in gcc with SDL_image

Program’s “test.cpp” code:
#include <SDL/SDL.h>
#include <SDL2/SDL_image.h>

using namespace std;

SDL_Window *win = NULL;
SDL_Renderer *ren = NULL;
SDL_Surface *screen = NULL;
bool init(){
if( SDL_Init( SDL_INIT_VIDEO ) < 0 )
{
std::cout<<"SDL could not initialize! SDL_Error: "<< SDL_GetError()<< endl;
return 1;
}
else
{
//Create window
win = SDL_CreateWindow( “risovach”, SDL_WINDOWPOS_UNDEFINED, SDL_WINDOWPOS_UNDEFINED, 500, 500, SDL_WINDOW_SHOWN );
if( win == NULL )
{
std::cout<< "Window could not be created! SDL_Error: "<< SDL_GetError()<< endl;
return 1;
}
else
{
ren = SDL_CreateRenderer( win, -1, SDL_RENDERER_ACCELERATED );
}
screen = SDL_GetWindowSurface(win);
}
return 0;
}

int main()
{
init();
SDL_Surface *image = IMG_Load("/home/goodgame/Desktop/anime.jpeg");
SDL_BlitSurface( image, NULL, screen, NULL );
SDL_Delay(2000);
return 0;
}

Command in Linux terminal:
g++ -o test test.cpp -lSDL2 -lSDL2_image

Error text:
In file included from test.cpp:3:
/usr/include/SDL2/SDL_image.h:27:10: fatal error: SDL.h: Нет такого файла или каталога (From russian it mean something about “don’t have this file”)
#include “SDL.h”
^~~~~~~

What I should do?

Sorry if I have some mistakes in text, english isn’t my native language.

Sorry, I don’t read russian, but can you try :slight_smile:

g++ -o test test.cpp  -lSDL2_image `sdl2-config --cflags --libs` 

And if it does not work, retry doing:
LANG=C g++ -o test test.cpp -lSDL2_image sdl2-config --cflags --libs

Maybe we could understand the error message then :slight_smile: