Bug#787189: SDL_stretch.h causes compile error
Steve Clark
fawtytoo at gmail.com
Fri May 29 14:54:29 UTC 2015
Package: libsdl-stretch-dev
Version: 0.3.1-4
Including the SDL_stretch header file causes the following compile
error:
/usr/include/SDL_stretch/SDL_stretch.h:25:23: fatal error: SDL_video.h:
No such file or directory #include "SDL_video.h"
This is because the SDL stretch header files are in a separate
directory.
There are 2 possible solutions:
1. The SDL stretch header files should be in /usr/include/SDL with the
other SDL files
2. Comment the offending line out in SDL_stretch.h
Option 2 is tested as workable because the header file continues with:
#ifndef _SDL_video_h
#include <SDL/SDL_video.h>
#endif
... which means it will still work. But I think option 1 is preferable.
I don't know if this is an upstream bug. But as it stands, it unusable
unless that line is commented out.
More information about the Pkg-sdl-maintainers
mailing list