![]() |
Default code will not compile
We migrated to a new computer this year, so I installed v8.00 of MPLAB and v2.40 of the compiler. These are the errors:
Quote:
|
Re: Default code will not compile
Quote:
Not sure why this is but it still applies Steve |
Re: Default code will not compile
There is a version of the base code that will compile with the new compiler
and IDE. It can be found on the Kevin Watson site. http://www.kevin.org/frc look for the zip file ifi_frc_30.zip. The libraries are on this site also. We are using the 3.0 compiler successfully. I am the programming mentor for Team 662 Rocky Mountain Robotics. |
Re: Default code will not compile
Thanks guys/gals!
I've downgraded to 7.20 and that error is now gone :) But... I get a new error. In user_routines.c, line 193 Code:
Error [1203] too few arguments in function callBtw, I couldn't open the default code project because the file format of the workspace was incompatible so I created a new project and added the files to that. Edit - This is bronxbomber92 posting under a teammates account. Edit 2 - I just tried compiling Kevin's 2.40 beta code ( I could't open the workspace like above, so I made a new workspace again). I get an error saying Code:
could not find file clib.lib |
Re: Default code will not compile
Quote:
In the first case _FRC_BOARD was used to switch between the FRC and the old Edu controller. The macro used to be defined in MPLAB build options. You can add it under the complier tab or just add "#define _FRC_BOARD" to the code before it gets referenced. In the second case when you built your new project you didn't set the path where MPLAB is to look for the libraries (mcc18/lib). Also under build options. |
Re: Default code will not compile
Thanks. I did add mcc18\lib to my include path before, but it then gave me another linking error:
Quote:
|
Re: Default code will not compile
I fixed the problem!! The problem was that the old 8522 linker scripts were still in the project and I believed those were being used instead.
|
Re: Default code will not compile
Quote:
|
| All times are GMT -5. The time now is 11:04. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi