Problème de compilation

Fermé
escarpins155 Messages postés 1 Date d'inscription jeudi 15 mai 2014 Statut Membre Dernière intervention 15 mai 2014 - 15 mai 2014 à 22:47
fiddy Messages postés 11069 Date d'inscription samedi 5 mai 2007 Statut Contributeur Dernière intervention 23 avril 2022 - 16 mai 2014 à 23:25
bonsoir a tous

tous est dan le titre

voici le message que j ais

merci d avance pour vos reponse


CLEAN SUCCESSFUL (total time: 811ms)
make -f nbproject/Makefile-default.mk SUBPROJECTS= .build-conf
make[1]: Entering directory 'K:/essaie_led(pic16f886)/essaie_led.X'
make -f nbproject/Makefile-default.mk dist/default/production/essaie_led.X.production.hex
make[2]: Entering directory 'K:/essaie_led(pic16f886)/essaie_led.X'
"C:\Program Files (x86)\Microchip\xc8\v1.31\bin\xc8.exe" --pass1 --chip=16F886 -Q -G --double=24 --float=24 --opt=default,+asm,+asmfile,-speed,+space,-debug --addrqual=ignore --mode=free -P -N255 --warn=0 --asmlist --summary=default,-psect,-class,+mem,-hex,-file --output=default,-inhx032 --runtime=default,+clear,+init,-keep,-no_startup,+osccal,-resetbits,-download,-stackcall,+clib --output=-mcof,+elf:multilocs --stack=compiled:auto:auto "--errformat=%%f:%%l: error: (%%n) %%s" "--warnformat=%%f:%%l: warning: (%%n) %%s" "--msgformat=%%f:%%l: advisory: (%%n) %%s" -obuild/default/production/essaie_led.p1 essaie_led.c
"C:\Program Files (x86)\Microchip\xc8\v1.31\bin\xc8.exe" --chip=16F886 -G -mdist/default/production/essaie_led.X.production.map --double=24 --float=24 --opt=default,+asm,+asmfile,-speed,+space,-debug --addrqual=ignore --mode=free -P -N255 --warn=0 --asmlist --summary=default,-psect,-class,+mem,-hex,-file --output=default,-inhx032 --runtime=default,+clear,+init,-keep,-no_startup,+osccal,-resetbits,-download,-stackcall,+clib --output=-mcof,+elf:multilocs --stack=compiled:auto:auto "--errformat=%%f:%%l: error: %%s" "--warnformat=%%f:%%l: warning: (%%n) %%s" "--msgformat=%%f:%%l: advisory: (%%n) %%s" -odist/default/production/essaie_led.X.production.elf build/default/production/essaie_led.p1
Microchip MPLAB XC8 C Compiler (Free Mode) V1.31
Copyright (C) 2014 Microchip Technology Inc.
License type: Node Configuration

:: warning: (1273) Omniscient Code Generation not available in Free mode
:0: error: undefined symbol:
_Delay1TCYx(dist/default/production\essaie_led.X.production.obj)
(908) exit status = 1
make[2]: *** [dist/default/production/essaie_led.X.production.hex] Error 1
make[1]: *** [.build-conf] Error 2
make: *** [.build-impl] Error 2
make[2]: Leaving directory 'K:/essaie_led(pic16f886)/essaie_led.X'
make[1]: Leaving directory 'K:/essaie_led(pic16f886)/essaie_led.X'

BUILD FAILED (exit value 2, total time: 3s)

2 réponses

sans certitude, je dirais que t'as zappé un *.h
0
fiddy Messages postés 11069 Date d'inscription samedi 5 mai 2007 Statut Contributeur Dernière intervention 23 avril 2022 1 844
16 mai 2014 à 23:22
Non, on n'aurait pas ce genre d'erreur.
0
fiddy Messages postés 11069 Date d'inscription samedi 5 mai 2007 Statut Contributeur Dernière intervention 23 avril 2022 1 844
16 mai 2014 à 23:25
Bonjour,

Il doit manquer une bibliothèque ou sinon la compilation est mal faite.
Il faudrait vérifier le makefile, peut-être que la compilation séparée n'est pas correcte...
0