View Single Post
  #6   Spotlight this post!  
Unread 07-01-2008, 00:45
SuspectZero's Avatar
SuspectZero SuspectZero is offline
2254 Team President
FRC #2254 (Twisted Transistors)
Team Role: Leadership
 
Join Date: Jan 2008
Rookie Year: 2007
Location: Mississauga, Ontario
Posts: 16
SuspectZero is an unknown quantity at this point
Re: New C18 3.0+ Compatible FRC Code

Quote:
Originally Posted by JohnC View Post
For people having issues with new MPLAB IDE and new C18 playing nice together:

When installing/updating your C18 compiler, (I went with 3.15 and am going to add the #endif that was mentioned earlier) there is a page of options after choosing which components to install that has the following:

[ ] Update MPLAB IDE to use this MPLAB C18
[ ] Update MPLAB IDE to use this MPLINK Linker, MPLIB Librarian, and MPASM Assembler

Check them!

Edit: apparently that doesn't actually do the trick. I still get this:
MPLINK 4.15, Linker
Copyright (c) 2007 Microchip Technology Inc.
Error - could not find file 'clib.lib'.
Errors : 1

Link step failed.
for the clib.lib error go to Project> Build Options> Project> Directories Tab. in the Show Directories menu, select library search path. delete the old one and create a new one where the clib.lib is located (a simple search on your computer should be able to find it). i dont know if you should but you can also do the same with the Linker-Script Search path, in which you should delete the old directory location and create a new one going to the lkr folder in your mcc18 folder. that should fix the problem

can someone point me in the direction of a tutorial in which i can use this code to program our new 2008 bot? also is there a way of reading the printf statements in an executed program without having to upload onto our robot?
__________________

Team 2254: Twisted Transistors
2007 FRC: Placed 18th in Regionals
2008 FRC: TBD

Last edited by SuspectZero : 07-01-2008 at 00:55.