| Summary: | /usr/include/SDL2/SDL_syswm.h:77:22: fatal error: directfb.h: No such file or directory | ||
|---|---|---|---|
| Product: | SDL | Reporter: | Julian Ospald <hasufell> |
| Component: | build | Assignee: | Sam Lantinga <slouken> |
| Status: | RESOLVED FIXED | QA Contact: | Sam Lantinga <slouken> |
| Severity: | normal | ||
| Priority: | P2 | CC: | libsdl |
| Version: | 2.0.1 | ||
| Hardware: | All | ||
| OS: | Linux | ||
| See Also: | https://bugs.gentoo.org/show_bug.cgi?id=503130 | ||
Ofc this only happens when sdl2 is compiled with directfb support. This should be fixed, thanks! https://hg.libsdl.org/SDL/rev/0c32452a6141 |
# cat > main.c <<EOL > #include <SDL_syswm.h> > EOL # gcc $(sdl2-config --cflags) -c main.c In file included from main.c:1:0: /usr/include/SDL2/SDL_syswm.h:77:22: fatal error: directfb.h: No such file or directory #include <directfb.h> ^ compilation terminated. It seems to me that this is a bug in sdl2-config and sdl2.pc which should at least add "-I/usr/include/directfb" in one way or another, because this happens regardless of whether a consumer actually uses directfb.