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

cogl-sdl support not detected by configure #28

Open
epitron opened this issue Dec 24, 2013 · 2 comments
Open

cogl-sdl support not detected by configure #28

epitron opened this issue Dec 24, 2013 · 2 comments

Comments

@epitron
Copy link

epitron commented Dec 24, 2013

Cogl doesn't build with SDL support enabled by default (on my Arch system, at least).

Rig's ./configure works fine, but the make dies here:

rut.c:29:27: fatal error: cogl/cogl-sdl.h: No such file or directory
 #include <cogl/cogl-sdl.h>
                           ^
compilation terminated.

Maybe configure should add a cogl-sdl.h test?

@epitron
Copy link
Author

epitron commented Dec 24, 2013

And, after adding cogl-sdl support, it's not finding SDL.h:

In file included from rut.c:29:0:
/usr/include/cogl2/cogl/cogl-sdl.h:46:17: fatal error: SDL.h: No such file or directory
 #include <SDL.h>
                 ^
compilation terminated.

@epitron
Copy link
Author

epitron commented Dec 24, 2013

Silly hack, but this fixes it:

CFLAGS="-I/usr/include/SDL2" ./configure

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