CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to CCS Technical Support

MPLAB X Unable to Resolve Identifier

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
mictel



Joined: 24 May 2014
Posts: 14

View user's profile Send private message

MPLAB X Unable to Resolve Identifier
PostPosted: Sat May 24, 2014 7:32 am     Reply with quote

New to MPLAB X Version 2.10. Using PCM Version 5.062. Created a project from a project that works just fine in MPLAB V8.92. Installed the CCS C plug in, program compiles successfully with no errors but...

MPLAB X flags pin variable Disp1 as "Unable to resolve identifier".

For example:

#bit Disp1 = port_c.0

Disp1 = 1; Gets flagged in most but not all places in the code with the warning "Unable to resolve identifier Disp1" and Disp1; is underlined in RED

But pin variable CapTestLED defined the exact same way:

#bit CapTestLED = port_b.3

CapTestLED = 0; Is not flagged anywhere so what the heck is MPLAB X complaining about?

Also have the same problem for standard variables like INT_Timer1 as in this example:

disable_interrupts(INT_Timer1);

Get the MPLAB X error: Unable to resolve identifier INT_Timer1

Searched but did not see this addressed. Thanks for the help.
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Sat May 24, 2014 9:13 am     Reply with quote

Use Google. Search the Microchip forum for this:
Quote:
"MPLAB X" " Unable to resolve identifier"

Get this:
http://www.microchip.com/forums/m775535.aspx
mictel



Joined: 24 May 2014
Posts: 14

View user's profile Send private message

PostPosted: Sat May 24, 2014 12:32 pm     Reply with quote

Thank You!
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group