View Single Post
  #20   Spotlight this post!  
Unread 31-01-2005, 09:26
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,926
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: 2005 default code won't compile

Quote:
Originally Posted by ElGeeko
I did fix the error you talked about (I just copied and pasted from the other post). I do know about there being no blank c drive



Everything (but lib and inc, which are set correctly) is already blank. Still nothing.
Odd. The blankC is still there in your compile listing ( /i"C:\Dev-Cpp\include" /i" c:\code\code_v2.4), and the include setting for c:mcc18/h is not. I hope you didn't copy and paste from my post. That just highlighted the "blank" error.
Executing: "c:\mcc18\bin\mcc18.exe" -p=18F8520 "control.c" -fo="c:\code\code_v2.4\control.o" /i"C:\Dev-Cpp\include" /i" c:\code\code_v2.4" -Ou- -Ot- -Ob- -Op- -Or- -Od- -Opa-
Can you compile the default 2.4 code?

You show several paths that are not part of the MPLAB default settings, so I assume you set them up. Are you using the "Use Alternate Settings" in MPLAB look under Project -> Build Options... -> Project, then the MPLAB C18 tab? If you are then add the c:mcc18/h path there as well.

Your compile line should look like:
Executing: "C:\mcc18\bin\mcc18.exe" -p=18F8520 "main.c" -fo="main.o" /i"c:\mcc18\h" -D_FRC_BOARD -D_USE_CMU_CAMERA
If you cannot get the mcc18/h path into the compile statement you might consider uninstalling MPLAB IDE and reinstalling it.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle

Last edited by Mark McLeod : 31-01-2005 at 09:53. Reason: Whenever I edit the system adds lots of blank lines