View Single Post
  #9   Spotlight this post!  
Unread 01-12-2008, 10:47
domoarigato's Avatar
domoarigato domoarigato is offline
Team #1208 CCO
AKA: Coony
FRC #1208 (Metool Brigade)
Team Role: Engineer
 
Join Date: Nov 2008
Rookie Year: 2008
Location: O'Fallon, Il
Posts: 32
domoarigato is an unknown quantity at this point
Re: Generic error in MPLAB

OKAY Update.

Oddly, one of my programmers (a rookie like most of us here) went in and randomly deleted one of the quotation marks in the code as you all suspected.

Old error is gone! Only to let another surface...

now, I get:

Clean: Deleting intermediary and output files.
Clean: Done.
Executing: "C:\mcc18\bin\mcc18.exe" -p=18F8722 "main.c" -fo="main.o" -D_FRC_BOARD -D_LARGE_CODE -D_DONT_USE_TMR0 -mL -Ou- -Ot- -Ob- -Op- -Or- -Od- -Opa-
C:\working\main.c:14:Error: syntax error
Halting build on first failure as requested.
BUILD FAILED: Mon Dec 01 09:45:22 2008

I am guessing that the build settings are off, due to the fact that I am getting a message that says "DONT_USE". haha

Any Ideas how to fix this?

...Oh, and the first 21 lines of my code read:

/************************************************** *****************************
* FILE NAME: main.c <FRC VERSION>
*
* DESCRIPTION:
* This file contains the main program loop.
*
* USAGE:
* You should not need to modify this file.
* Note the different loop speed for the two routines:
* Process_Data_From_Master_uP
* Process_Data_From_Local_IO
************************************************** *****************************/

#include "ifi_aliases.h";
#include "ifi_default.h";
#include "ifi_utilities.h";
#include "user_routines.h";

tx_data_record txdata; /* DO NOT CHANGE! */
rx_data_record rxdata; /* DO NOT CHANGE! */
packed_struct statusflag; /* DO NOT CHANGE! */

Last edited by domoarigato : 01-12-2008 at 10:51. Reason: Aditional Info.