View previous topic :: View next topic |
Author |
Message |
JerryR
Joined: 07 Feb 2008 Posts: 167
|
Error 18 question |
Posted: Thu Mar 06, 2008 12:00 pm |
|
|
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
|
|
Posted: Thu Mar 06, 2008 12:45 pm |
|
|
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
|
|
Posted: Thu Mar 06, 2008 1:33 pm |
|
|
Make sure your "main.c" file is selected. Then click "compile"; then "build all" _________________ Mick |
|
|
|