View Single Post
  #2   Spotlight this post!  
Unread 09-01-2007, 01:25
Kevin Watson's Avatar
Kevin Watson Kevin Watson is offline
La Caņada High School
FRC #2429
Team Role: Mentor
 
Join Date: Jan 2002
Rookie Year: 2001
Location: La Caņada, California
Posts: 1,335
Kevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond repute
Re: Please help; HUGE mplab problem

Quote:
Originally Posted by brennerator View Post
Ok I have no idea what is going on:

Now i get this;
Make: The target "C:\Code\main.o" is up to date.
Make: The target "C:\Documents and Settings\Achuta\Desktop\FRC_DEFAULT\ifi_startup.o" is out of date.
Executing: "C:\mcc18\bin\mcc18.exe" -p=18F8722 "ifi_startup.c" -fo="ifi_startup.o" -Ou- -Ot- -Ob- -Op- -Or- -Od- -Opa-
Make: The target "C:\Documents and Settings\Achuta\Desktop\FRC_DEFAULT\ifi_utilities. o" is out of date.
Executing: "C:\mcc18\bin\mcc18.exe" -p=18F8722 "ifi_utilities.c" -fo="ifi_utilities.o" -Ou- -Ot- -Ob- -Op- -Or- -Od- -Opa-
Make: The target "C:\Documents and Settings\Achuta\Desktop\FRC_DEFAULT\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-
C:\Documents and Settings\Achuta\Desktop\FRC_DEFAULT\user_routines. c:168:Warning [2066] type qualifier mismatch in assignment
C:\Documents and Settings\Achuta\Desktop\FRC_DEFAULT\user_routines. c:191:Warning [2066] type qualifier mismatch in assignment
C:\Documents and Settings\Achuta\Desktop\FRC_DEFAULT\user_routines. c:193:Error [1203] too few arguments in function call
Halting build on first failure as requested.
BUILD FAILED: Mon Jan 08 21:49:59 2007
The first two warnings are related to calls to printf() and the error, I'm guessing, has to do with a call to Generate_Pwms().

To fix the problem, go to this dialog box: Project->Build Options->Project->MPLAB C18 Tab

Once you're there, click on the "Use Alternate Settings" check box, and then add "-nw=2066 -D_FRC_BOARD" to the end of the stuff in the associated text box. When done, it should read "-Ou- -Ot- -Ob- -Op- -Or- -Od- -Opa- -nw=2066 -D_FRC_BOARD" (without the quotes).

-Kevin
__________________
Kevin Watson
Engineer at stealth-mode startup
http://kevin.org