User forums > Help
permisson error and homepage resetting
epaul:
--- Quote from: stahta01 on May 31, 2012, 02:07:02 am ---
I have TOLD you twice DO NOT use the desktop to build the project.
Tim S.
--- End quote ---
Sorry I thought you ment do not story the files directly on the desktop. I am not trying to be difficult but I do not know what you mean by a legal folder. I usually store most of stuff in folders and I have those folders on a desktop.
Where else should I create a folder?
stahta01:
I am giving up helping you maybe one of the others will figure out what you are doing wrong.
1. Your anti-virus is the cause of all the issues
2. Some user error that I am not seeing
3. Windows security is the cause of the problem
4. The likely things you are really infected by a virus.
5. A mixture of the above.
6. something else.
READ ALL THE FAQs esp this one http://wiki.codeblocks.org/index.php?title=FAQ-Compiling_%28errors%29#Q:_My_build_fails_in_the_compile.2Flink.2Frun_step_with_a_Permission_denied_error.3F
Tim S.
epaul:
--- Quote from: stahta01 on May 31, 2012, 02:07:02 am ---I have TOLD you twice DO NOT use the desktop to build the project.
A legal folder is one that is is safe to do programming in.
The C:\ IS NOT LEGAL.
The C:\program files is NOT legal.
Try something like "C:\Users\username\Documents\CB-Folder"
Tim S.
--- End quote ---
So like this?
Using the same code
First build from a fresh file:
mingw32-g++.exe -o C:\Users\Owner\Documents\CB-Folder\testtwo.exe C:\Users\Owner\Documents\CB-Folder\testtwo.o
Process terminated with status 0 (0 minutes, 27 seconds)
0 errors, 0 warnings
Ran program (quickly after): Got a black command prompt with the "Process returned 0" message.
Secound build (did not alter any code):
mingw32-g++.exe -c C:\Users\Owner\Documents\CB-Folder\testtwo.cpp -o C:\Users\Owner\Documents\CB-Folder\testtwo.o
mingw32-g++.exe -o C:\Users\Owner\Documents\CB-Folder\testtwo.exe C:\Users\Owner\Documents\CB-Folder\testtwo.o
c:/program files (x86)/codeblocks/mingw/bin/../lib/gcc/mingw32/4.4.1/../../../../mingw32/bin/ld.exe: cannot open output file C:\Users\Owner\Documents\CB-Folder\testtwo.exe: Permission denied
collect2: ld returned 1 exit status
Process terminated with status 1 (0 minutes, 0 seconds)
1 errors, 0 warnings
One thing of note...the .exe file seems to vanish shortly after being created as I cannot see it in the CB folder anymore.
epaul:
--- Quote from: stahta01 on May 31, 2012, 02:14:37 am ---I am giving up helping you maybe one of the others will figure out what you are doing wrong.
1. Your anti-virus is the cause of all the issues
2. Some user error that I am not seeing
3. Windows security is the cause of the problem
4. The likely things you are really infected by a virus.
5. A mixture of the above.
6. something else.
READ ALL THE FAQs esp this one http://wiki.codeblocks.org/index.php?title=FAQ-Compiling_%28errors%29#Q:_My_build_fails_in_the_compile.2Flink.2Frun_step_with_a_Permission_denied_error.3F
Tim S.
--- End quote ---
I tried turnning off my AV and Firewall and that didnt work. I also tried this on all 3 comps...each one with the same error so I dont think its possible all 3 are infected considering I am pretty safe and my bro is insane about the compe security of his and our PC...to the point where I had to almost beg him to let me check if this code block problem happens on his labtop as well.
Thanks for your help though. I hope someone else can see what I cant.
epaul:
This has just gone into full blown bizzaro mode now.
On a whim I opened some of my programs that I know worked and were already created (didnt want to risk getting them messed up but if I cant get code blocks working I cant continue in the class any how)
So I opened up a simple additon program .cpp file in codeblocks
Built it: Smooth
Ran it: Smooth
my face: :o
So I did this about 10 more times and everything was flawless.
So I decided to build another "hello" test program.
Back to having issues as before.
So im out of my mind right now and decide to be tricky.
I literally copy/past my addition program into a new file.
I Build it: Smooth
Run it: Smooth
Now I start to get creeped out and decide to go further. I change it from addition to subtraction
Smooth all the way through.
So I seem to have found a work around. I open old "non corrupt?" .cpp files. Copy their code. Past it in a new fresh file. Then alter the code as I need to for that program.
This is just waaay crazy...but at least for now I wont have to drop the class it seems if this workaround holds up for the next 4 weeks. But anyone else who may have some insight as to why this chaos is happening please chime in.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version