View previous topic :: View next topic |
Author |
Message |
ihsanbu
Joined: 14 Oct 2006 Posts: 27 Location: islamabad,pakistan
|
Error: File can not be opened |
Posted: Sun Aug 11, 2013 10:42 pm |
|
|
I am using PIC18F87K22, Compiler version 3.20
_________________ ihsan ullah khan
Embedded Designer Since 2003 |
|
|
Ttelmah
Joined: 11 Mar 2010 Posts: 19477
|
|
Posted: Mon Aug 12, 2013 12:56 am |
|
|
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
|
"Error I/O 103 " |
Posted: Mon Aug 12, 2013 4:28 am |
|
|
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.
regard
ihsan _________________ ihsan ullah khan
Embedded Designer Since 2003 |
|
|
ihsanbu
Joined: 14 Oct 2006 Posts: 27 Location: islamabad,pakistan
|
|
Posted: Mon Aug 12, 2013 4:35 am |
|
|
_________________ ihsan ullah khan
Embedded Designer Since 2003 |
|
|
Ttelmah
Joined: 11 Mar 2010 Posts: 19477
|
|
Posted: Mon Aug 12, 2013 4:53 am |
|
|
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... |
|
|
|