Michael Blackbird (Nouveau membre)
Inscrit le : 21-03-2013
Messages: 1
Snippets: 0
Tutoriels: 0
Hors ligne |
Bonjour,
D'abord bravo pour votre forum. Je ne suis pas un expert en developpement, mais j'essai de modifier un code pour animer différents instruments en standalone et liés au simulateur Flight Simulator X.
J'utilise wxDev-C++ v7.4.2.569 et je rencontre un problème à la fin du build. D'abord une fenêtre qui m'annonce que ld.exe a cessé de fontionné puis en regardant ce qui s'est passé dans le log, je peux voir ça :
Compiler: Default GCC compiler Building Makefile: "C:\SAUVEGARDE SIMU\Projet Simulateur\Tableau de bord\Instruments FS\MM Gauges\MM_FUELQTY_CENTER\Makefile.win" Executing make clean del /Q "objects\main.o" objects\MM_FUELQTY_CENTER_private.res "bin\MM_FUELQTY_CENTER.exe"
Impossible de trouver C:\SAUVEGARDE SIMU\Projet Simulateur\Tableau de bord\Instruments FS\MM Gauges\MM_FUELQTY_CENTER\bin\MM_FUELQTY_CENTER.exe
gcc.exe -c main.c -o objects/main.o -I"C:/Program Files (x86)/Dev-Cpp/MinGW32/include" -I"C:/Program Files (x86)/Dev-Cpp/include" -g3
"windres.exe" --input-format=rc -o objects/MM_FUELQTY_CENTER_private.res --include-dir "C:/PROGRA~2/Dev-Cpp/include/common" objects/MM_FUE~1.RC -O coff
g++.exe "objects/main.o" objects/MM_FUELQTY_CENTER_private.res -o "bin/MM_FUELQTY_CENTER.exe" -L"C:/Program Files (x86)/Dev-Cpp/lib/wx/gcc_lib" -L"C:/Program Files (x86)/Dev-Cpp/lib" -L"C:/Program Files (x86)/Dev-Cpp/MinGW32/lib" -L"C:/SAUVEGARDE SIMU/Projet Simulateur/Tableau de bord/Instruments FS/MM Gauges/MM_FUELQTY_CENTER" -L"C:/Program Files (x86)/Dev-Cpp/lib" -lalleg FSUIPC_User.lib -mwindows -g3
collect2: ld returned 5 exit status
mingw32-make.exe: *** [bin/MM_FUELQTY_CENTER.exe] Error 1
Execution terminated Compilation Failed. Make returned 2
J'utilise les fonctions graphiques d'Allegro.
Auriez-vous des pistes à me donner ? Merci d'avance. ---------- J'ai fini par trouver. J'avais bêtement copié une ligne dans un tutorial qui comportait une erreur de syntaxe dans les paramètres du linker :
-lalleg FSUIPC_User.lib
-Lalleg -L"FSUIPC_User.lib"
Dernière modification par Michael Blackbird (22-03-2013 10:02:17)
|