hitech pic18

Başlatan mikromuh, 30 Haziran 2009, 19:16:17

mikromuh

Merhaba arkadaslar,derleme yaptigimda boyle bir hata aliyorum.Duzeltemedim.Samples icndeki lcd klasoru.Sorun neden olabilir? mplab v8.33
Derleme ayarlarindan olabilirmi?

Clean: Deleting intermediary and output files.
Clean: Deleted file "C:\Program Files\HI-TECH Software\PICC-18\pro\9.61\samples\lcd\lcd.cce".
Clean: Deleted file "C:\Program Files\HI-TECH Software\PICC-18\pro\9.61\samples\lcd\lcd.mcs".
Clean: Done.
Executing: "C:\Program Files\HI-TECH Software\PICC-18\pro\9.61\bin\picc18.exe" -C -E"lcd.cce" "lcd.c" -O"lcd.obj" -Q -MPLAB -18F452
Advisory[1207]   : some of the command line options you are using are now obsolete
Advisory[1208]   : use --help option or refer to the user manual for option details
Error[1091] C:\Program Files\HI-TECH Software\PICC-18\pro\9.61\samples\lcd\lcd.c 154 : main function "_main" not defined
Halting build on first failure as requested.
BUILD FAILED: Tue Jun 30 19:49:55 2009

f_machine

merhaba,
bu kod çalışmaz, çünkü kodda main fonksiyonu yok.