Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

/usr/include/SDL2/SDL_syswm.h:77:22: fatal error: directfb.h: No such file or directory #1382

Closed
SDLBugzilla opened this issue Feb 10, 2021 · 0 comments

Comments

@SDLBugzilla
Copy link
Collaborator

This bug report was migrated from our old Bugzilla tracker.

Reported in version: 2.0.1
Reported for operating system, platform: Linux, All

Comments on the original bug report:

On 2014-03-04 01:47:07 +0000, Julian Ospald wrote:

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.

On 2014-03-04 01:49:20 +0000, Julian Ospald wrote:

Ofc this only happens when sdl2 is compiled with directfb support.

On 2014-04-18 06:19:10 +0000, Sam Lantinga wrote:

This should be fixed, thanks!
https://hg.libsdl.org/SDL/rev/0c32452a6141

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant