'Why I get an error when including sdl image?
I set SDL2 and SDL_image 2 in Code::Blocks and now I get an error: "fatal error: SDL.h: No such file or directory" Can someone help, everything seems okay. My includes look like this:
#include <iostream>
#include <SDL2/SDL.h>
#include <SDL2/SDL_image.h>
The error is in SDL_Image.h line 27: #include "SDL.h"
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
