![]() |
Undefined varibles in IFI_Utilities.c
Here's the error I am getting...
C:\robotics\ifi_utilities.c:234:Error [1105] symbol 'ADC_VREFPLUS_VDD' has not been defined C:\robotics\ifi_utilities.c:234:Error [1105] symbol 'ADC_VREFMINUS_VSS' has not been defined I went and looked at the code, and I see it used, but not defined. Does anyone know how to define this, or at least make it so I can compile this with out any errors? I am on MPLAP c18 V. 2.40 already if you think that is the problem. |
Re: Undefined varibles in IFI_Utilities.c
Are you using the default code? Which version? What have you modified?
|
Re: Undefined varibles in IFI_Utilities.c
Well, I got the error both in the default code in 2.2 and 2.4. 2.4 was the latest I had been using, but I will be reverting to 2.2 becuase I am not using the camera. I have modified nothing. It's for a quick run of the drive train, so I only need it for that. Any ideas?
|
Re: Undefined varibles in IFI_Utilities.c
Quote:
The question now is why you got these errors without getting another one saying that adc.h cannot be found. |
Re: Undefined varibles in IFI_Utilities.c
Quote:
|
Re: Undefined varibles in IFI_Utilities.c
I got those same errors myself. Instead of creating a project from the Project menu, you instead want to go File->Open Workspace and open the workspace file inside the default code directory (.mcw I think). Then it should be able to compile successfully. I understand your confusion, this problem troubled me for almost a week.
|
Re: Undefined varibles in IFI_Utilities.c
Thanks. Finally got it working.
|
| All times are GMT -5. The time now is 02:46. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi