Contenu | Rechercher | Menus

Annonce

Si vous avez des soucis pour rester connecté, déconnectez-vous puis reconnectez-vous depuis ce lien en cochant la case
Me connecter automatiquement lors de mes prochaines visites.

À propos de l'équipe du forum.

#1 Le 03/11/2005, à 22:59

sx1

[résolu]Comment installer ce n'ededious de fgkicker pour FlightGear

Bonsoir,

J'ai installé FlightGear Simulator qui tourne bien, mais la configuration passe par l'édition de très nombreux fichiers XML, un peu galère. D'autant que le prog lui même et ses librairies sont totalement invisibles !!!

Le site http://users.pandora.be/ceppe/projects/fgkicker.html fournie une GUI pour configurer plus facilement, cela tourne sous GTK2+

Voilà les fichiers qu'il y a dans l'archive :

/fgkicker-1.0/doc
/fgkicker-1.0/fgkexec.c
/fgkicker-1.0/fgkfile.c
/fgkicker-1.0/fgkicker.c
/fgkicker-1.0/fgkmem.c
/fgkicker-1.0/fgkicker.mak
/fgkicker-1.0/Makefile.fgkicker
/fgkicker-1.0/fgkicker.h
/fgkicker-1.0/fgkicker_proto.h
/fgkicker-1.0/airports.dat

Bon, j'ai essayé en terminal Make : rien à configurer.
./ configure : rien du tout.
J'ai renommé le fichier Makefile.fgkicker en Makefile, lancé make, il y a bien lancement d'une <<compli>> mais avec trois pages d'erreurs.
Sudo ou pas c'est iddle.

Vous l'aurez compris, I'am newbie and not happy tongue

Si cela peut aider, je peux copier les erreur dont je parle juste au dessus, mais n'y aurait-il pas une autre voie pour installer cette GUI ?

Merci bien.

Dernière modification par sx1 (Le 12/02/2007, à 22:03)


Sous Linux depuis 2005.

Hors ligne

#2 Le 03/11/2005, à 23:55

ZeBob

Re : [résolu]Comment installer ce n'ededious de fgkicker pour FlightGear

y'a pas un fichier d'install avec ??
sinon faut pas faire d'espace entre ./ et configure (je sais pas sis ça vient de là mais tu l'as écrit comme ça). vérifie sur le site si il précise avec quel gcc il faut compiler (Breezy est en gcc4 et bcp de logiciel sont encore en gcc3.4)

Hors ligne

#3 Le 04/11/2005, à 00:35

sx1

Re : [résolu]Comment installer ce n'ededious de fgkicker pour FlightGear

Non, il n'y a rien du tout comme autre fichiers et aucune explications sur le site vis à vis d'une quelconque bibliothèque ou autre requise. ./configure sans espace bien sur, mais ne trouve rien.

Voilà ce que me donne un make sur le fichier renommé de makefile.fgkicker en makefile :

