Before I even start, I have to say this: These two problems are very common and I know it might bother some people that I'm creating a new topic to ask about them. However, I've read all of the topics about these problems, and I've taken the recommended steps to fix them. But when I solve one problem, a new one pops up....then when I solve THAT problem, the old one comes back! It's getting frustrating so I'm hoping that this topic will point out precisely what I'm doing wrong.
I'm using Windows XP, btw
SO! Here is my problem:
I downloaded Code:Blocks and everything works fine. I'm blasting through an online tutorial and picking everything up. Things are going smooth. I close Code:blocks. The next day I re-open it and as I try to build and run my program, I get this message:
"cannot open bin/debug/myfile.exe Permission Denied"
So I look on the forum here and see a few topics about it. They say that I've probably saved my code:blocks under programfiles which, in XP, cannot be written over. So, I take steps to move my Code:Blocks to a new location which is NOT under program files. In fact, just to be completely safe, I create a new folder under my C drive called CodeBlocks and I re-install Code:Blocks into that.
This time, as I try to compile and run I get this message:
"myfile" uses an invalid compiler [YOUR ANSWER IS ALREADY THERE. SEARCH THE FORUMS!]. Probably the toolchain path within the compiler options is not setup correctly?! Skipping...
Nothing to be done."
Once again, I search these forums for an answer and I find one. So I go to settings - compiler and debugger - reset defaults....just like it was recommended to do in other topics. So I do this.
NOW I'm back to square one! I try to run and I get the same message I got the first time!
"cannot open bin/debug/myfile.exe Permission Denied"
Rinse and repeat.
I'm OBVIOUSLY doing something wrong. But I don't know what!
Can anybody figure out where I'm going wrong?
I'd REALLY appreciate it. And I apologize if I'm making you read the same problems you've read a million times before. But like I said...I couldn't figure it out by searching the forum.
Thanks