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

Can't Compile EX_LCDKB.C

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



Joined: 27 Sep 2005
Posts: 25

View user's profile Send private message

Can't Compile EX_LCDKB.C
PostPosted: Fri Dec 19, 2008 2:00 am     Reply with quote

When attempting to compile the example file EX_LCDKB.c, I get the following error message:

"...KBD.C" Line 34(5,9): A #DEVICE required before this line

I have placed the files LCD.c and KBD.c in the project. I am using CCS PCWH v4 under MPLAB v8.10. I have many other projects that compile and run without issue.

Any ideas will be appreciated.

Steve
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Fri Dec 19, 2008 2:20 am     Reply with quote

Quote:
When attempting to compile the example file EX_LCDKB.c,
I have placed the files LCD.c and KBD.c in the project.
I am using MPLAB v8.10.


How to use multiple source files with MPLAB:
http://www.ccsinfo.com/forum/viewtopic.php?t=34046

More detailed information on using multiple files with MPLAB.
Read all the links in this thread:
http://www.ccsinfo.com/forum/viewtopic.php?t=32221
SteveW



Joined: 27 Sep 2005
Posts: 25

View user's profile Send private message

PostPosted: Sun Dec 21, 2008 12:06 am     Reply with quote

Thanks. Deleting the external files from the IDE did the job.

Steve
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