dpick1055
22-01-2007, 21:57
I've now written some drive code for our robot and I wanted to compile it to make sure it worked. I didn't have the cd that came in the kop so I downloaded the student trial of the C18 complier and installed it. When I tried to compile my code I got this error.
Make: The target "C:\Documents and Settings\David Pick\Robotics\frc_camera_21\camera.o" is up to date.
Make: The target "C:\Documents and Settings\David Pick\Robotics\frc_camera_21\camera_menu.o" is up to date.
Make: The target "C:\Documents and Settings\David Pick\Robotics\frc_camera_21\eeprom.o" is up to date.
Make: The target "C:\Documents and Settings\David Pick\Robotics\frc_camera_21\ifi_startup.o" is up to date.
Make: The target "C:\Documents and Settings\David Pick\Robotics\frc_camera_21\ifi_utilities.o" is up to date.
Make: The target "C:\Documents and Settings\David Pick\Robotics\frc_camera_21\main.o" is up to date.
Make: The target "C:\Documents and Settings\David Pick\Robotics\frc_camera_21\serial_ports.o" is up to date.
Make: The target "C:\Documents and Settings\David Pick\Robotics\frc_camera_21\terminal.o" is up to date.
Make: The target "C:\Documents and Settings\David Pick\Robotics\frc_camera_21\tracking.o" is up to date.
Make: The target "C:\Documents and Settings\David Pick\Robotics\frc_camera_21\tracking_menu.o" is up to date.
Make: The target "C:\Documents and Settings\David Pick\Robotics\frc_camera_21\user_routines.o" is out of date.
Executing: "C:\mcc18\bin\mcc18.exe" -p=18F8722 "user_routines.c" -fo="user_routines.o" -Ou- -Ot- -Ob- -Op- -Or- -Od- -Opa- -nw=2066 -D_FRC_BOARD
MPLAB C18 v3.02 (demo)
Copyright 1999-2005 Microchip Technology Inc.
Days remaining until demo becomes feature limited: 59
C:\Documents and Settings\David Pick\Robotics\frc_camera_21\user_routines.c:367:Er ror: syntax error
Halting build on first failure as requested.
BUILD FAILED: Mon Jan 22 20:53:36 2007
Except the only code on line 367 is:
char target;
Which also happens to be the first line of code I wrote.
Anybody know whats going on? Thanks.
Make: The target "C:\Documents and Settings\David Pick\Robotics\frc_camera_21\camera.o" is up to date.
Make: The target "C:\Documents and Settings\David Pick\Robotics\frc_camera_21\camera_menu.o" is up to date.
Make: The target "C:\Documents and Settings\David Pick\Robotics\frc_camera_21\eeprom.o" is up to date.
Make: The target "C:\Documents and Settings\David Pick\Robotics\frc_camera_21\ifi_startup.o" is up to date.
Make: The target "C:\Documents and Settings\David Pick\Robotics\frc_camera_21\ifi_utilities.o" is up to date.
Make: The target "C:\Documents and Settings\David Pick\Robotics\frc_camera_21\main.o" is up to date.
Make: The target "C:\Documents and Settings\David Pick\Robotics\frc_camera_21\serial_ports.o" is up to date.
Make: The target "C:\Documents and Settings\David Pick\Robotics\frc_camera_21\terminal.o" is up to date.
Make: The target "C:\Documents and Settings\David Pick\Robotics\frc_camera_21\tracking.o" is up to date.
Make: The target "C:\Documents and Settings\David Pick\Robotics\frc_camera_21\tracking_menu.o" is up to date.
Make: The target "C:\Documents and Settings\David Pick\Robotics\frc_camera_21\user_routines.o" is out of date.
Executing: "C:\mcc18\bin\mcc18.exe" -p=18F8722 "user_routines.c" -fo="user_routines.o" -Ou- -Ot- -Ob- -Op- -Or- -Od- -Opa- -nw=2066 -D_FRC_BOARD
MPLAB C18 v3.02 (demo)
Copyright 1999-2005 Microchip Technology Inc.
Days remaining until demo becomes feature limited: 59
C:\Documents and Settings\David Pick\Robotics\frc_camera_21\user_routines.c:367:Er ror: syntax error
Halting build on first failure as requested.
BUILD FAILED: Mon Jan 22 20:53:36 2007
Except the only code on line 367 is:
char target;
Which also happens to be the first line of code I wrote.
Anybody know whats going on? Thanks.