You are not logged in.
Pages: 1
In file included from .././src/video/x11/SDL_x11dyn.c:110:0:
.././src/video/x11/SDL_x11sym.h:106:1: error: conflicting types for ‘XextAddDisplay’
/usr/include/X11/extensions/extutil.h:123:25: note: previous declaration of ‘XextAddDisplay’ was here
make: *** [build/SDL_x11dyn.lo] Error 1
I get this error. Tried couple different revisions from HG (months apart) same issue everytime. I'm beginning to think that the issue is on my side.
Any ideas?
Offline
I got this problem after updating to libXext 1.3.1 - the third argument of XextAddDisplay was changed from 'char*' to 'const char*'.
I got around this by changing SDL_x11sym.h on the line it was complaining about, replacing 'char* c' with '_Xconst char* c'
Hope that helps
Offline
that was very specific and it worked. thank you
Offline
Pages: 1