Quote:
Originally Posted by Pulverator
So, I went to find the Generate_Pwms(), and I see there are 2 prototypes. One or the other is compiled depending on the macro _FRC_BOARD. So, I assume the is being set wrongly - somewhere. Of course, I'm not sure.
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
What am I doing wrong!?!? Something must be seriously screwed up...
|
Nothing drastically wrong.
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.