![]() |
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? |
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.
|
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. |
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. |
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....
|
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. |
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.
|
Re: Error in Compiling the Camera Code (B&W Version)
Quote:
|
| All times are GMT -5. The time now is 13:35. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi