When trying to compile I get this
/main.c:30: error: expected identifier or '(' before '{' token
../main.c:31: error: expected identifier or '(' before 'if'
make: *** [main.o] Error 1
These are the lines, line 30 and 31 are the second SDL one and the if (... one.
I tried changing anythign around there, but it doesn`t
seem to work. Any ideas?
Thanks!
/main.c:30: error: expected identifier or '(' before '{' token
../main.c:31: error: expected identifier or '(' before 'if'
make: *** [main.o] Error 1
Code:
SDL_SysWMinfo info; SDL_VERSION(&info.version); if ( SDL_GetWMInfo(&info) ) { Display *dpy = info.info.x11.display; Window win;
I tried changing anythign around there, but it doesn`t
seem to work. Any ideas?
Thanks!
Comment