Bonsoir,
Avant tout, je suis sous NetBSD et en clavier americain donc pas d'accent ^^
Mon soucis :
J'ai telecharge une source de ce site concernant la "Création de fondus entre images".
Je l'ai compile a l'aide de mon makefile
La compilation me dit :
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28 NAME = fondu SRC = fondu.c OBJ = ${SRC:.c=.o} CFLAGS = -g3 -W -Wall -pedantic -I/usr/X11R6/include/ -I/usr/pkg/include/ LDFLAGS = -L /usr/X11R6/lib -L /usr/pkg/lib -lSDL -lSDL -lSDL -lX11 -lm CC = gcc ${NAME} : ${OBJ} ${CC} -o ${NAME} ${OBJ} ${LDFLAGS} all : ${NAME} clean : rm -f ${OBJ} rm -f *~ rm -f *\# fclean : clean rm -f ${NAME} re : fclean all
gcc -g3 -W -Wall -pedantic -I/usr/X11R6/include/ -I/usr/pkg/include/ -c fondu.c
In file included from /usr/pkg/include/SDL/SDL.h:34,
from fondu.c:13:
/usr/pkg/include/SDL/SDL_types.h:75: warning: ISO C90 does not support `long long'
/usr/pkg/include/SDL/SDL_types.h:77: warning: ISO C90 does not support `long long'
fondu.c: In function `main':
fondu.c:15: warning: unused parameter `argc'
fondu.c:15: warning: unused parameter `argv'
gcc -o fondu fondu.o -L /usr/X11R6/lib -L /usr/pkg/lib -lSDL -lSDL -lSDL -lX11 -lm
Ca me cree l'executable fondu mais lorsque je l'execute, la fenetre s'affiche et s'en va tres rapidement. Je ne comprends pas malgre avec lu le post du a cette raison sur votre forum.
Merci bcp pour vos reponses et a bientot
Partager