Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- rakhi@rakhi-Inspiron-3542:~$ gcc -o Animation Animation.c
- Animation.c: In function ‘main’:
- Animation.c:30:17: error: ‘SANS_SERIF_FONT’ undeclared (first use in this function)
- settextstyle(SANS_SERIF_FONT,HORIZ_DIR,2);
- ^
- Animation.c:30:17: note: each undeclared identifier is reported only once for each function it appears in
- Animation.c:30:33: error: ‘HORIZ_DIR’ undeclared (first use in this function)
- settextstyle(SANS_SERIF_FONT,HORIZ_DIR,2);
- ^
- Animation.c:38:7: error: too many arguments to function ‘random’
- temp1 = 1 + random ( 588 );
- ^
- In file included from /usr/include/SDL/SDL_stdinc.h:40:0,
- from /usr/include/SDL/SDL_main.h:26,
- from /usr/include/SDL/SDL.h:30,
- from /usr/local/include/graphics.h:30,
- from Animation.c:1:
- /usr/include/stdlib.h:321:17: note: declared here
- extern long int random (void) __THROW;
- ^
- Animation.c:39:7: error: too many arguments to function ‘random’
- temp2 = 1 + random ( 380 );
- ^
- In file included from /usr/include/SDL/SDL_stdinc.h:40:0,
- from /usr/include/SDL/SDL_main.h:26,
- from /usr/include/SDL/SDL.h:30,
- from /usr/local/include/graphics.h:30,
- from Animation.c:1:
- /usr/include/stdlib.h:321:17: note: declared here
- extern long int random (void) __THROW;
- ^
- Animation.c:42:30: error: ‘XOR_PUT’ undeclared (first use in this function)
- putimage(left, top, p, XOR_PUT);
- ^
- rakhi@rakhi-Inspiron-3542:~$
Advertisement
Add Comment
Please, Sign In to add comment