|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Error in Compiling the Camera Code (B&W Version)
Loaded everything in and clicked on the "BUILD ALL" and this is the error I got.
Executing: C\m18\bin\mcc18.exe" -p=18F8722 "camera.c" -fo= "camera.o" -ou- -ot- -ob- -op- -or- -od- -opa- -nw=2066 -D_FRC_Board This version of the compiler supports only the PIC18F8520 processor. Halting Build Any suggestions on this problem? |
|
#2
|
|||
|
|||
|
Re: Error in Compiling the Camera Code (B&W Version)
You'll have to either figure out how to change the target processor or use the new compiler. We wanted to run the code on last years controller, but we couldn't figure out how to change the processor. So, we used the new compiler which required that we use the new controller.
|
|
#3
|
|||||
|
|||||
|
Re: Error in Compiling the Camera Code (B&W Version)
If you loaded the newest edition of MPLAB and the compiler, then it can be as simple as chosing:
Configure -> Select Device... then picking PIC18F8722 from the pulldown. But it sounds like you have an older C18 compiler limited to the 2004/2005 version of the RC. |
|
#4
|
||||
|
||||
|
Re: Error in Compiling the Camera Code (B&W Version)
You need to install the new MPLAB C18 compiler for PIC18F8722,
we had a problem with that, and wed thought the cmilers were the same (because they were both c18), but we were wrong. make sure you install the compiler thats included ont he new CD. |
|
#5
|
|||
|
|||
|
Re: Error in Compiling the Camera Code (B&W Version)
Thanks guys.... I had to choose the PIC18F8520. Got rid of that error, now I'm getting "can't find stdio.h file". I'll try to figure this out. If you have any suggestions feel free to offer..... Thanks again....
|
|
#6
|
|||||
|
|||||
|
Re: Error in Compiling the Camera Code (B&W Version)
You are missing the path setting for the mcc18 include files.
In MPLAB Project -> Build Options... -> Project You'll see "Include Path" on the pop-up, just set it to C:\mcc18\h or click Browse and it usually is already there. |
|
#7
|
||||
|
||||
|
Re: Error in Compiling the Camera Code (B&W Version)
Keep in mind that code compiled for the 8520 will not run on the new controller, only 2004/2005, so if you want to use the new controller you'll have to update your compiler with the CD included in the kit.
|
|
#8
|
|||||
|
|||||
|
Re: Error in Compiling the Camera Code (B&W Version)
Quote:
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Out of the Box Camera Code | russell | Programming | 9 | 21-10-2009 05:28 |
| Code error on RC after downloading "bells and whistles" version of Kevins camera code | DanDon | Programming | 6 | 10-01-2006 18:07 |
| Team THRUST - Kevin's Code and Camera Code Combine | Chris_Elston | Programming | 3 | 31-01-2005 22:28 |
| CMUCam2 Camera Code - Are important parts commented out? | Mr. Lim | Programming | 4 | 14-01-2005 12:11 |
| heres the code. y this not working | omega | Programming | 16 | 31-03-2004 15:18 |