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

Error 18 question

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



Joined: 07 Feb 2008
Posts: 167

View user's profile Send private message

Error 18 question
PostPosted: Thu Mar 06, 2008 12:00 pm     Reply with quote

I recently upgraded from v3.249 to v4.069 PCWH. About half of the projects created using v3.249 do not complile and generate "Error 18: <Filename.c> Line 0(0,1): File can not be opened." Other, similar error messages referencing line 0 are also generated.

Of course line 0 can not be found by the IDE.

What's up? Any suggestions?

Thanks in advance
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Thu Mar 06, 2008 12:45 pm     Reply with quote

I don't have the CCS IDE, but you could try this suggestion:
Delete the old project files. Then create a new project, using the vs. 4
IDE. It's possible that the old project are incompatible and that vs. 4
can't import them for some reason.

In MPLAB, the project files would have these extensions:
.MCP, .MCS, .MCW, .MPT, .TAG, etc.
These are the files other than your .c and .h files. They control the
settings and options of the project. CCS will some similar files, but
possibly with different extensions.
mickent



Joined: 18 Feb 2007
Posts: 22
Location: TN, USA

View user's profile Send private message

PostPosted: Thu Mar 06, 2008 1:33 pm     Reply with quote

Make sure your "main.c" file is selected. Then click "compile"; then "build all"
_________________
Mick
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