Bonjour,
je souhaiterais vous soumettre mon code qui est sensé pilote un ecran LCD sur un picdem plus2 , mon micro c 'est un pic18f4520 compiler C18, mplabX et avec un picit 3. Je suis sur XP. Voila pour les présentations !!!
Lorsque je builde le projet j ai des erreurs :
Ci joint 3 fichiers : XLCD.c, XLCD.H et def.hCode:make -f nbproject/Makefile-default.mk SUBPROJECTS= .build-conf make[1]: Entering directory `C:/Documents and Settings/Test/MPLABXProjects/lcd4520.X' make -f nbproject/Makefile-default.mk dist/default/production/lcd4520.X.production.hex make[2]: Entering directory `C:/Documents and Settings/Test/MPLABXProjects/lcd4520.X' "C:\Program Files\Microchip\mplabc18\v3.43\bin\mplink.exe" -p18f4520 -w -z__MPLAB_BUILD=1 -u_CRUNTIME -l "C:\Program Files\Microchip\mplabc18\v3.43\bin"\\..\\lib -o dist/default/production/lcd4520.X.production.cof build/default/production/XLCD.o MPLINK 4.44, Linker Device Database Version 1.9 Copyright (c) 1998-2011 Microchip Technology Inc. Error - could not find definition of symbol 'main' in file 'C:\Program Files\Microchip\mplabc18\v3.43\bin\\..\\lib/c018i.o'. Errors : 1 make[2]: Leaving directory `C:/Documents and Settings/Test/MPLABXProjects/lcd4520.X' make[1]: Leaving directory `C:/Documents and Settings/Test/MPLABXProjects/lcd4520.X' make[2]: *** [dist/default/production/lcd4520.X.production.hex] Error 1 make[1]: *** [.build-conf] Error 2 make: *** [.build-impl] Error 2 BUILD FAILED (exit value 2, total time: 1s)
-----