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

#device ERROR

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



Joined: 04 Jan 2012
Posts: 2

View user's profile Send private message

#device ERROR
PostPosted: Fri Apr 20, 2012 11:08 pm     Reply with quote

Hi
I Have created a APPL_EEPROM.h and it is included in APPL_EEPROM.c , the project contains multiple .c and .h files but while building it i got an error like


Clean: Deleting intermediary and output files.
Clean: Deleted file "F:\Desingh - project\Projects\Smart Grid\Prepaid apllication\Prepaid Module\APPL_EEPROM.ESYM".
Clean Warning: File "F:\Desingh - project\Projects\Smart Grid\Prepaid apllication\Prepaid Module\APPL_EEPROM.o" doesn't exist.
Clean: Deleted file "F:\Desingh - project\Projects\Smart Grid\Prepaid apllication\Prepaid Module\APPL_EEPROM.ERR".
Clean: Done.
Executing: "C:\Program files\Picc\CCSC.exe" +FH "APPL_EEPROM.c" +EXPORT #__DEBUG=1 +ICD +DF +LN +T +A +M +Z +Y=9 +EA #__18F2620=TRUE
*** Error 128 "F:\Desingh - project\Projects\Smart Grid\Prepaid apllication\Prepaid Module\APPL_EEPROM.h" Line 6(1,2): A #DEVICE required before this line
F:\Desingh - project\Projects\Smart Grid\Prepaid apllication\Prepaid Module\APPL_EEPROM.o ===> 1 Errors, 0 Warnings.
Build Failed.
Halting build on first failure as requested.
BUILD FAILED: Sat Apr 21 10:35:38 2012
_________________
Singh
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Sat Apr 21, 2012 3:04 pm     Reply with quote

Quote:
*** Error 128 Line 6(1,2): A #DEVICE required before this line

Read this threads:
http://www.ccsinfo.com/forum/viewtopic.php?t=22956
http://www.ccsinfo.com/forum/viewtopic.php?t=42308
http://www.ccsinfo.com/forum/viewtopic.php?t=42871
http://www.ccsinfo.com/forum/viewtopic.php?t=40417
http://www.ccsinfo.com/forum/viewtopic.php?t=42536

There are many more.
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