In fact, I was making a silly mistake on my
c sufixes on my makefile =)
Thanks for everyone`s help!
User Profile
Collapse
-
Well, somehow the error seems to have gone, and
I don`t know why.
I think it`s crazy, but restarting the pc made it go...?
Anyway, now I get a new error..
Code:cc1plus: warning: command line option "-std=c99" is valid for C/ObjC but not for C++ In file included from ../main.c:20: ../common.h:105:19: error: SDL.h: No such file or directory In file included from ../common.h:245
Leave a comment:
-
How to fix "expected identifier or '(' before '{' token" errors?
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
Code:SDL_SysWMinfo info; SDL_VERSION(&info.version); if ( SDL_GetWMInfo(&info) ) { Display *dpy = info.info.x11.display; Window win;
No activity results to display
Show More
Leave a comment: