View previous topic :: View next topic |
Author |
Message |
DaveThib
Joined: 17 Oct 2004 Posts: 15 Location: New Hampshire USA
|
I/O Error 32 |
Posted: Sat Feb 20, 2016 9:01 pm |
|
|
I am trying to compile a new project that right now is really simple. I had some compile errors and took care of those and now it looks like it completes the compiling but then I get what looks like a system error.
It is a dialog box that opens up and says "I/O Error 32"
Does anyone have any idea where I should start looking for this?
Thanks,
Dave |
|
|
PCM programmer
Joined: 06 Sep 2003 Posts: 21708
|
|
Posted: Sat Feb 20, 2016 9:56 pm |
|
|
Quote: | I/O Error 32:
// IO Error 32L
// ERROR_SHARING_VIOLATION
// MessageText:
// The process cannot access the file because
// it is being used by another process. |
Post your PIC, compiler version, Windows version, the IDE you are using
(CCS or MPLAB or MPLAB X) and the line of code that causes that error.
Also post the location of your project files. ie., hard drive on a PC,
USB thumb drive, network drive, etc. |
|
|
DaveThib
Joined: 17 Oct 2004 Posts: 15 Location: New Hampshire USA
|
|
Posted: Fri Feb 26, 2016 7:58 pm |
|
|
Thanks for the info. It was handy. What I ended up doing was creating a new folder and copying over the main C file and the header files and then creating a new project. Then I was able to compile it. So some file must have been somehow become locked or opened up in some process that never closed.
I am running an older version of the CCS IDE, the file is dated Feb 2014. But I don't know where to find the version number. Then I am running on an XP virtual machine using Parallels on my MAC. I have been running the IDE like this since 2005. The project files I save on the MAC side of the virtual machine so it is easy to backup the files.
There was not a line of code that caused the error. It would compile and you would see the successful compilation report with the percentages etc, for a second then the error window would pop up.
Thanks,
Dave T |
|
|
|