a day ago I installed an SDL2 library. It is not in Debian Wheezy yet, so I used configure, make, make install
commands.
After all, when I try to use SDL_Texture, I get this error:
error: forward declaration of ‘SDL_Texture {aka struct SDL_Texture}’
invalid use of incomplete type ‘SDL_Texture {aka struct SDL_Texture}’
After looking for declaration, everything I found are these two lines in SDL_render.h:
struct SDL_Texture;
typedef struct SDL_Texture SDL_Texture;
No definition at all. I think my installation is missing file SDL_sysrender.h. It is in source code I downloaded, but not in SDL2 include path.
Where should be the problem? Its necessary to use any flag for configure file? Thank you for help.