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: File can not be opened

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



Joined: 14 Oct 2006
Posts: 27
Location: islamabad,pakistan

View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger

Error: File can not be opened
PostPosted: Sun Aug 11, 2013 10:42 pm     Reply with quote

I am using PIC18F87K22, Compiler version 3.20




_________________
ihsan ullah khan
Embedded Designer Since 2003
Ttelmah



Joined: 11 Mar 2010
Posts: 19477

View user's profile Send private message

PostPosted: Mon Aug 12, 2013 12:56 am     Reply with quote

Compiler versions are always X.XXX.

Now if you have 3.020, Wow, Old.... I doubt if the 8722 was supported, let alone the 87K22.
Even 3.200, The same comment applies. This was a mid 2005 compiler, and the chip wasn't launched till a couple of years later.
The 8722, and the 87K22 are not the same chip. Support for the 87K22 was not added till about mid 2010. Low V4.100 compilers.

Your compiler is many years too old to support the chip you want. Hence doesn't have the header file for the chip, so 'not found'.

Best Wishes
ihsanbu



Joined: 14 Oct 2006
Posts: 27
Location: islamabad,pakistan

View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger

"Error I/O 103 "
PostPosted: Mon Aug 12, 2013 4:28 am     Reply with quote

Thank you for kind response in this regard ..... here when i using Version 4 it will give me an I/O error 103, i do not know why ......and what is reason ... my development work is hang due to this...... your guidance will appreciated. Very Happy

regard

ihsan
_________________
ihsan ullah khan
Embedded Designer Since 2003
ihsanbu



Joined: 14 Oct 2006
Posts: 27
Location: islamabad,pakistan

View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger

PostPosted: Mon Aug 12, 2013 4:35 am     Reply with quote


_________________
ihsan ullah khan
Embedded Designer Since 2003
Ttelmah



Joined: 11 Mar 2010
Posts: 19477

View user's profile Send private message

PostPosted: Mon Aug 12, 2013 4:53 am     Reply with quote

Not even remotely the same code.....

It's a file I/O error. Can be caused by a lot of things. No write permissions on a location where the compiler wants to write. etc..
Go to the project options, and make sure the files, target, and include files are set correctly.

Make the syntax at the top of the file work. You can't have an '#elif', without an #if 37 lines of code above what you post, which could make it not work in dozens of ways...
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