[je n'ai pas le début]
fgkicker.c:100: attention : la définition de données n'a pas de type ni de classe de stockage
fgkicker.c:101: erreur: syntax error before ‘*’ token
fgkicker.c:101: attention : la définition de données n'a pas de type ni de classe de stockage
fgkicker.c:102: erreur: syntax error before ‘*’ token
[...]
fgkicker.c: In function ‘FillAircrafts’:
fgkicker.c:172: erreur: ‘gint’ undeclared (first use in this function)
fgkicker.c:172: erreur: (Chaque identificateur non déclaré est rapporté une seule fois
fgkicker.c:172: erreur: pour chaque fonction dans laquelle il apparaît.)
fgkicker.c:172: erreur: syntax error before ‘res’
fgkicker.c:174: erreur: ‘gchar’ undeclared (first use in this function)
fgkicker.c:175: erreur: ‘ipos’ undeclared (first use in this function)
[...]
fgkicker.c:230: attention : passing argument 1 of ‘strcpy’ from incompatible pointer type
fgkicker.c:232: erreur: request for member ‘splash’ in something not a structure or union
fgkicker.c:232: attention : passing argument 1 of ‘strcat’ from incompatible pointer type
fgkicker.c:232: attention : passing argument 1 of ‘strcat’ from incompatible pointer type
fgkicker.c:233: erreur: request for member ‘gamemode’ in something not a structure or union
[...]
fgkicker.c:922: erreur: ‘GTK_SELECTION_SINGLE’ undeclared (first use in this function)
fgkicker.c:937: attention : assignment makes pointer from integer without a cast
fgkicker.c:943: attention : assignment makes pointer from integer without a cast
fgkicker.c:949: attention : assignment makes pointer from integer without a cast
fgkicker.c:955: attention : assignment makes pointer from integer without a cast
fgkicker.c:961: attention : assignment makes pointer from integer without a cast
fgkicker.c:965: erreur: ‘gtk_widget_destroy’ undeclared (first use in this function)
make: *** [fgkicker.o] Erreur 1

Il y a surement un kek chose qui lui manque, mais quoi ???:rolleyes:


Sous Linux depuis 2005.

Hors ligne

#4 Le 04/11/2005, à 11:55

Harald

Re : [résolu]Comment installer ce n'ededious de fgkicker pour FlightGear

L'outils officiel pour lancer FG est fgrun.
S'il n'est pas inclu dans votre install vous pouvez le trouver sous sf : http://sourceforge.net/projects/fgrun

Harald.

#5 Le 04/11/2005, à 20:38

sx1

Re : [résolu]Comment installer ce n'ededious de fgkicker pour FlightGear

Vu pour fgrun.

archive plus classique dans son contenu.
le fichier texte install précise qu'il faut faire ./configure; make; make install.

Chez moi ./configure se passe bien.

Make me donne cela :

root@local:~/download/fgrun-0.4.5# make
Making all in src
make[1]: entrant dans le répertoire « /home/nicolas/download/fgrun-0.4.5/src »
make  all-am
make[2]: entrant dans le répertoire « /home/nicolas/download/fgrun-0.4.5/src »
if g++ -DHAVE_CONFIG_H -I. -I. -I.     -g -O2 -MT wizard.o -MD -MP -MF ".deps/wizard.Tpo" \
  -c -o wizard.o `test -f 'wizard.cxx' || echo './'`wizard.cxx; \
then mv -f ".deps/wizard.Tpo" ".deps/wizard.Po"; \
else rm -f ".deps/wizard.Tpo"; exit 1; \
fi
Dans le fichier inclus à partir de wizard.cxx:3:
wizard.h:5:19: erreur: FL/Fl.H : Aucun fichier ou répertoire de ce type
wizard.h:8:31: erreur: FL/Fl_Preferences.H : Aucun fichier ou répertoire de ce type
wizard.h:9:26: erreur: FL/Fl_Pixmap.H : Aucun fichier ou répertoire de ce type
wizard.h:11:33: erreur: FL/Fl_Double_Window.H : Aucun fichier ou répertoire de ce type
wizard.h:12:26: erreur: FL/Fl_Button.H : Aucun fichier ou répertoire de ce type
wizard.h:13:26: erreur: FL/Fl_Wizard.H : Aucun fichier ou répertoire de ce type
wizard.h:14:25: erreur: FL/Fl_Group.H : Aucun fichier ou répertoire de ce type
wizard.h:15:29: erreur: FL/Fl_Help_View.H : Aucun fichier ou répertoire de ce type
wizard.h:16:25: erreur: FL/Fl_Input.H : Aucun fichier ou répertoire de ce type
wizard.h:17:27: erreur: FL/Fl_Browser.H : Aucun fichier ou répertoire de ce typewizard.h:18:26: erreur: FL/Fl_Output.H : Aucun fichier ou répertoire de ce type
Dans le fichier inclus à partir de wizard.h:19,
          à partir de wizard.cxx:3:
Fl_Plib.h:4:29: erreur: FL/Fl_Gl_Window.H : Aucun fichier ou répertoire de ce type
Dans le fichier inclus à partir de wizard.h:20,
          à partir de wizard.cxx:3:
AirportBrowser.h:29:18: erreur: zlib.h : Aucun fichier ou répertoire de ce type
Fl_Plib.h:10: erreur: expected class-name before ‘{’ token
AirportBrowser.h:48: erreur: expected class-name before ‘{’ token
AirportBrowser.h:58: erreur: ‘Fl_Callback’ has not been declared
AirportBrowser.h:66: erreur: ‘Fl_Callback’ has not been declared
AirportBrowser.h:71: erreur: ‘Fl_Color’ does not name a type
AirportBrowser.h:72: erreur: ‘Fl_Color’ has not been declared
AirportBrowser.h:77: erreur: ‘Fl_Font’ does not name a type
AirportBrowser.h:78: erreur: ‘Fl_Font’ has not been declared
AirportBrowser.h:83: erreur: ‘uchar’ does not name a type
AirportBrowser.h:84: erreur: ‘uchar’ has not been declared
AirportBrowser.h:111: erreur: ‘Fl_Callback’ has not been declared
AirportBrowser.h:119: erreur: ‘Fl_Widget’ has not been declared
AirportBrowser.h:120: erreur: ‘Fl_Widget’ has not been declared
AirportBrowser.h:122: erreur: ‘Fl_Widget’ has not been declared
AirportBrowser.h:125: erreur: ‘Fl_Widget’ has not been declared
AirportBrowser.h:136: erreur: ‘Fl_Widget’ has not been declared
AirportBrowser.h:147: erreur: ‘gzFile’ does not name a type
AirportBrowser.h:174: erreur: ISO C++ forbids declaration of ‘Fl_Callback’ with no type
AirportBrowser.h:174: erreur: expected ‘;’ before ‘*’ token
AirportBrowser.h:180: erreur: ISO C++ forbids declaration of ‘Fl_Callback’ with no type
AirportBrowser.h:180: erreur: expected ‘;’ before ‘*’ token
AirportBrowser.h:188: erreur: ISO C++ forbids declaration of ‘Fl_Callback’ with no type
AirportBrowser.h:188: erreur: expected ‘;’ before ‘*’ token
wizard.h:26: erreur: ISO C++ forbids declaration of ‘Fl_Double_Window’ with no type
wizard.h:26: erreur: expected ‘;’ before ‘*’ token
wizard.h:33: erreur: ISO C++ forbids declaration of ‘Fl_Wizard’ with no type
wizard.h:33: erreur: expected ‘;’ before ‘*’ token
wizard.h:34: erreur: ISO C++ forbids declaration of ‘Fl_Help_View’ with no type
wizard.h:34: erreur: expected ‘;’ before ‘*’ token
wizard.h:45: erreur: ISO C++ forbids declaration of ‘Fl_Browser’ with no type
wizard.h:45: erreur: expected ‘;’ before ‘*’ token
wizard.h:46: erreur: ‘Fl_Browser’ has not been declared
wizard.h:47: erreur: ‘Fl_Browser’ has not been declared
wizard.h:62: erreur: ISO C++ forbids declaration of ‘Fl_Output’ with no type
wizard.h:62: erreur: expected ‘;’ before ‘*’ token
wizard.h:63: erreur: ISO C++ forbids declaration of ‘Fl_Browser’ with no type
wizard.h:63: erreur: expected ‘;’ before ‘*’ token
wizard.h:64: erreur: ‘Fl_Browser’ has not been declared
wizard.h:65: erreur: ‘Fl_Browser’ has not been declared
wizard.h:68: erreur: ISO C++ forbids declaration of ‘Fl_Output’ with no type
wizard.h:68: erreur: expected ‘;’ before ‘*’ token
wizard.h:72: erreur: ISO C++ forbids declaration of ‘Fl_Group’ with no type
wizard.h:72: erreur: expected ‘;’ before ‘*’ token
wizard.h:101: erreur: ‘Fl_Widget’ has not been declared
wizard.h:110: erreur: ‘Fl_Widget’ has not been declared
wizard.h:112: erreur: ‘Fl_Preferences’ does not name a type
wizard.h:114: erreur: ‘Fl_Pixmap’ does not name a type
wizard.cxx: In static member function ‘static void Wizard::cb_next(Fl_Button*, void*)’:
wizard.cxx:10: erreur: invalid use of undefined type ‘struct Fl_Button’
AirportBrowser.h:39: erreur: forward declaration of ‘struct Fl_Button’
wizard.cxx: In static member function ‘static void Wizard::cb_prev(Fl_Button*, void*)’:
wizard.cxx:17: erreur: invalid use of undefined type ‘struct Fl_Button’
AirportBrowser.h:39: erreur: forward declaration of ‘struct Fl_Button’
wizard.cxx: In static member function ‘static void Wizard::cb_fg_exe_(Fl_Input*, void*)’:
wizard.cxx:24: erreur: invalid use of undefined type ‘struct Fl_Input’
AirportBrowser.h:37: erreur: forward declaration of ‘struct Fl_Input’
wizard.cxx: In static member function ‘static void Wizard::cb_(Fl_Button*, void*)’:
wizard.cxx:31: erreur: invalid use of undefined type ‘struct Fl_Button’
AirportBrowser.h:39: erreur: forward declaration of ‘struct Fl_Button’
wizard.cxx: In static member function ‘static void Wizard::cb_fg_root_(Fl_Input*, void*)’:
wizard.cxx:38: erreur: invalid use of undefined type ‘struct Fl_Input’
AirportBrowser.h:37: erreur: forward declaration of ‘struct Fl_Input’
wizard.cxx: In static member function ‘static void Wizard::cb_1(Fl_Button*, void*)’:
wizard.cxx:45: erreur: invalid use of undefined type ‘struct Fl_Button’
AirportBrowser.h:39: erreur: forward declaration of ‘struct Fl_Button’
wizard.cxx: At global scope:
wizard.cxx:48: erreur: variable or field ‘cb_scenery_dir_list__i’ declared void
wizard.cxx:48: erreur: ‘Wizard::cb_scenery_dir_list__i’ declared as an ‘inline’ variable
wizard.cxx:48: erreur: ‘int Wizard::cb_scenery_dir_list__i’ is not a static member of ‘class Wizard’
wizard.cxx:48: erreur: ‘Fl_Browser’ was not declared in this scope
wizard.cxx:48: erreur: expected primary-expression before ‘,’ token
wizard.cxx:48: erreur: expected primary-expression before ‘void’
wizard.cxx:48: erreur: initializer liste d'expressions traitée comme une expression composée
wizard.cxx:48: erreur: expected ‘,’ or ‘;’ before ‘{’ token
wizard.cxx:51: erreur: variable or field ‘cb_scenery_dir_list_’ declared void
wizard.cxx:51: erreur: ‘int Wizard::cb_scenery_dir_list_’ is not a static member of ‘class Wizard’
wizard.cxx:51: erreur: ‘Fl_Browser’ was not declared in this scope
wizard.cxx:51: erreur: ‘o’ was not declared in this scope
wizard.cxx:51: erreur: expected primary-expression before ‘void’
wizard.cxx:51: erreur: initializer liste d'expressions traitée comme une expression composée
wizard.cxx:51: erreur: expected ‘,’ or ‘;’ before ‘{’ token
wizard.cxx: In static member function ‘static void Wizard::cb_scenery_dir_up_(Fl_Button*, void*)’:
wizard.cxx:59: erreur: invalid use of undefined type ‘struct Fl_Button’
AirportBrowser.h:39: erreur: forward declaration of ‘struct Fl_Button’
wizard.cxx: In static member function ‘static void Wizard::cb_scenery_dir_down_(Fl_Button*, void*)’:
wizard.cxx:66: erreur: invalid use of undefined type ‘struct Fl_Button’
AirportBrowser.h:39: erreur: forward declaration of ‘struct Fl_Button’
wizard.cxx: In static member function ‘static void Wizard::cb_scenery_dir_delete_(Fl_Button*, void*)’:
wizard.cxx:73: erreur: invalid use of undefined type ‘struct Fl_Button’
AirportBrowser.h:39: erreur: forward declaration of ‘struct Fl_Button’
wizard.cxx: In static member function ‘static void Wizard::cb_Add(Fl_Button*, void*)’:
wizard.cxx:80: erreur: invalid use of undefined type ‘struct Fl_Button’
AirportBrowser.h:39: erreur: forward declaration of ‘struct Fl_Button’
wizard.cxx: In static member function ‘static void Wizard::cb_cache_delete_(Fl_Button*, void*)’:
wizard.cxx:87: erreur: invalid use of undefined type ‘struct Fl_Button’
AirportBrowser.h:39: erreur: forward declaration of ‘struct Fl_Button’
wizard.cxx: At global scope:
wizard.cxx:90: erreur: variable or field ‘cb_aircraft_i’ declared void
wizard.cxx:90: erreur: ‘Wizard::cb_aircraft_i’ declared as an ‘inline’ variable
wizard.cxx:90: erreur: ‘int Wizard::cb_aircraft_i’ is not a static member of ‘class Wizard’
wizard.cxx:90: erreur: ‘Fl_Browser’ was not declared in this scope
wizard.cxx:90: erreur: expected primary-expression before ‘,’ token
wizard.cxx:90: erreur: expected primary-expression before ‘void’
wizard.cxx:90: erreur: initializer liste d'expressions traitée comme une expression composée
wizard.cxx:90: erreur: expected ‘,’ or ‘;’ before ‘{’ token
wizard.cxx:93: erreur: variable or field ‘cb_aircraft’ declared void
wizard.cxx:93: erreur: ‘int Wizard::cb_aircraft’ is not a static member of ‘class Wizard’
wizard.cxx:93: erreur: ‘Fl_Browser’ was not declared in this scope
wizard.cxx:93: erreur: ‘o’ was not declared in this scope
wizard.cxx:93: erreur: expected primary-expression before ‘void’
wizard.cxx:93: erreur: initializer liste d'expressions traitée comme une expression composée
wizard.cxx:93: erreur: expected ‘,’ or ‘;’ before ‘{’ token
wizard.cxx: In static member function ‘static void Wizard::cb_Advanced(Fl_Button*, void*)’:
wizard.cxx:101: erreur: invalid use of undefined type ‘struct Fl_Button’
AirportBrowser.h:39: erreur: forward declaration of ‘struct Fl_Button’
wizard.cxx: In static member function ‘static void Wizard::cb_cancel(Fl_Button*, void*)’:
wizard.cxx:108: erreur: invalid use of undefined type ‘struct Fl_Button’
AirportBrowser.h:39: erreur: forward declaration of ‘struct Fl_Button’
wizard.cxx: In constructor ‘Wizard::Wizard()’:
wizard.cxx:111: erreur: class ‘Wizard’ does not have any field named ‘prefs’
wizard.cxx:111: erreur: ‘Fl_Preferences’ has not been declared
wizard.cxx:111: erreur: ‘USER’ was not declared in this scope
wizard.cxx:111: erreur: class ‘Wizard’ does not have any field named ‘folder_open_pixmap’
wizard.cxx:112: erreur: ‘Fl_Double_Window’ was not declared in this scope
wizard.cxx:112: erreur: ‘w’ was not declared in this scope
wizard.cxx:113: erreur: ‘o’ was not declared in this scope
wizard.cxx:113: erreur: ‘win’ was not declared in this scope
wizard.cxx:113: erreur: expected type-specifier before ‘Fl_Double_Window’
wizard.cxx:113: erreur: expected `;' before ‘Fl_Double_Window’
wizard.cxx:116: erreur: invalid use of undefined type ‘struct Fl_Button’
AirportBrowser.h:39: erreur: forward declaration of ‘struct Fl_Button’
wizard.cxx:117: erreur: invalid use of undefined type ‘struct Fl_Button’
AirportBrowser.h:39: erreur: forward declaration of ‘struct Fl_Button’
wizard.cxx:118: erreur: invalid use of undefined type ‘struct Fl_Button’
AirportBrowser.h:39: erreur: forward declaration of ‘struct Fl_Button’
wizard.cxx:118: erreur: ‘Fl_Callback’ was not declared in this scope
wizard.cxx:118: erreur: expected primary-expression before ‘)’ token
wizard.cxx:120: erreur: invalid use of undefined type ‘struct Fl_Button’
AirportBrowser.h:39: erreur: forward declaration of ‘struct Fl_Button’
wizard.cxx:121: erreur: invalid use of undefined type ‘struct Fl_Button’
AirportBrowser.h:39: erreur: forward declaration of ‘struct Fl_Button’
wizard.cxx:122: erreur: invalid use of undefined type ‘struct Fl_Button’
AirportBrowser.h:39: erreur: forward declaration of ‘struct Fl_Button’
wizard.cxx:122: erreur: ‘Fl_Callback’ was not declared in this scope
wizard.cxx:122: erreur: expected primary-expression before ‘)’ token
wizard.cxx:124: erreur: ‘Fl_Wizard’ was not declared in this scope
wizard.cxx:124: erreur: ‘wiz’ was not declared in this scope
wizard.cxx:124: erreur: expected type-specifier before ‘Fl_Wizard’
wizard.cxx:124: erreur: expected `;' before ‘Fl_Wizard’
wizard.cxx:125: erreur: ‘Fl_Group’ was not declared in this scope
wizard.cxx:125: erreur: ‘page’ was not declared in this scope
wizard.cxx:125: erreur: expected type-specifier before ‘Fl_Group’
wizard.cxx:125: erreur: expected `;' before ‘Fl_Group’
wizard.cxx:127: erreur: ‘FL_ALIGN_TOP_LEFT’ was not declared in this scope
wizard.cxx:127: erreur: ‘FL_ALIGN_INSIDE’ was not declared in this scope
wizard.cxx:128: erreur: ‘Fl_Help_View’ was not declared in this scope
wizard.cxx:128: erreur: ‘about_’ was not declared in this scope
wizard.cxx:128: erreur: expected type-specifier before ‘Fl_Help_View’
wizard.cxx:128: erreur: expected `;' before ‘Fl_Help_View’
wizard.cxx:129: erreur: ‘FL_NO_LABEL’ was not declared in this scope
wizard.cxx:131: erreur: invalid use of undefined type ‘struct Fl_Input’
AirportBrowser.h:37: erreur: forward declaration of ‘struct Fl_Input’
wizard.cxx:132: erreur: invalid use of undefined type ‘struct Fl_Input’
AirportBrowser.h:37: erreur: forward declaration of ‘struct Fl_Input’
wizard.cxx:133: erreur: invalid use of undefined type ‘struct Fl_Input’
AirportBrowser.h:37: erreur: forward declaration of ‘struct Fl_Input’
wizard.cxx:134: erreur: invalid use of undefined type ‘struct Fl_Input’
AirportBrowser.h:37: erreur: forward declaration of ‘struct Fl_Input’
wizard.cxx:135: erreur: invalid use of undefined type ‘struct Fl_Input’
AirportBrowser.h:37: erreur: forward declaration of ‘struct Fl_Input’
wizard.cxx:135: erreur: ‘Fl_Callback’ was not declared in this scope
wizard.cxx:135: erreur: expected primary-expression before ‘)’ token
wizard.cxx:136: erreur: invalid use of undefined type ‘struct Fl_Input’
AirportBrowser.h:37: erreur: forward declaration of ‘struct Fl_Input’
wizard.cxx:136: erreur: ‘FL_WHEN_ENTER_KEY’ was not declared in this scope
wizard.cxx:138: erreur: invalid use of undefined type ‘struct Fl_Button’
AirportBrowser.h:39: erreur: forward declaration of ‘struct Fl_Button’
wizard.cxx:139: erreur: invalid use of undefined type ‘struct Fl_Button’
AirportBrowser.h:39: erreur: forward declaration of ‘struct Fl_Button’
wizard.cxx:140: erreur: invalid use of undefined type ‘struct Fl_Button’
AirportBrowser.h:39: erreur: forward declaration of ‘struct Fl_Button’
wizard.cxx:141: erreur: invalid use of undefined type ‘struct Fl_Button’
AirportBrowser.h:39: erreur: forward declaration of ‘struct Fl_Button’
wizard.cxx:141: erreur: ‘Fl_Callback’ was not declared in this scope
wizard.cxx:141: erreur: expected primary-expression before ‘)’ token
wizard.cxx:142: erreur: invalid use of undefined type ‘struct Fl_Button’
AirportBrowser.h:39: erreur: forward declaration of ‘struct Fl_Button’
wizard.cxx:142: erreur: ‘folder_open_pixmap’ was not declared in this scope
wizard.cxx:144: erreur: invalid use of undefined type ‘struct Fl_Input’
AirportBrowser.h:37: erreur: forward declaration of ‘struct Fl_Input’
wizard.cxx:145: erreur: invalid use of undefined type ‘struct Fl_Input’
AirportBrowser.h:37: erreur: forward declaration of ‘struct Fl_Input’
wizard.cxx:146: erreur: invalid use of undefined type ‘struct Fl_Input’
AirportBrowser.h:37: erreur: forward declaration of ‘struct Fl_Input’
wizard.cxx:147: erreur: invalid use of undefined type ‘struct Fl_Input’
AirportBrowser.h:37: erreur: forward declaration of ‘struct Fl_Input’
wizard.cxx:148: erreur: invalid use of undefined type ‘struct Fl_Input’
AirportBrowser.h:37: erreur: forward declaration of ‘struct Fl_Input’
wizard.cxx:148: erreur: ‘Fl_Callback’ was not declared in this scope
wizard.cxx:148: erreur: expected primary-expression before ‘)’ token
wizard.cxx:149: erreur: invalid use of undefined type ‘struct Fl_Input’
AirportBrowser.h:37: erreur: forward declaration of ‘struct Fl_Input’
wizard.cxx:149: erreur: ‘FL_WHEN_CHANGED’ was not declared in this scope
wizard.cxx:151: erreur: invalid use of undefined type ‘struct Fl_Button’
AirportBrowser.h:39: erreur: forward declaration of ‘struct Fl_Button’
wizard.cxx:152: erreur: invalid use of undefined type ‘struct Fl_Button’
AirportBrowser.h:39: erreur: forward declaration of ‘struct Fl_Button’
wizard.cxx:153: erreur: invalid use of undefined type ‘struct Fl_Button’
AirportBrowser.h:39: erreur: forward declaration of ‘struct Fl_Button’
wizard.cxx:153: erreur: ‘Fl_Callback’ was not declared in this scope
wizard.cxx:153: erreur: expected primary-expression before ‘)’ token
wizard.cxx:154: erreur: invalid use of undefined type ‘struct Fl_Button’
AirportBrowser.h:39: erreur: forward declaration of ‘struct Fl_Button’
wizard.cxx:154: erreur: ‘folder_open_pixmap’ was not declared in this scope
wizard.cxx:156: erreur: ‘Fl_Browser’ was not declared in this scope
wizard.cxx:156: erreur: ‘scenery_dir_list_’ was not declared in this scope
wizard.cxx:156: erreur: expected type-specifier before ‘Fl_Browser’
wizard.cxx:156: erreur: expected `;' before ‘Fl_Browser’
wizard.cxx:161: erreur: ‘Fl_Callback’ was not declared in this scope
wizard.cxx:161: erreur: expected primary-expression before ‘)’ token
wizard.cxx:162: erreur: ‘FL_ALIGN_LEFT’ was not declared in this scope
wizard.cxx:164: erreur: invalid use of undefined type ‘struct Fl_Button’
AirportBrowser.h:39: erreur: forward declaration of ‘struct Fl_Button’
wizard.cxx:165: erreur: invalid use of undefined type ‘struct Fl_Button’
AirportBrowser.h:39: erreur: forward declaration of ‘struct Fl_Button’
wizard.cxx:165: erreur: ‘Fl_Callback’ was not declared in this scope
wizard.cxx:165: erreur: expected primary-expression before ‘)’ token
wizard.cxx:166: erreur: invalid use of undefined type ‘struct Fl_Button’
AirportBrowser.h:39: erreur: forward declaration of ‘struct Fl_Button’
wizard.cxx:168: erreur: invalid use of undefined type ‘struct Fl_Button’
AirportBrowser.h:39: erreur: forward declaration of ‘struct Fl_Button’
wizard.cxx:169: erreur: invalid use of undefined type ‘struct Fl_Button’
AirportBrowser.h:39: erreur: forward declaration of ‘struct Fl_Button’
wizard.cxx:169: erreur: ‘Fl_Callback’ was not declared in this scope
wizard.cxx:169: erreur: expected primary-expression before ‘)’ token
wizard.cxx:170: erreur: invalid use of undefined type ‘struct Fl_Button’
AirportBrowser.h:39: erreur: forward declaration of ‘struct Fl_Button’
wizard.cxx:172: erreur: invalid use of undefined type ‘struct Fl_Button’
AirportBrowser.h:39: erreur: forward declaration of ‘struct Fl_Button’
wizard.cxx:173: erreur: invalid use of undefined type ‘struct Fl_Button’
AirportBrowser.h:39: erreur: forward declaration of ‘struct Fl_Button’
wizard.cxx:174: erreur: invalid use of undefined type ‘struct Fl_Button’
AirportBrowser.h:39: erreur: forward declaration of ‘struct Fl_Button’
wizard.cxx:175: erreur: invalid use of undefined type ‘struct Fl_Button’
AirportBrowser.h:39: erreur: forward declaration of ‘struct Fl_Button’
wizard.cxx:175: erreur: ‘Fl_Callback’ was not declared in this scope
wizard.cxx:175: erreur: expected primary-expression before ‘)’ token
wizard.cxx:176: erreur: invalid use of undefined type ‘struct Fl_Button’
AirportBrowser.h:39: erreur: forward declaration of ‘struct Fl_Button’
wizard.cxx:178: erreur: invalid use of undefined type ‘struct Fl_Button’
AirportBrowser.h:39: erreur: forward declaration of ‘struct Fl_Button’
wizard.cxx:179: erreur: invalid use of undefined type ‘struct Fl_Button’
AirportBrowser.h:39: erreur: forward declaration of ‘struct Fl_Button’
wizard.cxx:180: erreur: invalid use of undefined type ‘struct Fl_Button’
AirportBrowser.h:39: erreur: forward declaration of ‘struct Fl_Button’
wizard.cxx:181: erreur: invalid use of undefined type ‘struct Fl_Button’
AirportBrowser.h:39: erreur: forward declaration of ‘struct Fl_Button’
wizard.cxx:181: erreur: ‘Fl_Callback’ was not declared in this scope
wizard.cxx:181: erreur: expected primary-expression before ‘)’ token
wizard.cxx:183: erreur: invalid use of undefined type ‘struct Fl_Button’
AirportBrowser.h:39: erreur: forward declaration of ‘struct Fl_Button’
wizard.cxx:184: erreur: invalid use of undefined type ‘struct Fl_Button’
AirportBrowser.h:39: erreur: forward declaration of ‘struct Fl_Button’
wizard.cxx:185: erreur: invalid use of undefined type ‘struct Fl_Button’
AirportBrowser.h:39: erreur: forward declaration of ‘struct Fl_Button’
wizard.cxx:185: erreur: ‘Fl_Callback’ was not declared in this scope
wizard.cxx:185: erreur: expected primary-expression before ‘)’ token
wizard.cxx:186: erreur: invalid use of undefined type ‘struct Fl_Button’
AirportBrowser.h:39: erreur: forward declaration of ‘struct Fl_Button’
wizard.cxx:188: erreur: ‘Fl_Output’ was not declared in this scope
wizard.cxx:188: erreur: ‘cache_file_’ was not declared in this scope
wizard.cxx:188: erreur: expected type-specifier before ‘Fl_Output’
wizard.cxx:188: erreur: expected `;' before ‘Fl_Output’
wizard.cxx:194: erreur: ‘Fl_Group’ was not declared in this scope
wizard.cxx:194: erreur: ‘page’ was not declared in this scope
wizard.cxx:194: erreur: expected type-specifier before ‘Fl_Group’
wizard.cxx:194: erreur: expected `;' before ‘Fl_Group’
wizard.cxx:196: erreur: ‘FL_ALIGN_TOP_LEFT’ was not declared in this scope
wizard.cxx:196: erreur: ‘FL_ALIGN_INSIDE’ was not declared in this scope
wizard.cxx:198: erreur: ‘Fl_Browser’ was not declared in this scope
wizard.cxx:198: erreur: ‘aircraft’ was not declared in this scope
wizard.cxx:198: erreur: expected type-specifier before ‘Fl_Browser’
wizard.cxx:198: erreur: expected `;' before ‘Fl_Browser’
wizard.cxx:202: erreur: ‘Fl_Callback’ was not declared in this scope
wizard.cxx:202: erreur: expected primary-expression before ‘)’ token
wizard.cxx:203: erreur: ‘FL_ALIGN_TOP’ was not declared in this scope
wizard.cxx:206: erreur: ‘class Fl_Plib’ has no member named ‘box’
wizard.cxx:206: erreur: ‘FL_THIN_DOWN_BOX’ was not declared in this scope
wizard.cxx:207: erreur: ‘class Fl_Plib’ has no member named ‘color’
wizard.cxx:207: erreur: ‘FL_BACKGROUND_COLOR’ was not declared in this scope
wizard.cxx:208: erreur: ‘class Fl_Plib’ has no member named ‘selection_color’
wizard.cxx:209: erreur: ‘class Fl_Plib’ has no member named ‘labeltype’
wizard.cxx:209: erreur: ‘FL_NORMAL_LABEL’ was not declared in this scope
wizard.cxx:210: erreur: ‘class Fl_Plib’ has no member named ‘labelfont’
wizard.cxx:211: erreur: ‘class Fl_Plib’ has no member named ‘labelsize’
wizard.cxx:212: erreur: ‘class Fl_Plib’ has no member named ‘labelcolor’
wizard.cxx:212: erreur: ‘FL_BLACK’ was not declared in this scope
wizard.cxx:213: erreur: ‘class Fl_Plib’ has no member named ‘align’
wizard.cxx:213: erreur: ‘FL_ALIGN_CENTER’ was not declared in this scope
wizard.cxx:214: erreur: ‘class Fl_Plib’ has no member named ‘when’
wizard.cxx:214: erreur: ‘FL_WHEN_RELEASE’ was not declared in this scope
wizard.cxx:218: erreur: ‘Fl_Group’ was not declared in this scope
wizard.cxx:218: erreur: ‘page’ was not declared in this scope
wizard.cxx:218: erreur: expected type-specifier before ‘Fl_Group’
wizard.cxx:218: erreur: expected `;' before ‘Fl_Group’
wizard.cxx:220: erreur: ‘FL_ALIGN_TOP_LEFT’ was not declared in this scope
wizard.cxx:220: erreur: ‘FL_ALIGN_INSIDE’ was not declared in this scope
wizard.cxx:223: erreur: ‘class AirportBrowser’ has no member named ‘box’
wizard.cxx:223: erreur: ‘FL_NO_BOX’ was not declared in this scope
wizard.cxx:224: erreur: ‘class AirportBrowser’ has no member named ‘color’
wizard.cxx:224: erreur: ‘FL_BACKGROUND_COLOR’ was not declared in this scope
wizard.cxx:225: erreur: ‘class AirportBrowser’ has no member named ‘selection_color’
wizard.cxx:226: erreur: ‘class AirportBrowser’ has no member named ‘labeltype’
wizard.cxx:226: erreur: ‘FL_NORMAL_LABEL’ was not declared in this scope
wizard.cxx:227: erreur: ‘class AirportBrowser’ has no member named ‘labelfont’
wizard.cxx:228: erreur: ‘class AirportBrowser’ has no member named ‘labelsize’
wizard.cxx:229: erreur: ‘class AirportBrowser’ has no member named ‘labelcolor’
wizard.cxx:229: erreur: ‘FL_BLACK’ was not declared in this scope
wizard.cxx:230: erreur: ‘class AirportBrowser’ has no member named ‘align’
wizard.cxx:230: erreur: ‘FL_ALIGN_CENTER’ was not declared in this scope
wizard.cxx:231: erreur: ‘class AirportBrowser’ has no member named ‘when’
wizard.cxx:231: erreur: ‘FL_WHEN_RELEASE’ was not declared in this scope
wizard.cxx:235: erreur: ‘Fl_Group’ was not declared in this scope
wizard.cxx:235: erreur: ‘page’ was not declared in this scope
wizard.cxx:235: erreur: expected type-specifier before ‘Fl_Group’
wizard.cxx:235: erreur: expected `;' before ‘Fl_Group’
wizard.cxx:237: erreur: ‘Fl_Output’ was not declared in this scope
wizard.cxx:237: erreur: ‘text’ was not declared in this scope
wizard.cxx:237: erreur: expected type-specifier before ‘Fl_Output’
wizard.cxx:237: erreur: expected `;' before ‘Fl_Output’
wizard.cxx:239: erreur: ‘FL_THIN_DOWN_BOX’ was not declared in this scope
wizard.cxx:241: erreur: invalid use of undefined type ‘struct Fl_Button’
AirportBrowser.h:39: erreur: forward declaration of ‘struct Fl_Button’
wizard.cxx:242: erreur: invalid use of undefined type ‘struct Fl_Button’
AirportBrowser.h:39: erreur: forward declaration of ‘struct Fl_Button’
wizard.cxx:242: erreur: ‘Fl_Callback’ was not declared in this scope
wizard.cxx:242: erreur: expected primary-expression before ‘)’ token
wizard.cxx:246: erreur: ‘Fl_Group’ was not declared in this scope
wizard.cxx:246: erreur: ‘page’ was not declared in this scope
wizard.cxx:246: erreur: expected type-specifier before ‘Fl_Group’
wizard.cxx:246: erreur: expected `;' before ‘Fl_Group’
wizard.cxx:254: erreur: invalid use of undefined type ‘struct Fl_Button’
AirportBrowser.h:39: erreur: forward declaration of ‘struct Fl_Button’
wizard.cxx:255: erreur: invalid use of undefined type ‘struct Fl_Button’
AirportBrowser.h:39: erreur: forward declaration of ‘struct Fl_Button’
wizard.cxx:256: erreur: invalid use of undefined type ‘struct Fl_Button’
AirportBrowser.h:39: erreur: forward declaration of ‘struct Fl_Button’
wizard.cxx:256: erreur: ‘Fl_Callback’ was not declared in this scope
wizard.cxx:256: erreur: expected primary-expression before ‘)’ token
make[2]: *** [wizard.o] Erreur 1
make[2]: quittant le répertoire « /home/nicolas/download/fgrun-0.4.5/src »
make[1]: *** [all] Erreur 2
make[1]: quittant le répertoire « /home/nicolas/download/fgrun-0.4.5/src »
make: *** [all-recursive] Erreur 1

Ben là je sèche aussi... précision, je fait make en USER ou en sudo -s, c'est pareil.


Sous Linux depuis 2005.

Hors ligne

#6 Le 07/11/2005, à 10:58

Harald

Re : [résolu]Comment installer ce n'ededious de fgkicker pour FlightGear

Je pense qu'il te manque fltk 1.1.x http://www.fltk.org/

Harald.

#7 Le 08/11/2005, à 00:41

sx1

Re : [résolu]Comment installer ce n'ededious de fgkicker pour FlightGear

Bonsoir,

Effectivement.

Il manquait aussi d'autres librairies.

Mais cela ne va toujours pas.

Après ./configure, le make me renvois cela :

/home/nicolas/download/fgrun-0.4.5/src/AirportBrowser.cxx:205: référence indéfinie vers « gzeof »
/home/nicolas/download/fgrun-0.4.5/src/AirportBrowser.cxx:207: référence indéfinie vers « gzclose »
AirportBrowser.o: dans la fonction « AirportBrowser::load_runways(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, void (*)(Fl_Widget*, void*), void*)»:
/home/nicolas/download/fgrun-0.4.5/src/AirportBrowser.cxx:364: référence indéfinie vers « gzopen »
/home/nicolas/download/fgrun-0.4.5/src/AirportBrowser.cxx:372: référence indéfinie vers « gzgetc »
/usr/lib/gcc/i486-linux-gnu/4.0.2/../../../../lib/libsgmisc.so: référence indéfinie vers « gzread »
/usr/lib/gcc/i486-linux-gnu/4.0.2/../../../../lib/libsgmisc.so: référence indéfinie vers « gzdopen »
/usr/lib/gcc/i486-linux-gnu/4.0.2/../../../../lib/libsgmisc.so: référence indéfinie vers « gzwrite »
collect2: ld a retourné 1 code d'état d'exécution
make[2]: *** [fgrun] Erreur 1
make[2]: quittant le répertoire « /home/nicolas/download/fgrun-0.4.5/src »
make[1]: *** [all] Erreur 2
make[1]: quittant le répertoire « /home/nicolas/download/fgrun-0.4.5/src »
make: *** [all-recursive] Erreur 1

Si j'ai bien compris il y aurais un soucis avec gzwrite et compagnie. Cela renvoi au Linux Standard Base Core Specification 3.0 non ?
Je reste paumé.
Mais on progresse un peu tous les soirs...:D


Sous Linux depuis 2005.

Hors ligne

#8 Le 08/11/2005, à 11:02

Harald

Re : [résolu]Comment installer ce n'ededious de fgkicker pour FlightGear

Si je comprends bien la log, la compilation est ok mais l'edition de lien non.
Cette fois il y a un probleme avec zlib.
Tu devrais vérifier le readme.zlib de *SimGear*. Zlib est inclus dans simgear mais n'est pas
installé d'office pour diverses raisons.
Desole de ne pas etre tres precis, je ne suis pas un linuxien roll
Courage, fgrun est bien pratique.

Pour info la version 0.9.9 de FlightGear est en cours de préparation.

Harald.

#9 Le 08/11/2005, à 19:48

sx1

Re : [résolu]Comment installer ce n'ededious de fgkicker pour FlightGear

J'ai fini par comprendre au vu des logs que le pb viens de la zlib.

Toutefois j'ai vérifier dans synaptic, elle est installée en tant que paquet.

Je fait un tour dans simgear ce soir...

*****
Plusieurs heures de prises de tête après : j'abandonne... le double clic sur un EXE windows à un solide avenir devant lui, quelle galère pour rien! Ma zlib est bien là, mais rien ne marche.

Sans parler de Flight Gear lui même, un autre enfer d'install, j'abandonne aussi.

Merci pour les conseil en tout cas, j'ai un peu apris tout de même.

Dernière modification par sx1 (Le 09/11/2005, à 00:00)


Sous Linux depuis 2005.

Hors ligne

#10 Le 03/01/2006, à 17:17

cyprien

Re : [résolu]Comment installer ce n'ededious de fgkicker pour FlightGear

J'ai créé un petit guide pour installer FlightGear 0.9.9 sous Ubuntu Breezy : http://wiki.ubuntu-fr.org/applications/jeux/flightgear

Hors ligne

#11 Le 03/01/2006, à 19:19

sx1

Re : [résolu]Comment installer ce n'ededious de fgkicker pour FlightGear

Bonsoir,

Voilà un tuto bienvenue, non, très bienvenue !

Bon, je rereretente le coup ce soir après le dodo des petits monstres...

Merci en tout cas.

J'ai aucune idée du travail que cela représente, mais nous faire un .deb pour noob avec tout ce qu'il faut compiler, envisageable ??? Ca faciliterai un coup d'accélérateur de la communauté peut être.

Attention , le 1er lien http://www.fr.flightgear.org/ renvoi 404.

Dernière modification par sx1 (Le 03/01/2006, à 19:20)


Sous Linux depuis 2005.

Hors ligne

#12 Le 04/01/2006, à 00:17

sx1

Re : [résolu]Comment installer ce n'ededious de fgkicker pour FlightGear

Bon, j'ai attaqué l'installation de la version 0.99.

Voilà les étapes :

1/ En exécution de la commande :

sudo apt-get install g++ build-essential libopenal-dev plib1.8.4-dev automake zlib1g-dev libfltk1.1-dev

J'ai ces deux messages :
-installation de automake.4 au lieu de automake (dont acte mon ami)
- fltk1-1-doc fluide suggéré (pourquoi pas, si les machines se mettent à suggérer maintenant smile

2/
1er pb [résolu à priori , voir plus bas]

You *must* have the openal library installed on your system to build
SimGear!

Dépaquetage de openal (à partir de openal_0.0.8-2_i386.deb) ...
dpkg : erreur de traitement de openal_0.0.8-2_i386.deb (--install) :
 tentative de remplacement de « /usr/lib/libopenal.so.0 », qui appartient aussi au paquet libopenal0
Des erreurs ont été rencontrées pendant l'exécution :
 openal_0.0.8-2_i386.deb

Je précise que j'ai le .deb à partir du .rpm traité avec alien -d

J'ai déjà installé sur ma machine (breezee) la libopenal pour faire tourner SLUNE.
J'ai installé via syaptic libopenal-dev, relancé l'installation de SimGear et je n'ai pas eu de retour d'erreur.
Je suis donc passé à la suite sans installer openal.

3/

En fin de manip, j'ai avec fgrun ceci :

user@local:~/avion/fgrun-0.4.6$ sudo make install
Making install in src
make[1]: entrant dans le répertoire « /home/user/avion/fgrun-0.4.6/src »
make  install-am
make[2]: entrant dans le répertoire « /home/user/avion/fgrun-0.4.6/src »
g++  -g -O2  -L/usr/X11R6/lib  -o fgrun  wizard.o wizard_funcs.o advanced.o adva nced_funcs.o AirportBrowser.o AirportTable.o Fl_Table.o Fl_Table_Row.o Fl_Plib.o  Fl_Heading_Dial.o main.o io.o fgfsrc.o logwin.o settings.o util.o run_posix.o f grun_pty.o -lsgprops -lsgxml -lsgmisc -lsgstructure -lsgdebug -lplibssg -lplibsg  -lplibul -lfltk_gl -lfltk -lGL -lXt -lSM -lICE -lXi -lXext -lX11  -lm -lz -luti l
main.o: dans la fonction « main »:
/home/user/avion/fgrun-0.4.6/src/main.cxx:87: référence indéfinie vers « Fl:: lock()    »
run_posix.o: dans la fonction « Wizard::run_fgfs(std::basic_string<char, std::ch ar_traits<char>, std::allocator<char> > const&)»:
/home/user/avion/fgrun-0.4.6/src/run_posix.cxx:82: référence indéfinie vers «  Fl::lock()    »
/home/user/avion/fgrun-0.4.6/src/run_posix.cxx:87: référence indéfinie vers «  Fl::unlock()    »
collect2: ld a retourné 1 code d'état d'exécution
make[2]: *** [fgrun] Erreur 1
make[2]: quittant le répertoire « /home/user/avion/fgrun-0.4.6/src »
make[1]: *** [install] Erreur 2
make[1]: quittant le répertoire « /home/user/avion/fgrun-0.4.6/src »
make: *** [install-recursive] Erreur 1

Bien sur impossible de lancer fgrun.

Donc arrêt temporaire pour moi.

Il y a une petite erreur dans le tuto, ce n'est pas dans la dernière install

tar -zxvf fgrun-0.4.6.tar.gz
cd FlightGear-0.4.6
./configure
make
sudo make install

mais je pense cd fgrun-0.4.6


Sous Linux depuis 2005.

Hors ligne