Hello,
I recently wanted to compile the sdljava library from source.
As I tried to compile it I got various errors of this shape:
SDLVideo_wrap.c:854:15: error: conflicting types for ‘SDL_MapRGB’
/usr/include/SDL/SDL_video.h:492:32: note: previous declaration of
‘SDL_MapRGB’ was here
With the help of a friend I was able to modify the source so that it
would compile. I'm aware that this is probably not a clean solution and
I just tested it on my local system (Gentoo Linux with kernel 3.7.10),
but a developer of this project might find this patch useful and knows
how to properly integrate it.
Best regards,
Lennart
|