#1 Le 06/07/2006, à 10:04
- antoine123
[Résolu]akamaru: pb de compilation...
voila si quelqun peu me dire quel paquet me faut t il pour que la compilation aboutisse
j' ai deja regarder du coté de gtk2 et de gconf
antoine@Antoine:~/akamaru$ make
Package gtk+-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gtk+-2.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gtk+-2.0' found
Package cairo was not found in the pkg-config search path.
Perhaps you should add the directory containing `cairo.pc'
to the PKG_CONFIG_PATH environment variable
No package 'cairo' found
Package gconf-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gconf-2.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gconf-2.0' found
cc -Wall -g -c -o akamaru.o akamaru.c
akamaru.c:16:18: erreur: glib.h : Aucun fichier ou répertoire de ce type
akamaru.c: Dans la fonction «model_add_spring» :
akamaru.c:95: attention : implicit declaration of function «g_new»
akamaru.c:95: erreur: syntax error before «Spring»
akamaru.c: Dans la fonction «model_add_spacer» :
akamaru.c:143: erreur: syntax error before «Spacer»
akamaru.c: Dans la fonction «polygon_init» :
akamaru.c:172: erreur: syntax error before «Point»
akamaru.c:181: erreur: syntax error before «Vector»
akamaru.c: Dans la fonction «polygon_init_diamond» :
akamaru.c:197: erreur: «FALSE» undeclared (first use in this function)
akamaru.c:197: erreur: (Chaque identificateur non déclaré est rapporté une seule fois
akamaru.c:197: erreur: pour chaque fonction dans laquelle il apparaît.)
akamaru.c: Dans la fonction «polygon_init_rectangle» :
akamaru.c:209: erreur: «FALSE» undeclared (first use in this function)
akamaru.c: Dans la fonction «polygon_init_enclosing_rectangle» :
akamaru.c:216: erreur: «TRUE» undeclared (first use in this function)
akamaru.c: Dans la fonction «model_init» :
akamaru.c:223: attention : implicit declaration of function «G_STRUCT_OFFSET»
akamaru.c:223: erreur: syntax error before «Object»
akamaru.c:224: erreur: syntax error before «Spacer»
akamaru.c:225: erreur: syntax error before «Spring»
akamaru.c: Dans la fonction «model_add_object» :
akamaru.c:233: erreur: syntax error before «Object»
akamaru.c: Dans la fonction «model_fini» :
akamaru.c:256: attention : implicit declaration of function «g_free»
make: *** [akamaru.o] Erreur 1
Dernière modification par antoine123 (Le 06/07/2006, à 13:12)
Hors ligne
#2 Le 06/07/2006, à 11:11
- toma222
Re : [Résolu]akamaru: pb de compilation...
Salut,
Il te faut les paquets de développement de gtk2 et gconf2.
Hors ligne
#3 Le 06/07/2006, à 12:03
- garfunk
Re : [Résolu]akamaru: pb de compilation...
libgconf2-dev et un autre paquet...utilises Synaptic, cherche cairo et installe une des librairies qui se termine par -dev...
cherche aussi gtk2.0 et installer la librairie qui se termine par -dev...
Plus ça va, moins je comprends
Hors ligne
#4 Le 06/07/2006, à 12:29
- nico1038
Re : [Résolu]akamaru: pb de compilation...
Perso j'ai du installé libgconf2-dev.
Nico
Hors ligne
#5 Le 06/07/2006, à 13:12
- antoine123
Re : [Résolu]akamaru: pb de compilation...
ok merci a tous....
Hors ligne