News:

When registered with our forums, feel free to send a "here I am" post here to differ human beings from SPAM bots.

Main Menu

I need help real badly.

Started by beancox, April 19, 2011, 12:20:02 PM

Previous topic - Next topic

ollydbg

Quote from: beancox on April 20, 2011, 01:21:32 PM
unfortunately, unlocker doesn't make it .   the unlocker says nothing locks the file but still  i cannot open or delete it .
too bad news.
So, you can create a new project, and copy the source file, and build the project again.
BTW: you need to post the "full" build log, not the simplified build log. see the wiki
2.14 Q: How do I troubleshoot an compiler problem?
If some piece of memory should be reused, turn them to variables (or const variables).
If some piece of operations should be reused, turn them to functions.
If they happened together, then turn them to classes.

beancox

thanks , i will follow your methods to try again..

beancox

fail  again ...    over and over again.    here is the buildlog
-------------- Build: Debug in test123 ---------------

mingw32-g++.exe -LG:\MingW\mingw32\bin  -o bin\Debug\test123.exe obj\Debug\main.o   
f:/codeblocks/mingw/bin/../lib/gcc/mingw32/4.4.1/../../../../mingw32/bin/ld.exe: cannot open output file bin\Debug\test123.exe: Permission denied
collect2: ld returned 1 exit status
Process terminated with status 1 (0 minutes, 0 seconds)
1 errors, 0 warnings

MortenMacFly

Look, if you cannot delete this file there is NO WAY the compiler / linker can do. If you find out how to delete it yourself (e.g. by correcting the file system's directory/file permissions) you are done.

You need to use / setup a folder with full write access to work in - and you don't need C::B for that.

And please don't ask here as this is definitely not a C::B issue, but an issue with the file access permissions.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: [url="https://www.codeblocks.org/docs/main_codeblocks_en.html"]https://www.codeblocks.org/docs/main_codeblocks_en.html[/url]
C::B FAQ: [url="https://wiki.codeblocks.org/index.php?title=FAQ"]https://wiki.codeblocks.org/index.php?title=FAQ[/url]

beancox

I want some more details about how to use another compiler even I made some attempts . but after my settings are over,  and I click build and run ,  nothing gonna happen .

Jenna

You have to install another compiler. C::B only ships with MinGW (or nothing).
It's up to you to find a supported compiler.
See the list in the settings, find a place to download the compiler you want and set it up.

But without fixing your problem, you will still not be able to do anything.
If you can not delete (or overwrite) the file manually, another compiler can't do it also.

But to fix this problem, you are in the wrong place.
Search the web for this error or find a forum that supports windows 7 problems.

beancox

thanks for your guys timely help.
i'm gonna be with c:b till the last second . 

beancox

I'm back.  I've rebooted my os and used some of the updates provided by MS.  It's OK till now . hope it will be like what it is now .

ouch

I've seen Spybot S&D do this.

I've also seen Indexing services do this too.

beancox

yep.   
Some anti-virus software say that c::b's cb_console_runner.exe is virus ,though it is not .
maybe some updates provided by MS are in the same way and forbid  cb_console_runner.exe to execute when changes i
in files(projects) take place.
As for indexing services , I have no idea about it .