Hi,
I took the code from MikroElektronika and I make compiler,
and I get error messages.
Anyone know what changes to make to not receive error messages.
I attached the message...
Using driver C:\Program Files\HI-TECH Software\PICC\9.70\bin\picc.exe
Make: The target "C:\Test\3\Start.p1" is out of date.
Executing: "C:\Program Files\HI-TECH Software\PICC\9.70\bin\picc.exe" --pass1 C:\Test\3\Start.c -q --chip=16F877A -P --runtime=default --opt=default -D__DEBUG=1 -g --asmlist "--errformat=Error [%n] %f; %l.%c %s" "--msgformat=Advisory[%n] %s" "--warnformat=Warning [%n] %f; %l.%c %s"
Warning [107] C:\Test\3\Start.c; 5.7 illegal # directive "device"
Warning [107] C:\Test\3\Start.c; 6.7 illegal # directive "device"
Warning [107] C:\Test\3\Start.c; 7.6 illegal # directive "FUSES"
Warning [107] C:\Test\3\Start.c; 8.6 illegal # directive "FUSES"
Warning [107] C:\Test\3\Start.c; 9.6 illegal # directive "FUSES"
Warning [107] C:\Test\3\Start.c; 10.6 illegal # directive "FUSES"
Warning [107] C:\Test\3\Start.c; 11.6 illegal # directive "FUSES"
Warning [107] C:\Test\3\Start.c; 12.6 illegal # directive "FUSES"
Warning [107] C:\Test\3\Start.c; 13.6 illegal # directive "FUSES"
Warning [361] C:\Test\3\Start.c; 41.1 function declared implicit int
Warning [361] C:\Test\3\Start.c; 50.10 function declared implicit int
Warning [361] C:\Test\3\Start.c; 57.1 function declared implicit int
Warning [356] C:\Test\3\Start.c; 103.23 implicit conversion of float to integer
Warning [356] C:\Test\3\Start.c; 107.23 implicit conversion of float to integer
Warning [356] C:\Test\3\Start.c; 111.24 implicit conversion of float to integer
Make: The target "C:\Test\3\delay.p1" is up to date.
Executing: "C:\Program Files\HI-TECH Software\PICC\9.70\bin\picc.exe" -oSensorFinal.cof -mSensorFinal.map --summary=default --output=default Start.p1 delay.p1 --chip=16F877A -P --runtime=default --opt=default -D__DEBUG=1 -g --asmlist "--errformat=Error [%n] %f; %l.%c %s" "--msgformat=Advisory[%n] %s" "--warnformat=Warning [%n] %f; %l.%c %s"
Licensed for evaluation purposes only.
This licence will expire on Sat, 10 Apr 2010.
HI-TECH C Compiler for PIC10/12/16 MCUs (PRO Mode) V9.70
Copyright (C) 2009 Microchip Technology Inc.
Error [500] ; 0. undefined symbols:
_Adc_Read(SensorFinal.obj) _Usart_Write(SensorFinal.obj) _strConstCpy(SensorFinal.obj)
********** Build failed! **********
I took the code from MikroElektronika and I make compiler,
and I get error messages.
Anyone know what changes to make to not receive error messages.
I attached the message...
Using driver C:\Program Files\HI-TECH Software\PICC\9.70\bin\picc.exe
Make: The target "C:\Test\3\Start.p1" is out of date.
Executing: "C:\Program Files\HI-TECH Software\PICC\9.70\bin\picc.exe" --pass1 C:\Test\3\Start.c -q --chip=16F877A -P --runtime=default --opt=default -D__DEBUG=1 -g --asmlist "--errformat=Error [%n] %f; %l.%c %s" "--msgformat=Advisory[%n] %s" "--warnformat=Warning [%n] %f; %l.%c %s"
Warning [107] C:\Test\3\Start.c; 5.7 illegal # directive "device"
Warning [107] C:\Test\3\Start.c; 6.7 illegal # directive "device"
Warning [107] C:\Test\3\Start.c; 7.6 illegal # directive "FUSES"
Warning [107] C:\Test\3\Start.c; 8.6 illegal # directive "FUSES"
Warning [107] C:\Test\3\Start.c; 9.6 illegal # directive "FUSES"
Warning [107] C:\Test\3\Start.c; 10.6 illegal # directive "FUSES"
Warning [107] C:\Test\3\Start.c; 11.6 illegal # directive "FUSES"
Warning [107] C:\Test\3\Start.c; 12.6 illegal # directive "FUSES"
Warning [107] C:\Test\3\Start.c; 13.6 illegal # directive "FUSES"
Warning [361] C:\Test\3\Start.c; 41.1 function declared implicit int
Warning [361] C:\Test\3\Start.c; 50.10 function declared implicit int
Warning [361] C:\Test\3\Start.c; 57.1 function declared implicit int
Warning [356] C:\Test\3\Start.c; 103.23 implicit conversion of float to integer
Warning [356] C:\Test\3\Start.c; 107.23 implicit conversion of float to integer
Warning [356] C:\Test\3\Start.c; 111.24 implicit conversion of float to integer
Make: The target "C:\Test\3\delay.p1" is up to date.
Executing: "C:\Program Files\HI-TECH Software\PICC\9.70\bin\picc.exe" -oSensorFinal.cof -mSensorFinal.map --summary=default --output=default Start.p1 delay.p1 --chip=16F877A -P --runtime=default --opt=default -D__DEBUG=1 -g --asmlist "--errformat=Error [%n] %f; %l.%c %s" "--msgformat=Advisory[%n] %s" "--warnformat=Warning [%n] %f; %l.%c %s"
Licensed for evaluation purposes only.
This licence will expire on Sat, 10 Apr 2010.
HI-TECH C Compiler for PIC10/12/16 MCUs (PRO Mode) V9.70
Copyright (C) 2009 Microchip Technology Inc.
Error [500] ; 0. undefined symbols:
_Adc_Read(SensorFinal.obj) _Usart_Write(SensorFinal.obj) _strConstCpy(SensorFinal.obj)
********** Build failed! **********