View Single Post
  #9   Spotlight this post!  
Unread 03-02-2004, 16:32
Mark McLeod's Avatar
Mark McLeod Mark McLeod is offline
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,801
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
Re: Need Help: Build/Make Error

Quote:
Originally Posted by ZeoFateX
Ok I'm at school now, we tried downloading the files over again, and this time we have a different error:

Code:
Executing: "c:\mcc18\bin\mcc18.exe" -p=18F8520 "ifi_startup.c" -fo="ifi_startup.o" /i"C:\mcc18\h" -Ou- -Ot- -Ob- -Op- -Or- -Od- -Opa-
Executing: "c:\mcc18\bin\mcc18.exe" -p=18F8520 "ifi_utilities.c" -fo="ifi_utilities.o" /i"C:\mcc18\h" -Ou- -Ot- -Ob- -Op- -Or- -Od- -Opa-
Executing: "c:\mcc18\bin\mcc18.exe" -p=18F8520 "main.c" -fo="main.o" /i"C:\mcc18\h" -Ou- -Ot- -Ob- -Op- -Or- -Od- -Opa-
Executing: "c:\mcc18\bin\mcc18.exe" -p=18F8520 "printf_lib.c" -fo="printf_lib.o" /i"C:\mcc18\h" -Ou- -Ot- -Ob- -Op- -Or- -Od- -Opa-
Executing: "c:\mcc18\bin\mcc18.exe" -p=18F8520 "user_routines.c" -fo="user_routines.o" /i"C:\mcc18\h" -Ou- -Ot- -Ob- -Op- -Or- -Od- -Opa-
C:\FIRST 2004\user_routines.c:191:Error: syntax error
Halting build on first failure as requested.
BUILD FAILED: Tue Feb 03 15:42:53 2004
Which points to:

Code:
Generate_Pwms(pwm13,pwm14,pwm15,pwm16);
Commenting this line allows us to compile without errors, but this obviously is not the right way to go because errors are not something (visible or not) which we want lol.

We're seriously having problems considering nothing was changed...
This is FRC code, whereas, before you talked about EDU code.
What default code are you using and which controller?
The code looks like the FRC default code.

If you are loading the FRC default code onto the FRC then you might be missing a macro setting in MPLAB.

In MPLAB go to Project -> Build Options... -> Project
Click the "MPLAB C18" tab on the pop-up window that appears.
and see if "_FRC_BOARD" is defined under Macro definitions.

If not, click on "Add" and type in "_FRC_BOARD", click OK, close the pop-up windows and try building again.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle

Last edited by Mark McLeod : 03-02-2004 at 16:39.